onVideoPublishStateChanged property
void Function(VideoSourceType source, String channel, StreamPublishState oldState, StreamPublishState newState, int elapseSinceLastState)?
onVideoPublishStateChanged
final
Callback for video publishing state change.
channelChannel name.sourceType of video source. See VideoSourceType.oldStatePrevious publishing state. See StreamPublishState.newStateCurrent publishing state. See StreamPublishState.elapseSinceLastStateInterval between the two state changes (ms).
Implementation
final void Function(
VideoSourceType source,
String channel,
StreamPublishState oldState,
StreamPublishState newState,
int elapseSinceLastState)? onVideoPublishStateChanged;