Skip to main content

Type Alias: LivestreamViewProps

LivestreamViewProps = object

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:10

Props of the LivestreamView component

Properties

autoStartPip?

optional autoStartPip: boolean

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:29

A variable deciding whether the Picture-in-Picture mode should be started automatically after the app is backgrounded. Defaults to false.


autoStopPip?

optional autoStopPip: boolean

Defined in: packages/react-native-client/src/components/LivestreamView.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?

optional orientation: "landscape" | "portrait"

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:19

Used to override the orientation of the video (from metadata). Defaults to "portrait".


pipEnabled?

optional pipEnabled: boolean

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:24

A variable deciding whether the Picture-in-Picture is enabled. Defaults to true.


pipSize?

optional pipSize: object

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:39

A variable deciding the size of the Picture-in-Picture mode.

NameType
heightnumber
widthnumber

ref?

optional ref: Ref<LivestreamViewRef>

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:44


style?

optional style: StyleProp<ViewStyle>

Defined in: packages/react-native-client/src/components/LivestreamView.tsx:14

Styles of the LivestreamView component