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

    Function StreamingSettingsForm

    • StreamingSettingsForm provides a reusable form for configuring streaming options.

      Parameters

      Returns ReactElement

      The rendered StreamingSettingsForm component

      This component contains the form fields for streaming configuration and can be used standalone (e.g., in a settings panel) or within a dialog.

      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 via labels prop

      Standalone usage in a settings panel:

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

      function StreamingSettings() {
      const [mode, setMode] = useState<StreamingMode>('single');
      const [createMp4, setCreateMp4] = useState(true);
      const [rtmpUrl, setRtmpUrl] = useState('');

      return (
      <StreamingSettingsForm
      mode={mode}
      onModeChange={setMode}
      createMp4={createMp4}
      onCreateMp4Change={setCreateMp4}
      rtmpUrl={rtmpUrl}
      onRtmpUrlChange={setRtmpUrl}
      />
      );
      }