Type Alias: LivestreamViewerProps
LivestreamViewerProps =
object
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:10
Props of the LivestreamView component
Properties
autoStartPip?
optionalautoStartPip:boolean
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:29
A variable deciding whether the Picture-in-Picture mode should be started automatically after the app is backgrounded. Defaults to false.
autoStopPip?
optionalautoStopPip:boolean
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:35
A variable deciding whether the Picture-in-Picture mode should be stopped automatically on iOS after the app is foregrounded. Always enabled on Android as PiP is not supported in foreground. Defaults to false.
orientation?
optionalorientation:"landscape"|"portrait"
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:19
Used to override the orientation of the video (from metadata). Defaults to "portrait".
pipEnabled?
optionalpipEnabled:boolean
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:24
A variable deciding whether the Picture-in-Picture is enabled. Defaults to true.
pipSize?
optionalpipSize:object
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:39
A variable deciding the size of the Picture-in-Picture mode.
| Name | Type |
|---|---|
height | number |
width | number |
ref?
optionalref:Ref<LivestreamViewerRef>
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:44
style?
optionalstyle:StyleProp<ViewStyle>
Defined in: packages/react-native-client/src/components/LivestreamViewer.tsx:14
Styles of the LivestreamView component