mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 15:43:18 +00:00
Remove audioPlayer maxMissedFrames in Streamer class
This commit is contained in:
parent
fe62792949
commit
c899266975
@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user