Video unidirectional error ?

FM
Frédéric-Philippe Metz
Mon, Oct 5, 2020 8:39 AM

Hi all,

I am using my own SDP description with my own 3rd party media for video.

When I specify PJMEDIA_DIR_ENCODING for the SDP offer, video is removed.

The code which causes this is in endpoint.c:

/* Must support RTP packetization and bidirectional */

if ((codec_info[i].packings & PJMEDIA_VID_PACKING_PACKETS) == 0 ||

    codec_info[i].dir != PJMEDIA_DIR_ENCODING_DECODING)

{

    continue;

}

Why must RTP be bidirectional ?

BR
Frédéric

Hi all, I am using my own SDP description with my own 3rd party media for video. When I specify PJMEDIA_DIR_ENCODING for the SDP offer, video is removed. The code which causes this is in endpoint.c: /* Must support RTP packetization and bidirectional */ if ((codec_info[i].packings & PJMEDIA_VID_PACKING_PACKETS) == 0 || codec_info[i].dir != PJMEDIA_DIR_ENCODING_DECODING) { continue; } Why must RTP be bidirectional ? BR Frédéric