MediasfuBroadcast

fun MediasfuBroadcast(options: MediasfuGenericOptions = MediasfuGenericOptions(), modifier: Modifier = Modifier)

MediasfuBroadcast - Broadcast event variant component.

Pre-configured MediaSFU component optimized for broadcast events. A broadcast is a one-to-many streaming scenario where a host streams to viewers with limited interaction.

This is a convenience wrapper around MediasfuGeneric with defaultEventType set to EventType.BROADCAST.

Features:

  • Host-controlled broadcasting with start/stop/pause

  • HLS egress for external streaming (YouTube, Twitch, etc.)

  • Recording with multiple quality options

  • Viewer limit controls

  • Minimal viewer UI (watch-only by default)

  • Host control panel with broadcast buttons

  • Chat and Q&A for viewer interaction

Parameters

options

Configuration options for the broadcast

modifier

Compose modifier for styling

See also