1
0
Fork 0

always attempt to delete terminated universes

This commit is contained in:
Kevin Matz 2022-11-21 14:39:13 -05:00
parent fdbff859c7
commit f27faa4fe6
1 changed files with 6 additions and 4 deletions

View File

@ -247,13 +247,15 @@ void Receiver::dataFrameHandler(ACN::PDU::Message<DATA::Pdu> frame) {
/// >
/// > allow E1.31 sources to terminate transmission of a stream or of
/// > universe synchronization without waiting for a timeout to occur.
/// > Any property values in an E1.31 Data Packet containing this bit
/// > shall be ignored.
if (source->options.stream_terminated)
{
auto universe = universes_.at(source->universe);
if (universe->sources().size() > 1 || !HoldLastLook)
return universes_[source->universe]->deleteSourceUniverse(*source);
/// 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);
/// > Any property values in an E1.31 Data Packet containing this bit
/// > shall be ignored.
return;
}
/// > \cite sACN 6.2.4.1 Synchronization Address Usage in an E1.31 Data Packet