Changeset 3667 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Jul 19, 2011 11:11:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3664 r3667 1248 1248 call_med->tp_st = PJSUA_MED_TP_IDLE; 1249 1249 1250 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 1250 1251 /* While in initial call, set default video devices */ 1251 1252 if (type == PJMEDIA_TYPE_VIDEO) { … … 1263 1264 } 1264 1265 } 1266 #endif 1267 1265 1268 } else if (call_med->tp_st == PJSUA_MED_TP_DISABLED) { 1266 1269 /* Media is being reenabled. */ … … 1651 1654 &tpinfo.sock_info, 0, &m); 1652 1655 break; 1656 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 1653 1657 case PJMEDIA_TYPE_VIDEO: 1654 1658 status = pjmedia_endpt_create_video_sdp(pjsua_var.med_endpt, pool, 1655 1659 &tpinfo.sock_info, 0, &m); 1656 1660 break; 1661 #endif 1657 1662 default: 1658 1663 pj_assert(!"Invalid call_med media type"); … … 2125 2130 } 2126 2131 break; 2127 #if PJMEDIA_HAS_VIDEO2132 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 2128 2133 case PJMEDIA_TYPE_VIDEO: 2129 2134 status = video_channel_update(call_med, tmp_pool,
Note: See TracChangeset
for help on using the changeset viewer.