Ignore:
Timestamp:
Dec 13, 2018 6:57:23 AM (5 years ago)
Author:
nanang
Message:

Re #2168:

  • Added a new PJSUA callback on_media_event().
  • Added audio device error handling into PJSUA2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r5918 r5923  
    17351735                                  const pjsua_ip_change_op_info *info); 
    17361736 
     1737    /** 
     1738     * Notification about media events such as video notifications. This 
     1739     * callback will most likely be called from media threads, thus 
     1740     * application must not perform heavy processing in this callback. 
     1741     * If application needs to perform more complex tasks to handle 
     1742     * the event, it should post the task to another thread. 
     1743     * 
     1744     * @param event     The media event. 
     1745     */ 
     1746    void (*on_media_event)(pjmedia_event *event); 
     1747 
    17371748} pjsua_callback; 
    17381749 
Note: See TracChangeset for help on using the changeset viewer.