Ignore:
Timestamp:
Mar 15, 2011 11:20:35 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1207: Deprecation of pjmedia_session:

  • add new APIs in stream so that app can use this directly instead of via session
  • moved some APIs from session to stream
File:
1 edited

Legend:

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

    r3420 r3446  
    8989 * its own RTP/RTCP socket pair. 
    9090 */ 
    91 struct pjmedia_stream_info 
     91typedef struct pjmedia_stream_info 
    9292{ 
    9393    pjmedia_type        type;       /**< Media type (audio, video)          */ 
     
    135135                                         is enabled?                        */ 
    136136#endif 
    137 }; 
    138  
    139  
    140 /** 
    141  * @see pjmedia_stream_info. 
    142  */ 
    143 typedef struct pjmedia_stream_info pjmedia_stream_info; 
     137} pjmedia_stream_info; 
    144138 
    145139 
     
    247241 
    248242/** 
     243 * Get the stream info. 
     244 * 
     245 * @param stream        The media stream. 
     246 * @param info          Stream info. 
     247 * 
     248 * @return              PJ_SUCCESS on success. 
     249 */ 
     250PJ_DECL(pj_status_t) pjmedia_stream_get_info( const pjmedia_stream *stream, 
     251                                              pjmedia_stream_info *info); 
     252 
     253/** 
    249254 * Get the stream statistics. See also 
    250255 * #pjmedia_stream_get_stat_jbuf() 
Note: See TracChangeset for help on using the changeset viewer.