videoPublishStateChanged property
Occurs when the video publishing state changes.
This callback indicates the publishing state change of the local video stream.
The StreamPublishStateCallback typedef includes the following parameters:
- String
channel: The channel name. - StreamPublishState
oldState: The previous publishing state. See StreamPublishState. - StreamPublishState
newState: The current publishing state. See StreamPublishState. - int
elapseSinceLastState: The time elapsed (ms) from the previous state to the current state.
Implementation
StreamPublishStateCallback? videoPublishStateChanged;