webm file format is recognized as live video
Current Behavior:
Wen I was using a webm file, the MediaPlayer by default uses "Live Stream" mode. Setting the value of "streamType" doesn't change the behavior.
Expected Behavior:
webmurl should not be considered as a "Live Stream";- Setting the "streamType" for
webmfile to "on-demand" should disable the "Live Stream" mode?
Steps To Reproduce:
I made a webm video below to show the issue.
MediaPlayer without streamType defaults to "Live Stream"
<MediaPlayer src="https://yarx.s3.amazonaws.com/yR1eIHNkzlK2bkzrMhyk4.webm">
<MediaProvider />
<DefaultVideoLayout icons={defaultLayoutIcons} />
</MediaPlayer>
MediaPlayer with streamType set to on-demand also makes the player to be "Live Stream"
<MediaPlayer src="https://yarx.s3.amazonaws.com/yR1eIHNkzlK2bkzrMhyk4.webm" streamType="on-demand">
<MediaProvider />
<DefaultVideoLayout icons={defaultLayoutIcons} />
</MediaPlayer>
Environment:
Anything Else?
We can see the left bottom corner, there is a "Live" indicator. Is this the expected behavior?
The issue was resolved by adding a duration to MediaPlayer.
Is this the expected behavior?
It's not but it would be an issue with video file itself, possibly how it was encoded. Closing as this is not an issue with the player itself, thanks!