Changeset 5923 for pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp
- Timestamp:
- Dec 13, 2018 6:57:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp
r5912 r5923 416 416 }; 417 417 418 /** 419 * Parameter of Endpoint::onCallMediaEvent() callback. 420 */ 421 struct OnMediaEventParam 422 { 423 /** 424 * The media event. 425 */ 426 MediaEvent ev; 427 }; 418 428 419 429 ////////////////////////////////////////////////////////////////////////////// … … 1586 1596 */ 1587 1597 virtual void onIpChangeProgress(OnIpChangeProgressParam &prm) 1598 { PJ_UNUSED_ARG(prm); } 1599 1600 /** 1601 * Notification about media events such as video notifications. This 1602 * callback will most likely be called from media threads, thus 1603 * application must not perform heavy processing in this callback. 1604 * If application needs to perform more complex tasks to handle the 1605 * event, it should post the task to another thread. 1606 * 1607 * @param prm Callback parameter. 1608 */ 1609 virtual void onMediaEvent(OnMediaEventParam &prm) 1588 1610 { PJ_UNUSED_ARG(prm); } 1589 1611 … … 1734 1756 on_call_media_transport_state(pjsua_call_id call_id, 1735 1757 const pjsua_med_tp_state_info *info); 1758 static void on_media_event(pjmedia_event *event); 1736 1759 static void on_call_media_event(pjsua_call_id call_id, 1737 1760 unsigned med_idx,
Note: See TracChangeset
for help on using the changeset viewer.