Media and direction settings for incomin and outgoing calls

SI
Sandra Indien
Fri, Jul 5, 2019 9:35 AM

Hallo,

I want to implement a SIP application that can establish Video-Calls. But this device has only a camera, no display.
Currently I started with PJSIPUA2. Pure audio calls are working fine but

When I establish a video call, I want to set the direction for video immediately to sendonly.
So the SDP for an INVITE request and for an INVITE OK response shall always be "sendonly".
Is there a possibility to set the direction to PJMEDIA_DIR_ENCODING as default (not PJMEDIA_DIR_ENCODING_DECODING)? Or is there another possibility to achive this

Furthermore I have no render device. What value must I set to tell the stack that I have no render device and I don't want to use one?

Thanks,
Sandra

Hallo, I want to implement a SIP application that can establish Video-Calls. But this device has only a camera, no display. Currently I started with PJSIPUA2. Pure audio calls are working fine but When I establish a video call, I want to set the direction for video immediately to sendonly. So the SDP for an INVITE request and for an INVITE OK response shall always be "sendonly". Is there a possibility to set the direction to PJMEDIA_DIR_ENCODING as default (not PJMEDIA_DIR_ENCODING_DECODING)? Or is there another possibility to achive this Furthermore I have no render device. What value must I set to tell the stack that I have no render device and I don't want to use one? Thanks, Sandra