Changeset 5923 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Dec 13, 2018 6:57:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r5920 r5923 1421 1421 } 1422 1422 1423 1424 /* Callback to receive media events */ 1423 /* Callback to receive global media events */ 1424 pj_status_t on_media_event(pjmedia_event *event, void *user_data) 1425 { 1426 pj_status_t status = PJ_SUCCESS; 1427 1428 PJ_UNUSED_ARG(user_data); 1429 1430 /* Forward the event */ 1431 if (pjsua_var.ua_cfg.cb.on_media_event) { 1432 (*pjsua_var.ua_cfg.cb.on_media_event)(event); 1433 } 1434 1435 return status; 1436 } 1437 1438 /* Callback to receive media events of a call */ 1425 1439 pj_status_t call_media_on_event(pjmedia_event *event, 1426 1440 void *user_data)
Note: See TracChangeset
for help on using the changeset viewer.