• Travis Cross's avatar
    Check for too many SRTP errors before warning · c1f1f8b9
    Travis Cross 提交于
    We're checking whether we've hit the warning threshold before checking
    whether we should just end the call.  This causes an off-by-one error
    where we take one SRTP error more than intended.
    
    This commit reverses the order of the tests.
    c1f1f8b9
switch_rtp.c 214.8 KB