roVideoPlayerEvent method isPlaybackPosition() is no longer working?
I have a live roku channel still using Legacy Framework from 2016 and it's player is using roVideoPlayerEvent's method isPlaybackPosition() to play HLS live stream like following:
msg = wait(0, port)
if type(msg) = "roVideoScreenEvent" then
print "Screen closed"
else if (msg.isPlaybackPosition()) then
nowpos = msg.GetIndex()
print "Unexpected event type: "; msg.GetType()
print "Unexpected message class: "; type(msg)
It used to be working till I last checked on Friday (29th May) but on Monday (1st June) it stopped working. When I debugged msg.isPlaybackPosition() is returning false for HLS stream which it used to be playing for years. It falls in else case and prints Unexpected event type: 11
Since we can not update legacy app and will have to move to RSG which I am currently working on but it can take time, so is there any way this problem could be solved till new app is published? Thanks in advance.
Roku Community Streaming Expert I am not a Roku employee, only a user like you. Please, no support questions via private message -- post them publicly to the Community where others may benefit as well. If this post solves your problem please help others find this answer by clicking " Accept as Solution.".
Streaming Stick 4K+ 3821 | Streaming Stick+ 3810 | TCL Roku TV 43S245/C107X