Hi, The doc of pjmedia SDP API: http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__SDP.htm. It seems you need to add some formats of the video media, e.g: video codec and its attributes, you can see how pjmedia_endpt_create_sdp() adds some media formats to audio media. Adding video feature could be a very long long way, e.g: you may need to create a separate stream module for video stream. Good luck! Regards, nanang On Tue, Sep 23, 2008 at 1:44 AM, P.Muge Ersoy <muge.ersoy at gmail.com> wrote: > Hi All; > > I am trying to add video codecs to PJSIP.. I am editing endpoint.c file. I > added pjmedia_sdp_media *maudio; pjmedia_sdp_media *mvideo; together > , also made all allocations which was made for the only pjmedia_sdp_media. > But when i write "sdp->media_count = 2;" it gaves sdp validation assertion > because of the 0 fmt_count. My question is , Is there any APIs of pjsua to > edit pjmedia sdp media struct to add video line in sdp? > > My question would be so general i would be please if you lead me to useful > way. > > Thanks > Muge > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >