Hiyve Components - v1.0.0
    Preparing search index...

    Interface StreamingOptions

    Options for starting a live stream.

    Configure streaming options when starting a live broadcast. The stream is hosted on Hiyve's cloud infrastructure unless a custom RTMP URL is provided.

    Starting a stream with MP4 recording:

    const { startStreaming } = useStreaming();
    startStreaming({ createMp4: true, mode: 'multi' });

    StreamingState for streaming state

    interface StreamingOptions {
        createMp4?: boolean;
        mode?: "single" | "multi";
        rtmpUrl?: string;
    }
    Index

    Properties

    createMp4?: boolean

    Create an MP4 file when streaming stops (default: false)

    mode?: "single" | "multi"

    Streaming mode: 'single' focuses on one participant, 'multi' shows a grid (default: 'single')

    rtmpUrl?: string

    Custom RTMP URL for streaming to external platforms (e.g., YouTube, Twitch). If omitted, uses Hiyve cloud.