Changeset 2896 for pjproject/trunk


Ignore:
Timestamp:
Aug 17, 2009 6:55:13 PM (15 years ago)
Author:
bennylp
Message:

More ticket #833:

  • special treatment in ICE media transport, since Session Timer refresh when sending re-INVITE doesn't call transport_encode_sdp(), causing the ICE media transport to mistakenly think that it's role is UAS hence it will disable current ICE session
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c

    r2506 r2896  
    12741274    } 
    12751275 
     1276    /* Special case for Session Timer. The re-INVITE for session refresh 
     1277     * doesn't call transport_encode_sdp(), causing current_oa_role to 
     1278     * be set to ROLE_NONE. This is a workaround. 
     1279     */ 
     1280    if (current_oa_role == ROLE_NONE) { 
     1281        current_oa_role = ROLE_OFFERER; 
     1282    } 
     1283 
    12761284    /* Processing depends on the offer/answer role */ 
    12771285    if (current_oa_role == ROLE_OFFERER) { 
Note: See TracChangeset for help on using the changeset viewer.