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

    Function StreamingSettingsDialog

    • StreamingSettingsDialog provides options configuration before starting a stream.

      Parameters

      Returns ReactElement

      The rendered StreamingSettingsDialog component

      This dialog allows users to configure streaming options like MP4 recording, streaming mode, and optional RTMP destination before starting a live stream.

      Features:

      • Display mode selection (single focus or multi-participant grid)
      • Optional RTMP URL for streaming to external platforms
      • Save as MP4 option (only available when not using external RTMP)
      • Full i18n support

      Using with StreamingControls:

      import { StreamingSettingsDialog } from '@hiyve/react-capture';

      function StreamingOptions({ open, onClose, onStart }) {
      return (
      <StreamingSettingsDialog
      open={open}
      onClose={onClose}
      onStartStreaming={(options) => {
      // options may include: createMp4, mode, rtmpUrl
      onStart(options);
      }}
      defaultCreateMp4={true}
      defaultMode="single"
      />
      );
      }