Title Playout DRM API
Overview
This API retrieves playout options for a media item with Widevine DRM protection.
- Supports stable playback (via object version hash) or latest version playback (via object ID)
- Returns URLs for DASH streaming and the license server
- Used to integrate with players like ExoPlayer or other DRM-capable clients
Endpoint
GET
/q/{objectId}/rep/playout/{offering}/options.json
Path Parameters
| Parameter | Description |
|---|---|
| objectId | ID of the media object |
| 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, includes ExoPlayer-specific info |
You may optionally provide an object version hash instead of
objectIdto lock playback to a specific version of the media.
Response
Success (HTTP 200)
Returns playout options including DASH Widevine URL and the license server URL.
Example Response
{
"dash-widevine": {
"uri": "dash-widevine/dash.mpd?sid=6CC2F5C12867",
"properties": {
"license_servers": [
"https://license.example.com/widevine"
]
}
},
"hls-clear": {
"uri": "hls-clear/playlist.m3u8?sid=6CC2F5C12867",
"properties": {}
}
}
Extracted Fields for Playback
| Field | Description |
|---|---|
| dash-widevine.uri | DASH manifest URL for Widevine playback |
| dash-widevine.properties.license_servers[0] | License server URL for Widevine DRM |
| hls-clear.uri | HLS manifest URL (non-DRM), if offered |
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-widevine": {
"uri": "dash-widevine/dash.mpd?sid=6CC2F5C12867",
"properties": {
"license_servers": [
"https://license.example.com/widevine"
]
}
}
}
Notes
- Use
objectIdto always play the latest version - Use an object version hash for stable playback of a specific version
- The
exo=1parameter adds extra metadata optimized for ExoPlayer integration