QNRTCAudioMixerEvent
Index
Method
Method
onError
- onError(params: {code:number,message:string}): void
-
混音操作发生错误时会触发此回调
Parameters-
params: {code:number,message:string}
Returns void -
onMixing
- onMixing(params: {currentTimeUs:number}): void
-
混音操作进行过程中会不断触发此回调
Parameters-
params: {currentTimeUs:number}
Returns void -
onStateChanged
- onStateChanged(params: {state:QNAudioMixerState}): void
-
混音状态改变时触发此回调
Parameters-
params: {state:QNAudioMixerState}
Returns void -
文档反馈
(如有产品使用问题,请 提交工单)