• Matthew Waters's avatar
    webrtc: fix the location of signalling-state change notification · 95488812
    Matthew Waters authored
    1. The spec indicates that the notification should occur near the end of
       'setting the description' processing
    2. The current location with the drop of the lock could cause the 'check
       if negotiation is needed' logic to execute and become confused about
       the state of the webrtcbin's current local descriptions.
       In the bad case, the following assertions could be hit:
       g_assert (trans->mline < gst_sdp_message_medias_len (webrtc->current_local_description->sdp));
       g_assert (trans->mline < gst_sdp_message_medias_len (webrtc->current_remote_description->sdp));
    
    Moving the signalling state change later in the set description task
    means that checking for a renegotiation will early abort as the
    signalling state is not STABLE before the session description and
    transceivers have been updated.
    95488812
Name
Last commit
Last update
..
Makefile.am Loading commit data...
fwd.h Loading commit data...
gstwebrtc.c Loading commit data...
gstwebrtcbin.c Loading commit data...
gstwebrtcbin.h Loading commit data...
gstwebrtcice.c Loading commit data...
gstwebrtcice.h Loading commit data...
gstwebrtcstats.c Loading commit data...
gstwebrtcstats.h Loading commit data...
icestream.c Loading commit data...
icestream.h Loading commit data...
meson.build Loading commit data...
nicetransport.c Loading commit data...
nicetransport.h Loading commit data...
sctptransport.c Loading commit data...
sctptransport.h Loading commit data...
transportreceivebin.c Loading commit data...
transportreceivebin.h Loading commit data...
transportsendbin.c Loading commit data...
transportsendbin.h Loading commit data...
transportstream.c Loading commit data...
transportstream.h Loading commit data...
utils.c Loading commit data...
utils.h Loading commit data...
webrtcdatachannel.c Loading commit data...
webrtcdatachannel.h Loading commit data...
webrtcsdp.c Loading commit data...
webrtcsdp.h Loading commit data...
webrtctransceiver.c Loading commit data...
webrtctransceiver.h Loading commit data...