Forum Discussion

ljunkie's avatar
ljunkie
Visitor
9 years ago

roVideoPlayer and roVideoScreen timeout issues on 7.5 firmeware

I don't have an example channel ready, but we are running into an issue with these two players using the 7.5 firmware. It seems the players will only wait 5 seconds to receive data. This is definitely too low in some cases. I'm trying to find a box running 7.2 or 6.2 firmware to confirm, but I'd like to get this thread started to hopefully get some traction on this. Basically if a media url takes more than 5 seconds to respond, the player will timeout and send an `isRequestFailed` message.

Roku: I'd expect even if this is a bug, it will take a while to get fixed in a firmware update, especially with the holiday season closing in. In the mean time, is there any way to control this short timeout and extend it video some hidden or undocumented method?

20 Replies

  • "RokuDale" wrote:
    The timeout change has the limited scope of the component.

    Sorry, that's a bit unclear...
    You mean that only the instances from roVideoScreen/roAudioPlayer/roVideoPlayer have their default timeout shrunk to 5 sec?
    And on the flip side, all other ifHttpAgent implementors now too have SetConnectionTimeout() available but with a different default?
  • The change only affects the videoplayers use of http agent. All other users of httpagent are not affected.
  • "RokuDale" wrote:
    The change only affects the videoplayers use of http agent. All other users of httpagent are not affected.

    got it, thanks!
  • "RokuDale" wrote:
    The change only affects the videoplayers use of http agent. All other users of httpagent are not affected.


    It also affected the roAudioPlayer. I assume 7099 has the timeout fix? Haven't tested yet since we've since added the workaround. Will have to verify later.
  • ljunkie, please can you post an example of the workaround? 
  • "nwjon" wrote:
    Yes, i still dont get it.

    The workaround is to set the connection timeout manually to override the 5 second timeout 7.5 introduced. It sounds like this will be corrected in 7.5 4099, but I haven't received it yet to verify. Here is a code example.
    videoPlayer = CreateObject("roVideoPlayer")
    videoPlayer.SetConnectionTimeout(30)