Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jsonnentag
Streaming Star

Does Direct Publisher JSON feed allow multiple stream qualities/bitrates?

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. . . .

 

0 Kudos
3 REPLIES 3
Baradanikto
Roku Guru

Re: Does Direct Publisher JSON feed allow multiple stream qualities/bitrates?

You may want to post your Json feed for inspection.  We may be able to spot errors.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
jsonnentag
Streaming Star

Re: Does Direct Publisher JSON feed allow multiple stream qualities/bitrates?

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"
}
]
}
},

 

0 Kudos
Baradanikto
Roku Guru

Re: Does Direct Publisher JSON feed allow multiple stream qualities/bitrates?

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.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos