only reset the sequence number for received terminated universes
This commit is contained in:
parent
1cad61ffc7
commit
8a2e838916
|
@ -227,6 +227,9 @@ void Receiver::dataFrameHandler(ACN::PDU::Message<DATA::Pdu> frame) {
|
|||
{
|
||||
/// Set the universe's status to TERMINATED.
|
||||
universe->setStatus(Universe::sACN_TERMINATED);
|
||||
/// Resetting the sequencing on terminated universes results in faster reaquision
|
||||
/// from the same source without waiting for the sequence to realign.
|
||||
universe->provenance()->sequence_number = 0;
|
||||
/// Terminated universe may be deleted as sources.
|
||||
/// The universe may keep itself, in a terminated state, for hold-last-look.
|
||||
universes_[source->universe]->deleteSourceUniverse(*source);
|
||||
|
|
|
@ -298,11 +298,6 @@ void Universe::setStatus(uint8_t status)
|
|||
// tx_control_mutex_.lock();
|
||||
DMX::Universe::setStatus(status);
|
||||
// tx_control_mutex_.unlock();
|
||||
|
||||
// Reset sequencing on terminated universes. Results in faster reaquision
|
||||
// from the same source without waiting for the sequence to realign.
|
||||
if (status == sACN_TERMINATED)
|
||||
provenance_->sequence_number = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue