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

Error 3 on mp4 formats, and error 1 on hls formats #4

Open
brentluna opened this issue May 26, 2018 · 6 comments
Open

Error 3 on mp4 formats, and error 1 on hls formats #4

brentluna opened this issue May 26, 2018 · 6 comments

Comments

@brentluna
Copy link

brentluna commented May 26, 2018

my response for the channel list creation is coming back as so

#EXTM3U #EXTINF:0 tvg-logo="http://channelpear.com/images/media/1287.JPG" group-title="Entertainment",24/7 Seinfeld http://channelpear.com/watch/?id=XXXX&u=XXXXXX&k=XXXXXXXX%3D #EXTINF:0 tvg-logo="http://channelpear.com/images/media/1347.jpg" group-title="Entertainment",24/7 Simpsons http://channelpear.com/watch/?id=XX&u=XXX&k=azJXWVlvaUd0OVM4MThBllFQzdheCtKOEFBeG9xYSt1Zz0%3D #EXTINF:0 tvg-logo="https://i.imgur.com/JtzkArC.jpg" group-title="Entertainment",24/7 Reno 911 http://channelpear.com/watch/?id=XXXX&u=XXXXX&k=XXXXXXXXXXX%3D #EXTINF:0 tvg-logo="http://channelpear.com/images/media/2969.jpg" group-title="Entertainment",24/7 Bobs Burgers http://channelpear.com/watch/?id=XXX&u=XXXXXX&k=XXXXXXXXX%3D

The list is being generated, but as said if the feed is a mp4 format, clicking on the list item returns error 3 and error 1 if it s a m3u/hls format.

@brentluna
Copy link
Author

brentluna commented May 27, 2018

so in MainScene.brs, I updated
content.streamFormat = "hls"
to
content.streamFormat = "hls, mp4, mkv, mp3, avi, m4v, ts, mpeg-4, flv, vob, ogg, ogv, webm, mov, wmv, asf, amv, mpg, mp2, mpeg, mpe, mpv, mpeg2"

This got the mp4 format videos to play, however still getting error 1 with the hls type formats.

When i put the URL's returned in the response in my original post, opening the urls in a browser, the hls formats download a m3u8 file(which play fine when opened in vlc), while the mp4 open a video player in browser window and start playing. Incase that helps

EDIT: I was debugging the #checkState method, it hits it once w/ a video.state == 'buffering', then the second time it's the error

the below is part of the m.video attributes
errorCode: -1 errorMsg: "There was an error in the HTTP response. This could mean that malformed HTTP headers or an HTTP error code was returned."

@sudo97
Copy link
Owner

sudo97 commented May 27, 2018 via email

@brentluna
Copy link
Author

I haven't, will give it a go. This player seems very similar to the m3u black private channel, and plays the same url without issue, do you have any knowledge between the differences in the 2?

@sudo97
Copy link
Owner

sudo97 commented May 27, 2018

m3u black is a fork of this player, don't know what is going on with it now, but the guy makes lots of stuff

@brentluna
Copy link
Author

Do you happen to know who the dev is who forked it? Maybe he can help me.

@sudo97
Copy link
Owner

sudo97 commented May 27, 2018

Last time i checked he removed the streamformat line(Roku in sdkdocs promised that the device is going to figure out which format to use automatically, but I returned that line back then because it didn't work on my devices at that time, but Roku promised) -- so this probably will be a solution for your question. Sadly I don't know who he is, he is always on the different nickname, sometimes he appears, writes something here or to my email and then vanishes til the next time, so I don't know where he is

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

No branches or pull requests

2 participants