Open brentluna opened 6 years ago
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."
Did you try to remove streamformat at all? This project is way far from completeness, it only solved my particular case, so probably try to log the urls(for example add the m.video.content.url to the error message and you will probably see what is going on)
вс, 27 мая 2018 г., 3:00 Brent Luna notifications@github.com:
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, while the mp4 open a video player in browser window and start playing. Incase that helps
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sudo97/Roku-IPTV/issues/4#issuecomment-392295534, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjhTMsoL56H95dmy2kjJUSrHR2wxnI_ks5t2eyQgaJpZM4UPFkd .
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?
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
Do you happen to know who the dev is who forked it? Maybe he can help me.
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
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.