Changeset 1806 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Feb 20, 2008 8:56:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1796 r1806 887 887 888 888 if (call->session) { 889 if (pjsua_var.ua_cfg.cb.on_stream_destroyed) { 890 pjsua_var.ua_cfg.cb.on_stream_destroyed(call_id, call->session, 0); 891 } 892 889 893 pjmedia_session_destroy(call->session); 890 894 call->session = NULL; … … 1058 1062 pjmedia_session_get_port(call->session, 0, &media_port); 1059 1063 1064 /* Notify application about stream creation. 1065 * Note: application may modify media_port to point to different 1066 * media port 1067 */ 1068 if (pjsua_var.ua_cfg.cb.on_stream_created) { 1069 pjsua_var.ua_cfg.cb.on_stream_created(call_id, call->session, 1070 0, &media_port); 1071 } 1060 1072 1061 1073 /*
Note: See TracChangeset
for help on using the changeset viewer.