• Nicolas Dufresne's avatar
    rtpssrcdemux: Avoid taking streamlock out-of-band · f7c712d0
    Nicolas Dufresne authored
    In this change we now protect the internal srcpads list using the
    stream lock and limit usage of the internal stream lock to
    preventing data flowing on the other src pad type while creating
    and signalling the new pad.
    
    This fixes a deadlock with RTPBin shutdown lock. These two locks would
    end up being taken in two different order, which caused a deadlock. More
    generally, we should not rely on a streamlock when handling out-of-band
    data, so as a side effect, we should not take a stream lock when
    iterating internal links.
    f7c712d0
Name
Last commit
Last update
..
Makefile.am Loading commit data...
gstrtpbin.c Loading commit data...
gstrtpbin.h Loading commit data...
gstrtpdtmfmux.c Loading commit data...
gstrtpdtmfmux.h Loading commit data...
gstrtpfunnel.c Loading commit data...
gstrtpfunnel.h Loading commit data...
gstrtpjitterbuffer.c Loading commit data...
gstrtpjitterbuffer.h Loading commit data...
gstrtpmanager.c Loading commit data...
gstrtpmux.c Loading commit data...
gstrtpmux.h Loading commit data...
gstrtpptdemux.c Loading commit data...
gstrtpptdemux.h Loading commit data...
gstrtprtxqueue.c Loading commit data...
gstrtprtxqueue.h Loading commit data...
gstrtprtxreceive.c Loading commit data...
gstrtprtxreceive.h Loading commit data...
gstrtprtxsend.c Loading commit data...
gstrtprtxsend.h Loading commit data...
gstrtpsession.c Loading commit data...
gstrtpsession.h Loading commit data...
gstrtpssrcdemux.c Loading commit data...
gstrtpssrcdemux.h Loading commit data...
meson.build Loading commit data...
rtpjitterbuffer.c Loading commit data...
rtpjitterbuffer.h Loading commit data...
rtpsession.c Loading commit data...
rtpsession.h Loading commit data...
rtpsource.c Loading commit data...
rtpsource.h Loading commit data...
rtpstats.c Loading commit data...
rtpstats.h Loading commit data...