Changes between Version 43 and Version 44 of Video_Users_Guide
- Timestamp:
- Mar 21, 2012 4:27:24 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Video_Users_Guide
v43 v44 322 322 /* 1st preference: 352 x 288 (CIF) */ 323 323 pjmedia_vid_codec_param.dec_fmtp.param[n].name = pj_str("CIF"); 324 pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("1"); /* the value actually specifies framerate, see framerate section below */ 324 /* The value actually specifies framerate, see framerate section below */ 325 pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("1"); 325 326 /* 2nd preference: 176 x 144 (QCIF) */ 326 327 pjmedia_vid_codec_param.dec_fmtp.param[n+1].name = pj_str("QCIF"); 327 pjmedia_vid_codec_param.dec_fmtp.param[n+1].value = pj_str("1"); /* the value actually specifies framerate, see framerate section below */ 328 /* The value actually specifies framerate, see framerate section below */ 329 pjmedia_vid_codec_param.dec_fmtp.param[n+1].value = pj_str("1"); 328 330 }}} 329 331 - H264, the size is implicitly specified in H264 level (check the standard specification or [http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels this]) and on SDP, the H264 level is signalled via H264 SDP fmtp [http://tools.ietf.org/html/rfc6184#section-8.1 profile-level-id], e.g: … … 331 333 /* Can receive up to 1280×720 @30fps */ 332 334 pjmedia_vid_codec_param.dec_fmtp.param[n].name = pj_str("profile-level-id"); 333 pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("xxxx1f"); /* "1f" means level 3.1 */ 335 /* Set the profile level to "1f", which means level 3.1 */ 336 pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("xxxx1f"); 334 337 }}} 335 338