Updated scheduler to ensure client knows channel streamtype at time of clicking 'go-live' button.
This commit is contained in:
parent
a819d14861
commit
6d8135d1e3
4 changed files with 50 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue