A Guide to migrating from a React Native RTVIClient to PipecatClient
PipecatClient
in a React Native application. The new client introduces simplified configuration and improved client-server messaging. For an overview of the changes, see the top-level RTVIClient Migration Guide.
RNDailyTransport
now accepts a constructor argument, allowing for providing a Daily configuration.
Old
connect()
or startBotAndConnect()
) on the PipecatClient
.
Old
startBotAndConnect()
):
connect()
.connect()
.startBotAndConnect()
, the response from your endpoint is passed directly to the transport and should match the Daily configuration type.