try and do the news noises

This commit is contained in:
Marks Polakovs 2020-04-13 13:56:17 +02:00
parent 5f6a7fec15
commit bebdd0186b

View file

@ -99,6 +99,7 @@ export class WebRTCStreamer extends Streamer {
minutes: 59,
seconds: 45
});
console.log("news time", newsTime);
const delta = newsTime.valueOf() - now.valueOf();
this.newsInTimeout = window.setTimeout(async () => {
await MixerState.playNewsIntro();
@ -113,6 +114,7 @@ export class WebRTCStreamer extends Streamer {
minutes: 0,
seconds: 55
});
console.log("end time", newsEndTime);
const delta = newsEndTime.valueOf() - now.valueOf();
this.newsOutTimeout = window.setTimeout(async () => {
await MixerState.playNewsEnd();