Events/Channels Script Specifics Print

  • events script, channels script, widevine, playready
  • 0

An events or channels script should return a list of streams following the same format as the o11 config files:

{
  "[Channels or Events]": [
    {
      "Name": "[name]",
      "Mode": "live",
      "SessionManifest": true,
      "ScriptParams": "id=123 country=fr",
      "CdmType": "widevine",
      "UseCdm": true,
      "Video": "best",
      "Audio": "desc:en",
      "OnDemand": false,
      "SpeedUp": true,
      "Autostart": true,
      "Start": 1682631577,
      "End": 1682632577,
      "RecordEvent": true
    }
  ]
}

Field Descriptions

  • Name – Name of the channel or the title of the event.
  • Mode – "live" or "vod".
  • SessionManifest – Use session manifest.
  • ScriptParams – Script parameters to retrieve the manifest or keys.
  • CdmType – CDM type (widevine, playready or verimatrix).
  • UseCdm – Use CDM script to get keys.
  • Video – Video track selection (e.g., "best").
  • Audio – Audio track selection (e.g., "desc:en" for English).
  • OnDemand – Enable On Demand.
  • SpeedUp – Download all required fragments simultaneously to speed up start.
  • Autostart – Autostart stream. For events, autostart when in on-air range.
  • Start / End – UTC timestamps for event start and stop. Events auto-start in the on-air window if Autostart or RecordEvent is true.
  • RecordEvent – Record event and convert to a replay (only works in direct/HLS mode with internal remuxer).

Was this answer helpful?

« Back