Changeset 2061 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Jun 26, 2008 3:48:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r2039 r2061 2228 2228 pj_uint8_t priority ) 2229 2229 { 2230 const pj_str_t all = { NULL, 0 }; 2230 2231 pjmedia_codec_mgr *codec_mgr; 2231 2232 2232 2233 codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); 2234 2235 if (codec_id->slen==1 && *codec_id->ptr=='*') 2236 codec_id = &all; 2233 2237 2234 2238 return pjmedia_codec_mgr_set_codec_priority(codec_mgr, codec_id, … … 2243 2247 pjmedia_codec_param *param ) 2244 2248 { 2249 const pj_str_t all = { NULL, 0 }; 2245 2250 const pjmedia_codec_info *info; 2246 2251 pjmedia_codec_mgr *codec_mgr; … … 2250 2255 codec_mgr = pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt); 2251 2256 2257 if (codec_id->slen==1 && *codec_id->ptr=='*') 2258 codec_id = &all; 2259 2252 2260 status = pjmedia_codec_mgr_find_codecs_by_id(codec_mgr, codec_id, 2253 2261 &count, &info, NULL);
Note: See TracChangeset
for help on using the changeset viewer.