onAudioRouteChanged property

OnAudioRouteChangedType? onAudioRouteChanged
getter/setter pair

音频播放路由变化时,收到该回调

插拔音频外设,或调用 RTCVideo.setAudioRoute 都可能触发音频路由切换,详见音频路由

Implementation

OnAudioRouteChangedType? onAudioRouteChanged;