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

    Function LivestreamView

    • Renders a video player playing the livestream set up with useLivestream hook.

      Parameters

      • props: LivestreamViewProps

        Props of the LivestreamView component

        • OptionalautoStartPip?: boolean

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

        • OptionalautoStopPip?: 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.

        • Optionalorientation?: "landscape" | "portrait"

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

        • OptionalpipEnabled?: boolean

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

        • OptionalpipSize?: { height: number; width: number }

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

        • Optionalref?: Ref<LivestreamViewRef>
        • Optionalstyle?: StyleProp<ViewStyle>

          Styles of the LivestreamView component

      Returns Element