From c899266975f16ad31bb1d4a8260e0060efb310ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 4 Dec 2023 22:20:52 +0200 Subject: [PATCH] Remove audioPlayer maxMissedFrames in Streamer class --- src/client/classes/Streamer.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/client/classes/Streamer.ts b/src/client/classes/Streamer.ts index 04e6b22..99f4738 100644 --- a/src/client/classes/Streamer.ts +++ b/src/client/classes/Streamer.ts @@ -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 } }); }