Forum Discussion

jwray's avatar
jwray
Visitor
14 years ago

video screen events while paused

Hi,

Is there anyway to continue to receive and process video screen events while playback is paused?

Or, from a functional point of view, I need to send a 'ping' request to a server to say 'hi, still here' to avoid the server session timing out and killing itself. Any way I can achieve this while a video screen is paused?

thanks
Jonny

2 Replies

  • roVideoScreen doesn't generate any events while paused. If there's stuff you need to do periodically within an event loop, you can pass a non-zero value to the Wait() function (section 7.2 of the BrightScript Reference Manual), which will cause it to timeout and return an invalid value.
  • Thanks, appreciate the pointer, worked a charm.

    Jonny