updateStreamState method
- StreamState streamState
Implementation
@internal
Future<void> updateStreamState(StreamState streamState) async {
// return if no change
if (_streamState == streamState) return;
_streamState = streamState;
[
participant.events,
].emit(TrackStreamStateUpdatedEvent(
participant: participant,
publication: this,
streamState: streamState,
));
}