Fixed out of order queues being sent off to clients.
This commit is contained in:
parent
787846c7d6
commit
dd66601f0d
|
|
@ -1708,8 +1708,8 @@ class queue{
|
||||||
media.earlyEnd = null;
|
media.earlyEnd = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Add it to the schedule array as if it where part of the actual schedule map
|
//Add it to the temporary schedule array as if it where part of the actual schedule map
|
||||||
schedule.push([media.startTime, media]);
|
schedule.unshift([media.startTime, media]);
|
||||||
//Otherwise if it's older
|
//Otherwise if it's older
|
||||||
}else{
|
}else{
|
||||||
//Then we should be done as archived items are added as they are played/end.
|
//Then we should be done as archived items are added as they are played/end.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue