Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

liveFeed videos don't work #111

Open
mrcalbert opened this issue May 8, 2024 · 37 comments
Open

liveFeed videos don't work #111

mrcalbert opened this issue May 8, 2024 · 37 comments
Assignees

Comments

@mrcalbert
Copy link

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)

@rrirower
Copy link
Owner

rrirower commented May 8, 2024

Please provide a valid feed URL that contains a live feed for testing.

Please use the bug report template to report issues.

@rrirower
Copy link
Owner

I can't help you without the info I've asked for.

@mrcalbert
Copy link
Author

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

  1. Create a "liveFeed" in the Channel Feed Manager with the required info. Enter a HLS stream
  2. Once you upload the json and see it on your channel, try to watch this live video
  3. 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!

@rrirower
Copy link
Owner

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.

@rrirower
Copy link
Owner

Please provide the requested info. This issue will be closed if you do not reply.

@samadtehrani
Copy link

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

@rrirower
Copy link
Owner

@samadtehrani thanks for your feedback. I will look into this now that I have a test case.

@rrirower
Copy link
Owner

@samadtehrani Is the m3u8 url in your feed file valid? I tried to play it in a web browser and it threw errors.

@rrirower
Copy link
Owner

@samadtehrani I did get the video to play in the stream tester.

@samadtehrani
Copy link

Yes, It is valid. You cannot play .m3u8 playlists in the browser but every video player like VLC or Roku's player can play.

@ferdiworks
Copy link

@samadtehrani You can play M3U8 in chrome with the chrome plugin! However your link https://iptv.mihantv.com/mihantv/playlist.m3u8 does not play!

@ferdiworks
Copy link

@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!

@jsonnentag
Copy link

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.

@rrirower
Copy link
Owner

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

@AndrewRCD
Copy link

I manage some streams for clients. If you need one for testing, is there a way to send you the link privately?

@rrirower
Copy link
Owner

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

@AndrewRCD
Copy link

I do :) I use both normal HLS and low-latency HLS ( LL-HLS) for videos, and that works too

@rrirower
Copy link
Owner

@AndrewRCD Thanks. Were those channels generated using the Wizard tool?

@AndrewRCD
Copy link

yep

@rrirower
Copy link
Owner

@AndrewRCD Thanks again. I hope that those seeing your reply will take a closer look at the streaming service they are using.

@rrirower
Copy link
Owner

@AndrewRCD Lastly, did you make any changes to the Brightscript code to get the Live stream working?

@AndrewRCD
Copy link

No - it worked "out of the box" and no changes or adaptations of any kind were needed.

@samadtehrani
Copy link

@AndrewRCD And do you use the latest version at this point "Version 1.0.0.2"?

@AndrewRCD
Copy link

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

@AndrewRCD
Copy link

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

@samadtehrani
Copy link

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!

@rrirower
Copy link
Owner

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

@AndrewRCD
Copy link

I don't know what to say to that, for me, it is working, maybe something with your feed settings -

@AndrewRCD
Copy link

@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 :)

@samadtehrani
Copy link

@AndrewRCD Are you sure that you are using Channel Feed Manager to produce your feed? Because you have to add a caption and at least one adBreak to make your feed.
Another question: Do you add your media as "livefeed"? you know that we can add live channels as shortvideo format or anything else and it is working.

@AndrewRCD
Copy link

AndrewRCD commented May 28, 2024

actually, you don't have to - subtitles are not mandatory yet - and for live streams, it will not be, those make exceptions - and adbreaks are also not mandatory

@samadtehrani
Copy link

You mean you don't get this message on "Channel Feed Manager"?
Screenshot 2024-05-28 135218

@ferdiworks
Copy link

We have a few clients that have livestreaming issues w Roku. Two are using the software from here. After talking with support here are some things reported to check on our own side:

Live streaming to Roku and other OTT services

Your encoder settings for livestreaming should be checked as Roku and other providers need certain settings!

You need a video to stream at 1920x1080
set the video to 1920x1080 and if your setting has a rescale output: change the VIDEO to 1920x1080 also!

Next change rescale output to disabled!

change or set the bitrate to 3370kbps or 4000

If you are streaming from your desktop:
Your internet service should be consistently 2x higher than the output bitrate or the stream will suffer. You can check with https://testmy.net/upload

@ferdiworks
Copy link

thumbnail
The Error is a 404 etra:etype:buffer

@ferdiworks
Copy link

Note I found its not just our use of this software and see issues with Livestreaming from outside feeds and services!

@samadtehrani
Copy link

I replaced my m3u8 with several livefeeds. same results. I even used Big Buck Bunny (https://live-par-2-cdn-alt.livepush.io/live/bigbuckbunnyclip/index.m3u8) which Roku uses for testing on the Roku Platform or (https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8) that Roku uses for testing purposes. Same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants