Re: [pjsip] Set video to be recvonly?

BL
Brian Lee
Sat, Sep 16, 2017 6:27 PM

Hi All,

I would like my application to only receive video, not send it.

I have tried setting:

acc_cfg.videoConfig.autoTransmitOutgoing = false;

in pjsua2_demo.cpp

However, I still see:

a=sendrecv
a=rtpmap:96 H263-1998/90000
a=fmtp:96 CIF=1;QCIF=1

in the sdp response, and I also see the colorbar device being set up.

Is there a way to configure pjsua / pjsua2 to only receive video?

The closest I have come is to modify the sdp to be recvonly using the
"on_call_sdp_created" callback, however the colorbar is still getting set
up.

Apologies if I am missing something obvious.

Thanks,

Brian.

Hi All, I would like my application to only receive video, not send it. I have tried setting: acc_cfg.videoConfig.autoTransmitOutgoing = false; in pjsua2_demo.cpp However, I still see: a=sendrecv a=rtpmap:96 H263-1998/90000 a=fmtp:96 CIF=1;QCIF=1 in the sdp response, and I also see the colorbar device being set up. Is there a way to configure pjsua / pjsua2 to only receive video? The closest I have come is to modify the sdp to be recvonly using the "on_call_sdp_created" callback, however the colorbar is still getting set up. Apologies if I am missing something obvious. Thanks, Brian.