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

    Interface StreamingControlsLabels

    Customizable text labels for the StreamingControls component.

    All text displayed in the StreamingControls can be customized through this interface. This enables full internationalization (i18n) support for streaming interfaces.

    const spanishLabels: Partial<StreamingControlsLabels> = {
    goLive: 'Transmitir en vivo',
    stopStreaming: 'Detener transmision',
    starting: 'Iniciando...',
    };

    <StreamingControls labels={spanishLabels} onStreamingStart={handleStart} onStreamingStop={handleStop} />
    interface StreamingControlsLabels {
        createMp4: string;
        createMp4Description: string;
        formatDuration: (seconds: number) => string;
        goLive: string;
        starting: string;
        stopStreaming: string;
        streamingOptions: string;
    }
    Index

    Properties

    createMp4: string

    Label for create MP4 option (default: "Save as MP4")

    createMp4Description: string

    Description for create MP4 option (default: "Also save as video file")

    formatDuration: (seconds: number) => string

    Function to format duration display

    goLive: string

    Button text for go live (default: "Go Live")

    starting: string

    Button text while starting (default: "Starting...")

    stopStreaming: string

    Button text for stop streaming (default: "Stop Streaming")

    streamingOptions: string

    Tooltip for streaming options (default: "Streaming Options")