@fishjam-cloud/react-native-client - v0.19.0
    Preparing search index...

    Type Alias LivestreamViewProps

    Props of the LivestreamView component

    type LivestreamViewProps = {
        autoStartPip?: boolean;
        autoStopPip?: boolean;
        orientation?: "landscape" | "portrait";
        pipEnabled?: boolean;
        pipSize?: { height: number; width: number };
        ref?: Ref<LivestreamViewRef>;
        style?: StyleProp<ViewStyle>;
    }
    Index

    Properties

    autoStartPip?: boolean

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

    autoStopPip?: boolean

    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?: "landscape" | "portrait"

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

    pipEnabled?: boolean

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

    pipSize?: { height: number; width: number }

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

    style?: StyleProp<ViewStyle>

    Styles of the LivestreamView component