Ignore:
Timestamp:
Feb 24, 2011 7:47:55 AM (13 years ago)
Author:
nanang
Message:

Re #1182:

  • Added video stream interface in vid_stream.h, the video stream will be able to handle different video formats in encoding and decoding direction.
  • Renamed video device stream class identifiers from 'pjmedia_vid_stream*' to 'pjmedia_vid_dev_stream*' as 'pjmedia_vid_stream' is used by video stream interface.
  • Added ffmpeg video capability to be able to parse SDP format param for H263 and also decide video format for encoding direction based on remote preference and local format-capability setting.
  • Added some new APIs in jitter buffer for handling video stream: pjmedia_jbuf_put_frame3(), pjmedia_jbuf_get_frame3(), pjmedia_jbuf_peek_frame(), and pjmedia_jbuf_remove_frame().
  • Moved pjmedia_stream_info_from_sdp() from session to stream
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/stream.h

    r3418 r3420  
    144144 
    145145 
     146/** 
     147 * This function will initialize the stream info based on information 
     148 * in both SDP session descriptors for the specified stream index.  
     149 * The remaining information will be taken from default codec parameters.  
     150 * If socket info array is specified, the socket will be copied to the  
     151 * session info as well. 
     152 * 
     153 * @param si            Stream info structure to be initialized. 
     154 * @param pool          Pool to allocate memory. 
     155 * @param endpt         PJMEDIA endpoint instance. 
     156 * @param local         Local SDP session descriptor. 
     157 * @param remote        Remote SDP session descriptor. 
     158 * @param stream_idx    Media stream index in the session descriptor. 
     159 * 
     160 * @return              PJ_SUCCESS if stream info is successfully initialized. 
     161 */ 
     162PJ_DECL(pj_status_t) 
     163pjmedia_stream_info_from_sdp( pjmedia_stream_info *si, 
     164                              pj_pool_t *pool, 
     165                              pjmedia_endpt *endpt, 
     166                              const pjmedia_sdp_session *local, 
     167                              const pjmedia_sdp_session *remote, 
     168                              unsigned stream_idx); 
     169 
    146170 
    147171/** 
Note: See TracChangeset for help on using the changeset viewer.