try and do the news noises
This commit is contained in:
parent
5f6a7fec15
commit
bebdd0186b
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,7 @@ export class WebRTCStreamer extends Streamer {
|
||||||
minutes: 59,
|
minutes: 59,
|
||||||
seconds: 45
|
seconds: 45
|
||||||
});
|
});
|
||||||
|
console.log("news time", newsTime);
|
||||||
const delta = newsTime.valueOf() - now.valueOf();
|
const delta = newsTime.valueOf() - now.valueOf();
|
||||||
this.newsInTimeout = window.setTimeout(async () => {
|
this.newsInTimeout = window.setTimeout(async () => {
|
||||||
await MixerState.playNewsIntro();
|
await MixerState.playNewsIntro();
|
||||||
|
@ -113,6 +114,7 @@ export class WebRTCStreamer extends Streamer {
|
||||||
minutes: 0,
|
minutes: 0,
|
||||||
seconds: 55
|
seconds: 55
|
||||||
});
|
});
|
||||||
|
console.log("end time", newsEndTime);
|
||||||
const delta = newsEndTime.valueOf() - now.valueOf();
|
const delta = newsEndTime.valueOf() - now.valueOf();
|
||||||
this.newsOutTimeout = window.setTimeout(async () => {
|
this.newsOutTimeout = window.setTimeout(async () => {
|
||||||
await MixerState.playNewsEnd();
|
await MixerState.playNewsEnd();
|
||||||
|
|
Loading…
Reference in a new issue