mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
tweak muxer
This commit is contained in:
parent
e4a6bfd447
commit
afa989b627
@ -95,6 +95,14 @@ export default class TrackInstance {
|
||||
// support for dash audio streaming
|
||||
if (this.manifest.source.endsWith(".mpd")) {
|
||||
this.muxerPlayer = MediaPlayer().create()
|
||||
this.muxerPlayer.updateSettings({
|
||||
streaming: {
|
||||
buffer: {
|
||||
resetSourceBuffersForTrackSwitch: true,
|
||||
useChangeTypeForTrackSwitch: false,
|
||||
},
|
||||
},
|
||||
})
|
||||
this.muxerPlayer.initialize(this.audio, null, false)
|
||||
|
||||
this.muxerPlayer.attachSource(this.manifest.source)
|
||||
|
Loading…
x
Reference in New Issue
Block a user