Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

My HLS Link not work in ROku

Hi,

 

My HLS link not working in Roku. I tested this link to Roku Stream/RAF Tester Tool and on that tools link is working fine. But when I enter this link to feed URL its shown me an error. 

 

Error message:

The server returned an unsupported content type. Was expecting 'application/rss+xml', 'text/xml', 'application/xml' or 'application/json' but received 'application/vnd.apple.mpegurl'.
 
Now how can I solve it? I search it to google and got that the JSON file is needed for the feed URL. Could you please anyone share with me any simple JSON file? I have only 1 HLS link and I need to play that.
 
Thanks
 
0 Kudos
3 Replies
Highlighted
Level 12

Re: My HLS Link not work in ROku

You can find what you need by reading the JSON Schema document and the DP Quick Start Guide.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ https://github.com/rrirower. No programming knowledge required.
0 Kudos
Highlighted
Level 7

Re: My HLS Link not work in ROku

Hey I am having this problem too, and maybe I haven't read enough about it but I did try to hack together a JSON for the live stream like so: 

{
	"providerName": "SheffieldLive!",
	"language": "en-UK",
	"lastUpdated": "2020-03-15T02:01:00+02:00",
	"liveFeeds": {
		"id": "00112233445566",
		"title": "SheffieldLive!",
		"content": {
			"dateAdded": "2020-10-27T22:21:37+00:00",
			"videos": [{
				"url": "http://tv.sheffieldlive.org/hls/main.m3u8",
				"quality": "SD",
				"videoType": "MP4"
			}],
			"duration": 3600,
			"captions": "",
			"language": "en"
		},
		"language": "en",
		"thumbnail": "http://tv.sheffieldlive.org/sheffliveident.jpg",
		"brandedThumbnail": "http://tv.sheffieldlive.org/sheffliveident.jpg",
		"shortDescription": "SheffieldLive!",
		"longDescription": "SheffieldLive! TV Stream",
		"tags": [
			"linear",
			"news",
			"local"
		]
	}
}

Now the DP says there is an 'Unknown error' when I click save.

Does anyone have a template file to simply add this as a live stream? I feel that would benefit the community broadcasters widely!

Many thanks!

0 Kudos
Highlighted
Level 12

Re: My HLS Link not work in ROku

@mattjarvis Take a look at the Root Object Example in the JSON feed schema. You'll see that the 'liveFeeds' object is an array.  You've got a syntax error because you coded it as a string.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ https://github.com/rrirower. No programming knowledge required.
0 Kudos