Updated scheduler to ensure client knows channel streamtype at time of clicking 'go-live' button.

This commit is contained in:
rainbow napkin 2026-07-07 21:25:27 -04:00
parent a819d14861
commit 6d8135d1e3
4 changed files with 50 additions and 4 deletions

View file

@ -117,6 +117,10 @@ class channel{
this.queueLock = data.locked;
});
this.socket.on("streamType", (data) => {
this.streamType = data.streamType;
});
this.queueBroadcastSocket.on("queue", (data) => {
this.queue = new Map(data.queue);
});
@ -146,6 +150,9 @@ class channel{
//Store queue lock status
this.queueLock = data.queueLock;
//Store streamType
this.streamType = data.streamType;
}
/**