You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the last version of ExoPlayer (2.10.0) in my Android app. And I want to play different video types (VOD, LIVE, DVR) with different videoplayer interface. For example, I want to show DefaultTimeBar on ExoPlayer controlls in VOD and DVR videos and I want to hide this view when video is LIVE.
All videos play well, but I dont know, how to check programmatically the type of video. I was looking for information and found that I can use flags isCurrentWindowDynamic and isCurrentWindowSeekable of SimpleExoPlayer object. But when I show them in logs, I see the next:
That's a duplicate of #2668. We don't have this flag currently and you can only guess based on the other flags. Note though, that our implementation will still include some guesswork because their is often not a clear-cut boundary between live and on-demand (think about an ended live stream for example).
I use the last version of
ExoPlayer
(2.10.0) in myAndroid
app. And I want to play different video types (VOD, LIVE, DVR) with different videoplayer interface. For example, I want to showDefaultTimeBar
onExoPlayer
controlls in VOD and DVR videos and I want to hide this view when video is LIVE.All videos play well, but I dont know, how to check programmatically the type of video. I was looking for information and found that I can use flags
isCurrentWindowDynamic
andisCurrentWindowSeekable
ofSimpleExoPlayer
object. But when I show them in logs, I see the next:Both flags in DVR and LIVE are the same. So, how to distinguish the type DVR or LIVE programmatically?
The text was updated successfully, but these errors were encountered: