audioPublishStateChanged property
Occurs when the audio publishing state changes.
Param elapseSinceLastState
The time elapsed (ms) from the previous state to the current state.
Param newState
For the current publishing state, see StreamPublishState.
Param oldState
For the previous publishing state, see StreamPublishState .
Param channel
The channel name.
Implementation
StreamPublishStateCallback? audioPublishStateChanged;