Interface: useLivestreamStreamerResult
Defined in: packages/react-native-client/src/hooks/useLivestreamStreamer.ts:14
Properties
connect()
connect: (
token,urlOverride?) =>Promise<void>
Defined in: packages/react-native-client/src/hooks/useLivestreamStreamer.ts:21
Callback used to start publishing the selected audio and video media streams.
Parameters
| Parameter | Type |
|---|---|
token | string |
urlOverride? | string |
Returns
Promise<void>
Remarks
Calling connect multiple times will have the effect of only publishing the last specified inputs.
disconnect()
disconnect: () =>
void
Defined in: packages/react-native-client/src/hooks/useLivestreamStreamer.ts:23
Callback to stop publishing anything previously published with connect
Returns
void