Props of the LivestreamView component
Optional
autoStartPip?: booleanA variable deciding whether the Picture-in-Picture mode should be started automatically after the app is backgrounded. Defaults to false.
Optional
autoStopPip?: booleanA 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.
Optional
orientation?: "landscape" | "portrait"Used to override the orientation of the video (from metadata). Defaults to "portrait".
Optional
pipEnabled?: booleanA variable deciding whether the Picture-in-Picture is enabled. Defaults to true.
Optional
pipSize?: { height: number; width: number }A variable deciding the size of the Picture-in-Picture mode.
Optional
ref?: Ref<LivestreamViewRef>Optional
style?: StyleProp<ViewStyle>Styles of the LivestreamView component
Renders a video player playing the livestream set up with useLivestream hook.