mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2a72f0256e
commit
048ba20590
26 changed files with 1377 additions and 136 deletions
|
@ -1076,7 +1076,7 @@ class MSEMediaController extends EventHandler {
|
|||
logger.log(`selected A/V codecs for sourceBuffers:${audioCodec},${videoCodec}`);
|
||||
// create source Buffer and link them to MediaSource
|
||||
if (audioCodec) {
|
||||
sb = this.sourceBuffer.audio = this.mediaSource.addSourceBuffer(`video/mp4;codecs=${audioCodec}`);
|
||||
sb = this.sourceBuffer.audio = this.mediaSource.addSourceBuffer(`audio/mp4;codecs=${audioCodec}`);
|
||||
sb.addEventListener('updateend', this.onsbue);
|
||||
sb.addEventListener('error', this.onsbe);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue