Skip to main content

Title Playout Clear API

Overview​

This API retrieves playout options for a media item without DRM (clear playback).

  • Supports stable playback (via object version hash) or latest version playback (via object ID)
  • Returns URLs for DASH streaming or HLS streaming
  • Used to integrate with players like ExoPlayer or other standard video players
  • No DRM license required

Endpoint​

GET

/q/{objectId}/rep/playout/{offering}/options.json

Path Parameters​

ParameterDescription
objectIdMedia object ID
offeringMedia offering, usually "default"

Authentication​

Requires a Fabric authorization token.

Pass the token in the query parameter:

?authorization=<token>

Request Parameters​

ParameterTypeRequiredDescription
objectIdstringYesMedia object ID
tokenstringYesAuthorization token
exointNoIf 1, adds ExoPlayer-specific metadata

Optionally, you can provide an object version hash instead of objectId to lock playback to a specific version.


Response​

Success (HTTP 200)​

Returns playout options including DASH Clear URL and optionally an HLS URL.

Example Response​

{
"dash-clear": {
"uri": "dash-clear/dash.mpd?sid=6CC2F5C12867",
"properties": {}
},
"hls-clear": {
"uri": "hls-clear/playlist.m3u8?sid=6CC2F5C12867",
"properties": {}
}
}

Extracted Fields for Playback​

FieldDescription
dash-clear.uriDASH manifest URL for clear playback
hls-clear.uriHLS manifest URL for clear playback, if offered
propertiesAdditional metadata (currently empty for clear playback)

Curl Example​

curl -X GET "https://<fabric-url>/q/<objectId>/rep/playout/default/options.json?authorization=<token>&exo=1" \
-H "Accept: application/json"

Response Example​

{
"dash-clear": {
"uri": "dash-clear/dash.mpd?sid=6CC2F5C12867",
"properties": {}
}
}

Notes​

  • Use objectId to always play the latest version
  • Use an object version hash for stable playback of a specific version
  • Clear playback URLs do not require DRM license servers
  • The exo=1 parameter adds metadata optimized for ExoPlayer integration
  • Useful for embedding content in players that do not support DRM