Ignore:
Timestamp:
Dec 4, 2018 2:16:47 AM (6 years ago)
Author:
ming
Message:

Fixed #2165: Support video only call in pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.c

    r5842 r5918  
    7878 
    7979    call = &pjsua_var.calls[call_id]; 
    80     port_id = call->media[call->audio_idx].strm.a.conf_slot; 
     80    if (call->audio_idx >= 0) 
     81        port_id = call->media[call->audio_idx].strm.a.conf_slot; 
    8182 
    8283on_return: 
Note: See TracChangeset for help on using the changeset viewer.