liveFeed videos don't work
After adding a liveFeed video and trying to play, it will crash Roku completely and require a reboot
For me it fails with this
Warning occurred while setting a field of an RoSGNode -- Type mismatch occurred when setting the "focusedChild" field of a "ContentNode" node pkg:/components/UILogic/VideoPlayer.brs(171)
Please provide a valid feed URL that contains a live feed for testing.
Please use the bug report template to report issues.
I can't help you without the info I've asked for.
Apologies! I'm rather fresh to Github and didn't see the notification that you responded last week. I believe this is the template:
Describe the bug Error loading videos categorized as liveFeeds. I've tried livestreams from my company and test feeds online. I'm currently having difficulties finding a non branded free test stream, however this sample one breaks as well
https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8
Note that the same video URLS entered as an episode in a series works fine.
To Reproduce
- Create a "liveFeed" in the Channel Feed Manager with the required info. Enter a HLS stream
- Once you upload the json and see it on your channel, try to watch this live video
- Video player launches and you see the "loading circle" for .5 seconds and Roku device crashes
Expected behavior Hoping to play a live video or an HLS video under the liveFeed. The same URL works as an episode in a series however that's a bit nested to go into for a quick live stream video.
Screenshots N/A
Version number: Roku Ultra Version: 13.0.0 build 24056-C2 Just updated today however had issue before on previous version
Additional context Brightscript Debugger through Visual Studio Code seems to report the error below:
================================================================= Warning occurred while setting a field of an RoSGNode -- Type mismatch occurred when setting the "change" field of a "ContentNode" node pkg:/components/UILogic/VideoPlayer.brs(171)
================================================================= Warning occurred while setting a field of an RoSGNode -- Type mismatch occurred when setting the "focusedChild" field of a "ContentNode" node pkg:/components/UILogic/VideoPlayer.brs(171)
Thank you!
Thanks for your response. However, as stated above...
Please provide a valid feed URL that contains a live feed for testing.
I need the URL to your feed file, not the URL to the live stream. The URL to the live stream would be contained in your feed file.
Please provide the requested info. This issue will be closed if you do not reply.
Hi, I have the same problem with my live channel. This is my test feed: http://10674-5.s.cdn13.com/Mihan_live_test.json
@samadtehrani thanks for your feedback. I will look into this now that I have a test case.
@samadtehrani Is the m3u8 url in your feed file valid? I tried to play it in a web browser and it threw errors.
@samadtehrani I did get the video to play in the stream tester.
Yes, It is valid. You cannot play .m3u8 playlists in the browser but every video player like VLC or Roku's player can play.
@samadtehrani You can play M3U8 in chrome with the chrome plugin! However your link https://iptv.mihantv.com/mihantv/playlist.m3u8 does not play!
@samadtehrani I noticed your livefeed link https://iptv.mihantv.com/mihantv/playlist.m3u8 is from IPTV and may be blocked due to copyright or security issues!
I copied the link and pasted in VLC as a Network Stream and it plays (kind of). It keeps stopping and then restarting.
Well, it just stopped now. Maybe the network connection quality is the problem.
Looks like you guys are missing the point. Live channels do not work, It restarts the Roku. no matter what livestream you replace with the sample I added to the feed. I added these free samples that are available online, Same result. http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8
http://playertest.longtailvideo.com/adaptive/wowzaid3/playlist.m3u8
http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-p.m3u8?sd=10&rebase=on
http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8
http://walterebert.com/playground/video/hls/sintel-trailer.m3u8
http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
@ferdiworks @jsonnentag Do you guys know of a live stream that works? I'm trying to debug this, but, I'm not getting too far.
I manage some streams for clients. If you need one for testing, is there a way to send you the link privately?
@AndrewRCD Actually, if you can tell me that you've got a channel that uses Live Feeds (HLS) and is working, that's good enough. I need to know if this is a problem for everyone or just a few. If for a few, I know that streaming services can be picky about security, etc.
I do :) I use both normal HLS and low-latency HLS ( LL-HLS) for videos, and that works too
@AndrewRCD Thanks. Were those channels generated using the Wizard tool?
yep
@AndrewRCD Thanks again. I hope that those seeing your reply will take a closer look at the streaming service they are using.
@AndrewRCD Lastly, did you make any changes to the Brightscript code to get the Live stream working?
No - it worked "out of the box" and no changes or adaptations of any kind were needed.
@AndrewRCD And do you use the latest version at this point "Version 1.0.0.2"?
yes @samadtehrani every time the wizard is updated I update the channel with the latest version just to make sure that I have the latest code
I am using both tools since the wizard tool was in beta - and I don't have any issues with my live streams or my videos
Strange. I used the code "out of the box" a few months ago and it worked with the same condition. Now with Version 1.0.0.2 it freezes and restarts the Roku!
@samadtehrani I get the same symptoms when I test with your feed file. I would suggest taking a closer look at your m3u8 file and/or the service you are using.
I don't know what to say to that, for me, it is working, maybe something with your feed settings -
@samadtehrani I noticed in your content feed some .... things i most certainly wouldn't use like that for example "captions": [ { "url": "https://", "language": "en", "captionType": "SUBTITLE"
but you dont have a URL - then why have it at all in the code ....
the other "adBreaks": [ "00:00:00" ]
this also for me makes no sense
maybe it is nothing but ... why complicate a code is not needed :)