Does the JSON feed in Direct Publisher support multiple video stream qualities? If so, what is the basic JSON format necessary?
I tried just adding links to 2 different videos of different "quality" and it always picks the lowest bitrate no matter what the Roku device connection speed.
Looking at the JSON Feed Specs "video" is shown as separate from and coming under (as a "child" to) "videos". Right now my feed doesn't have any "video" as a child to "videos" - just "videos" and then the "url", "quality", and "videoType".
https://developer.roku.com/docs/specs/direct-publisher-feed-specs/json-dp-spec.md#video
Do other people have something different and been able to get multiple video bitrates to be selected and played automatically?
Thanks for any information or personal experiences you can provide. . . .
You may want to post your Json feed for inspection. We may be able to spot errors.
I'd like to see an example from somebody that actually has something working. . . .
Nevertheless, . . . pasted below is the general shortformVideo format attempted (and not appearing to work). The online JSON format guide doesn't seem to mention anything about multiple video formats, but it is mentioned elsewhere. All the links used are KNOWN to work and the feed ingests fine and gives no errors.
{
"id": "{insert id here}",
"title": "{insert title here}",
"shortDescription": "{short description}",
"thumbnail": "http://......jpg",
"genres": [
"history"
],
"tags": [
"science"
],
"releaseDate": "2021-03-07",
"content": {
"dateAdded": "2021-03-07T08:00:00.000Z",
"captions": [],
"duration": {insert length in seconds here},
"adBreaks": [
"00:00:00",
"00:00:00"
],
"videos": [
{
"url": "{FHD video address}.mp4",
"quality": "FHD",
"videoType": "MP4"
},
{
"url": "{SD video address}.mp4",
"quality": "SD",
"videoType": "MP4"
}
]
}
},
Your sample appears to be correct. However, make sure that you use https protocol. If you haven't already, try the channel on a different device.
Otherwise, you may need to contact Roku Partner Success for help.