- Timestamp:
- Feb 24, 2011 7:47:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/stream.h
r3418 r3420 144 144 145 145 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 */ 162 PJ_DECL(pj_status_t) 163 pjmedia_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 146 170 147 171 /**
Note: See TracChangeset
for help on using the changeset viewer.