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: 
samiuli
Newbie

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 3
Baradanikto
Roku Guru

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 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
mattjarvis
Reel Rookie

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
Baradanikto
Roku Guru

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 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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.