audioPublishStateChanged property
read / write
音频发布状态改变回调。
@since v3.1.2。
StreamPublishStateCallback
包含如下参数:
- String
channel
频道名。 - StreamPublishState
oldState
之前的发布状态。 - StreamPublishState
newState
当前的发布状态。 - int
elapseSinceLastState
两次状态变化时间间隔(毫秒)。
Implementation
StreamPublishStateCallback audioPublishStateChanged