isEmitting property
Indicates whether the current value is TrackMediaDirection.sendRecv or
TrackMediaDirection.sendOnly.
Implementation
bool get isEmitting {
switch (this) {
case TrackMediaDirection.sendRecv:
case TrackMediaDirection.sendOnly:
return true;
case TrackMediaDirection.recvOnly:
case TrackMediaDirection.inactive:
return false;
}
}