krazy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011
07:30 AM
roku playback failing some times
Hi,
We have HLS server using Wowza server.
We have made a test application based on videoplayer sample.
Now we have some live channels that we have defined in the xml such as below
<item sdImg="http://www.xxxxxxx.com/roku/artwork/xxxxx.jpg" hdImg="http://www.xxxxxxx.com/roku/artwork/xxxxxxx.jpg">
<title>xxxxx</title>
<contentId>10052</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://x.x.x.x:1935/base1/xxxxxx/playlist.m3u8</streamUrl>
</media>
<synopsis>xxxxxxxxxxx</synopsis>
<genres>Entertainment</genres>
<runtime>8640</runtime>
</item>
problem description.
when we click play, it tries to play and then quits, comes back to old screen with play button,
now we try again to play , it works.
say about one in 10 it fails, no errors on wowza side , roku side a default error message
I have checked the server and see no issues on networking.
Please let me know how to resolve this.
We have HLS server using Wowza server.
We have made a test application based on videoplayer sample.
Now we have some live channels that we have defined in the xml such as below
<item sdImg="http://www.xxxxxxx.com/roku/artwork/xxxxx.jpg" hdImg="http://www.xxxxxxx.com/roku/artwork/xxxxxxx.jpg">
<title>xxxxx</title>
<contentId>10052</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://x.x.x.x:1935/base1/xxxxxx/playlist.m3u8</streamUrl>
</media>
<synopsis>xxxxxxxxxxx</synopsis>
<genres>Entertainment</genres>
<runtime>8640</runtime>
</item>
problem description.
when we click play, it tries to play and then quits, comes back to old screen with play button,
now we try again to play , it works.
say about one in 10 it fails, no errors on wowza side , roku side a default error message
I have checked the server and see no issues on networking.
Please let me know how to resolve this.
4 REPLIES 4


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011
08:09 AM
Re: roku playback failing some times
It may be the case that calling the Show() method on your roVideoScreen before calling SetContent() can cause this behavior with non-mp4 content. I can't say for sure that's what's going on, but I would be very interested to find out if it is. Try commenting out the first screen.Show() in appVideoScreen.brs (line 27) and see if it works any better.
krazy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011
08:19 AM
Re: roku playback failing some times
this is what i have
screen.Show()
episode.StreamFormat = "hls"
screen.SetContent(episode)
screen.Show()
screen.Show()
episode.StreamFormat = "hls"
screen.SetContent(episode)
screen.Show()
stratcat96
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011
09:28 AM
Re: roku playback failing some times
"krazy" wrote:
this is what i have
screen.Show()
episode.StreamFormat = "hls"
screen.SetContent(episode)
screen.Show()
is it possible you need to set a minimum bandwidth since it is coming from a wowza server and possibly the roku is ignoring it?
krazy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011
07:29 PM
Re: roku playback failing some times
i have checked the m3u8 url and when the server does not know the bandwidth, it is sending out 250000 as bandwidth, when the stream starts, it is sending actual bandwidth 1mbit , which is actual
am gonna try today both of these to see if there is any difference.
am gonna try today both of these to see if there is any difference.