• Henrik Boström's avatar
    Keep track of SDP semantics, not including kDefault. · 1e8ff9d4
    Henrik Boström authored
    SDP semantics can be passed in to the PC as kPlanB, kUnifiedPlan or
    kDefault.
    
    This CL does the translation from kDefault to kPlanB (default) or
    kUnifiedPlan (if a flag is used to overwrite the default) at
    construction once and for all. This eliminates assumptions about what
    kDefault may mean in different parts of the code or layers.
    
    RTCPeerConnectionHandler is also updated to keep track of the SDP
    semantics. Also passes down "sdp_semantics_requested" for the sake of
    UMA counters which is the exception where we do care if "kDefault" was
    used or not by the application.
    
    This CL also updates some Plan B-only methods to DCHECK SDP semantics
    or renames them to "...PlanB()".
    
    // Bots have already been successful, skipping remaining bot which is
    // inactive.
    NOTRY=True
    
    Bug: 777617
    Change-Id: If88017360fa577297796bac4faf4e7bc56bd99d0
    Reviewed-on: https://chromium-review.googlesource.com/1141880
    Commit-Queue: Henrik Boström <hbos@chromium.org>
    Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#576171}
    1e8ff9d4
rtc_peer_connection_handler.cc 78.7 KB