Hi,
Is the XVid codec from the FFMPEG library implemented in PJSIP? It shows up with a payload type of zero in the list of codecs when I call pjmedia_vid_codec_mgr_enum_codecs. I added PJMEDIA_RTP_PT_XVID to the end of the pjmedia_video_pt enum and used that value to assign PJMEDIA_FORMAT_XVID a non-zero payload type in the ffmpeg_codec_desc struct of ffmpeg_codecs.c. I also called pjmedia_vid_codec_mgr_set_codec_priority to bump the priority of the XVid codec to 130. However, my application still ends up using the H263-1998 video codec. If XVid is supported, what else do I need to change/configure to get it working? Thanks!
Regards,
--Jonathan
Hi,
Is the XVid codec from the FFMPEG library implemented in PJSIP? It shows up with a payload type of zero in the list of codecs when I call pjmedia_vid_codec_mgr_enum_codecs. I added PJMEDIA_RTP_PT_XVID to the end of the pjmedia_video_pt enum and used that value to assign PJMEDIA_FORMAT_XVID a non-zero payload type in the ffmpeg_codec_desc struct of ffmpeg_codecs.c. I also called pjmedia_vid_codec_mgr_set_codec_priority to bump the priority of the XVid codec to 130. However, my application still ends up using the H263-1998 video codec. If XVid is supported, what else do I need to change/configure to get it working? Thanks!
Regards,
--Jonathan