Changes between Version 43 and Version 44 of Video_Users_Guide


Ignore:
Timestamp:
Mar 21, 2012 4:27:24 AM (8 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Video_Users_Guide

    v43 v44  
    322322/* 1st preference: 352 x 288 (CIF) */ 
    323323pjmedia_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 */ 
     325pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("1"); 
    325326/* 2nd preference: 176 x 144 (QCIF) */ 
    326327pjmedia_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 */ 
     329pjmedia_vid_codec_param.dec_fmtp.param[n+1].value = pj_str("1"); 
    328330         }}} 
    329331       - 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: 
     
    331333/* Can receive up to 1280×720 @30fps */ 
    332334pjmedia_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 */ 
     336pjmedia_vid_codec_param.dec_fmtp.param[n].value = pj_str("xxxx1f"); 
    334337         }}} 
    335338