Public Viewing cinemaDemo - xrchisense/xrevent-broadcaster-unity GitHub Wiki

Live Stream Ingest

Stream via Firefox to Livekit-Server

Publish Options

Simulcast: With simulcast, a client publishes multiple versions of the same video track with varying bitrate profiles. This allows LiveKit to dynamically forward the stream that's most appropriate given each receiving participant's available bandwidth and desired resolution. Read more ...

Dynacast: Dynamic broadcasting (dynacast) is an advanced feature that pauses publishing of video layers if they are not being consumed by a subscriber. It works for simulcasted video too: if subscribers are only consuming medium and low resolution streams, the publisher will pause publishing in high-res. The intention is to reduce bandwidth use.

Subscriber Options

Adaptive Stream: When adaptive stream is enabled, client SDK will monitor both size and visibility of the UI elements that the tracks are attached to. Then it'll automatically coordinate with the server to ensure the closest-matching simulcast layer that matches the UI element is sent back. If the element is hidden, the client informs the server, which pauses the associated track until the element's visibility is restored.

Stream via RTMP using Livekit-Ingress

  • Download livekit-cli

List existing ingests

livekit-cli.exe list-ingress --api-secret 9fUchfZ0R48ofds3FPcZskTebWAH1lfu1fjxkSFy5wfM --api-key APITKsecdfrhG4 --url wss://xrevent.livekit.cloud

Create new ingest

To create a new ingress, you need to create a configuration .json file, which needs to be referenced in the cli command below. E.g.

{ 
    "name": "XRevent Broadcaster",
    "room_name": "GasStation", 
    "participant_identity": "user-05a0c160", 
    "participant_name": "user-05a0c160" 
}
livekit-cli.exe create-ingress --api-secret 9fUchfZ0R48opvc3FPcZskTebWAH1lfu1fjxkSFy5wfM --api-key APITKsecHQHrhG4 --url wss://xrevent.livekit.cloud --request xringress.json

Delete ingest

livekit-cli.exe delete-ingress --api-secret 9fUchfZ0R48opvc3FPcZskTebWAH1lfu1fjxkSFy5wfM --api-key APITKsecHQHrhG4 --url wss://xrevent.livekit.cloud --id IN_M7R42wMjeF6t