推荐答案请考虑以下代码:fun strmStopTransmit() { if (manager.isCaptureActive(camDevId)) { val callVidPrm = CallVidSetStreamParam() callVidPrm.setCapDev(camDevId) call.vidSetStream(pjsua_call_vid_strm_op.PJSUA_CALL_VID_STRM_STOP_TRANSMIT, callVidPrm) }}其中 manager 是 pj :: VidDevManager 的实例(链接)(您可以从 pj :: Endpoint (链接))和 call 是 pj :: Call (链接).Where manager is instance of pj::VidDevManager (link) (you can get it from pj::Endpoint (link)) and call is instance of pj::Call (link).反函数(继续传输)的实现是显而易见的.The implementation of the inverse function (resuming transmission) is obvious.祝你好运! 这篇关于如何使用Android Pjsua 2暂停和取消暂停视频传输?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 05-17 22:22