Use best stream when playing muxed video.

This commit is contained in:
FireMasterK 2021-07-11 01:29:21 +05:30
parent 3d3b587a9c
commit 13c005d67b
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -72,7 +72,7 @@ export default {
uri = "data:application/dash+xml;charset=utf-8;base64," + btoa(dash);
} else {
uri = this.video.videoStreams.filter(stream => stream.codec == null)[0].url;
uri = this.video.videoStreams.filter(stream => stream.codec == null).slice(-1)[0].url;
}
if (noPrevPlayer)