Is there a way to post a live stream to a roku channel through rss?
Can someone please tell me where I went wrong and how I can fix it?
Thanks!
<?xml version="1.0" encoding="UTF-8"?> <rss xmlns:media="http://search.yahoo.com/mrss/" version="2.0"> <channel> <title>example Roku Channel</title> <link /> <description>The example Roku Channel</description> <language>en-us</language> <pubDate>Fri, 25 Feb 2022 16:51:07 GMT</pubDate> <image> <title>The example Roku Channel</title> <url>https://eliyah.com/live.jpg</url> <width>-1</width> <height>-1</height> </image> <item> <title>example LIVE Video Broadcast</title> <link>https://eliyah.com:442/live/smil:livedemo.smil/playlist.m3u8</link> <description>Typically begins @ 11:50AM ET every (Sat.) and @ 7:50PM ET every 'Tuesday</description> <pubDate>Fri, 25 Feb 2022 16:51:07 GMT</pubDate> <guid isPermaLink="false">decbe34b64ea4ca281dc09997d0f23fd</guid> <media:content channels="2" bitrate="1328.0" duration="53" fileSize="8731706" framerate="23.976" height="720" type="video/mp4" width="1280" isDefault="true" url="https://eliyah.com:442/live/smil:livedemo.smil/playlist.m3u8"> <media:description>Typically begins @ 11:50AM ET every Sabbath (Sat.) and @ 7:50PM ET every 'Tuesday</media:description> <media:keywords>Live stream, roku, study, bible</media:keywords> <media:thumbnail url="https://eliyah.com/live.jpg" /> <media:title> LIVE Video Broadcast</media:title> </media:content> </item> </channel> </rss>
The Roku MRSS specification assumes that content items are short form videos. If you want a live stream, you'll need to convert to a JSON feed. There are software solutions on this forum to do that.
so how would I do that in Json? Can you give me a quick example?
Please refer to the Roku Direct Publisher (JSON) Feed Specification for examples.
will json work with the brightscript code? I mean I programmed it for an rss feed, so id I switch the name of the file and have the same tags, will it still work?
My post reflects using Direct Publisher as the framework for building the channel. Live Feeds are definitely supported in DP using a JSON feed.
I'm not sure how you would accomplish that using JSON and BrightScript code.
The advantage of using DP is that you don't need to write code. You only need to provide a feed file that can be ingested by Roku.