Forum Discussion

dbulli's avatar
dbulli
Visitor
13 years ago

Get video length, from HLS and roVideoPlayer

I am trying to indicate to the user the length of the video. The server that I am getting the video for does not give me that info.

Is there a way to get this value from the roVideoPlayer component after the video has started? I can get the current progress using msg.GetIndex() with the "Startup progress" message.

Thanks,

1 Reply

  • Unfortunately, there's no way to get the video length from the video player. If it's HLS, though, you could probably parse it from the m3u8 file yourself.