Skip to content

Commit

Permalink
Remove audioPlayer maxMissedFrames in Streamer class
Browse files Browse the repository at this point in the history
  • Loading branch information
cwchristerw committed Dec 4, 2023
1 parent fe62792 commit c899266
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/client/classes/Streamer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
});
}
Expand Down

0 comments on commit c899266

Please sign in to comment.