mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 03:40:19 +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"){
|
if(this.mode == "auto"){
|
||||||
audioPlayer = createAudioPlayer({
|
audioPlayer = createAudioPlayer({
|
||||||
behaviors: {
|
behaviors: {
|
||||||
noSubscriber: NoSubscriberBehavior.Play,
|
noSubscriber: NoSubscriberBehavior.Play
|
||||||
maxMissedFrames: Math.round(5000 / 20),
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
audioPlayer = createAudioPlayer({
|
audioPlayer = createAudioPlayer({
|
||||||
behaviors: {
|
behaviors: {
|
||||||
noSubscriber: NoSubscriberBehavior.Stop,
|
noSubscriber: NoSubscriberBehavior.Stop
|
||||||
maxMissedFrames: Math.round(5000 / 20),
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user