stopScreenAudioCapture method
@hidden(iOS) @detail api @author liyi.000 @brief 在屏幕共享时,停止使用 RTC SDK 内部采集方式,采集屏幕音频。 @return - 0: 调用成功。 - < 0 : 调用失败。查看 ByteRTCReturnStatus{@link #ByteRTCReturnStatus} 获得更多错误说明 @note - 调用本接口时,采集模式应为内部模式。在外部采集模式下调用无效,并将触发 rtcEngine:onAudioDeviceWarning:deviceType:deviceWarning:{@link #ByteRTCEngineDelegate#rtcEngine:onAudioDeviceWarning:deviceType:deviceWarning} 回调。 - 要开始屏幕音频内部采集,调用 startScreenAudioCapture:{@link #ByteRTCEngine#startScreenAudioCapture}。
Implementation
FutureOr<int> stopScreenAudioCapture() async {
return await nativeCall('stopScreenAudioCapture', []);
}