Hi Andrew, Can you explain more about 1921x1081 issue (commented with "I don't see video between two client")? As I just tried the latest SVN with 1920x1080 and profile-level-id "42e028" and it works just fine (except pixelate problem because of default/small bitrate I guess). Thanks, nanang On Fri, Mar 30, 2012 at 9:03 PM, frogersik <frogersik at gmail.com> wrote: > Hi, > thanks for fix my code, your time was not wasted, you have learned something > about pjsip and video. > ?to video hd you need to change level. default is 1.0 ( 0x0A) > if (h264_fmtp->profile_idc == 0) { > h264_fmtp->profile_idc = 0x42; > h264_fmtp->profile_iop = 0x00; > ?h264_fmtp->level = 0x0A;//default > } > > so to beter resoution you need to change profile level id, you can change > this by api method like: > status = pjsua_vid_codec_get_param(&codecName, &prm); > (optional) find where param name is profile-level-id by ?for example some > ?if(...) > change: > prm.dec_fmtp.param[index].name = pj_str(paramName); > prm.dec_fmtp.param[index].val = pj_str(paramValue); > and set > status = pjsua_vid_codec_set_param(&codecName, &prm); > > please read http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC section about > levels > > BR > Andrew > > > > > _______________________________________________ > 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 >