Remove audioPlayer maxMissedFrames in Streamer class

This commit is contained in:
Christer Warén 2023-12-04 22:20:52 +02:00
parent fe62792949
commit c899266975

View File

@ -51,15 +51,13 @@ export default class Streamer {
if(this.mode == "auto"){
audioPlayer = createAudioPlayer({
behaviors: {
noSubscriber: NoSubscriberBehavior.Play,
maxMissedFrames: Math.round(5000 / 20),
noSubscriber: NoSubscriberBehavior.Play
}
});
} else {
audioPlayer = createAudioPlayer({
behaviors: {
noSubscriber: NoSubscriberBehavior.Stop,
maxMissedFrames: Math.round(5000 / 20),
noSubscriber: NoSubscriberBehavior.Stop
}
});
}