Forum Discussion

krazy's avatar
krazy
Visitor
15 years ago

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.

4 Replies

  • 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.
  • this is what i have

    screen.Show()
    episode.StreamFormat = "hls"
    screen.SetContent(episode)
    screen.Show()
  • "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?
  • 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.