audioPublishStateChanged property

StreamPublishStateCallback? audioPublishStateChanged
getter/setter pair

Occurs when the audio publishing state changes.

Param channel The name of the channel.

Param oldState For the previous publishing state, see StreamPublishState .

Param newState For the current publishing state, see StreamPublishState.

Param elapseSinceLastState The time elapsed (ms) from the previous state to the current state.

Implementation

StreamPublishStateCallback? audioPublishStateChanged;