Ignore:
Timestamp:
Dec 13, 2018 6:57:23 AM (6 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/src/pjsua-lib/pjsua_aud.c

    r5920 r5923  
    19491949 
    19501950    /* Subscribe to audio device events */ 
    1951     pjmedia_event_subscribe(NULL, &call_media_on_event, NULL, 
     1951    pjmedia_event_subscribe(NULL, &on_media_event, NULL, 
    19521952                    pjmedia_snd_port_get_snd_stream(pjsua_var.snd_port)); 
    19531953 
     
    19901990 
    19911991        /* Unsubscribe from audio device events */ 
    1992         pjmedia_event_unsubscribe(NULL, &call_media_on_event, NULL, strm); 
     1992        pjmedia_event_unsubscribe(NULL, &on_media_event, NULL, strm); 
    19931993 
    19941994        pjmedia_snd_port_disconnect(pjsua_var.snd_port); 
Note: See TracChangeset for help on using the changeset viewer.