stateChangeStream property

Stream<RTCDataChannelState> stateChangeStream
getter/setter pair

Stream of state change events. Emits the new state on change. Closes when the RTCDataChannel is closed.

Implementation

late Stream<RTCDataChannelState> stateChangeStream;