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
| Parameter | Description |
|---|---|
| objectId | Media object ID |
| offering | Media offering, usually "default" |
Authentication
Requires a Fabric authorization token.
Pass the token in the query parameter:
?authorization=<token>
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| objectId | string | Yes | Media object ID |
| token | string | Yes | Authorization token |
| exo | int | No | If 1, adds ExoPlayer-specific metadata |
Optionally, you can provide an object version hash instead of
objectIdto 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
| Field | Description |
|---|---|
| dash-clear.uri | DASH manifest URL for clear playback |
| hls-clear.uri | HLS manifest URL for clear playback, if offered |
| properties | Additional 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
objectIdto 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=1parameter adds metadata optimized for ExoPlayer integration - Useful for embedding content in players that do not support DRM