webrtc/ortc
Niels Möller 0f405825c7 New class FakePeriodicVideoTrackSource, simplifying shutdown logic.
Previous code had a FakePeriodicVideoSource and a
VideoTrackSource, where the latter is reference counted and
outlives the former. That results in potential races when
RemoveSink is called on the VideoTrackSource after the
FakePeriodicVideoSource is destroyed, with a complicated sequence
to do correct shutdown.

The new class, FakePeriodicVideoTrackSource, owns a
FakePeriodicVideoSource, and they get the same lifetime.

Bug: webrtc:6353
Change-Id: Ic33b393e00a31fa28893dce2018948d3f90e0a9e
Reviewed-on: https://webrtc-review.googlesource.com/76961
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23320}
2018-05-21 10:27:55 +00:00
..
BUILD.gn Fix build errors when rtc_use_builtin_sw_codecs is set to false. 2018-05-14 13:24:29 +00:00
DEPS Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ortcfactory.cc Fix build errors when rtc_use_builtin_sw_codecs is set to false. 2018-05-14 13:24:29 +00:00
ortcfactory.h Delete ortc methods using cricket::VideoCapturer. 2018-03-22 08:55:24 +00:00
ortcfactory_integrationtest.cc New class FakePeriodicVideoTrackSource, simplifying shutdown logic. 2018-05-21 10:27:55 +00:00
ortcfactory_unittest.cc OrtcFactoryInterface::Create(): Require caller to supply audio codec factories 2017-11-11 14:45:17 +00:00
ortcrtpreceiver_unittest.cc OrtcFactoryInterface::Create(): Require caller to supply audio codec factories 2017-11-11 14:45:17 +00:00
ortcrtpreceiveradapter.cc Reland "Update RTCStatsCollector to work with RtpTransceivers" 2018-02-17 00:01:39 +00:00
ortcrtpreceiveradapter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ortcrtpsender_unittest.cc OrtcFactoryInterface::Create(): Require caller to supply audio codec factories 2017-11-11 14:45:17 +00:00
ortcrtpsenderadapter.cc Reland "Update RTCStatsCollector to work with RtpTransceivers" 2018-02-17 00:01:39 +00:00
ortcrtpsenderadapter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Add pthatcher@ as OWNER of ortc/ 2017-11-10 18:18:55 +00:00
rtpparametersconversion.cc Remove rtc::Optional::MoveValue 2018-03-28 11:58:06 +00:00
rtpparametersconversion.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtpparametersconversion_unittest.cc Optional: Use nullopt and implicit construction in /ortc 2017-11-24 11:17:39 +00:00
rtptransport_unittest.cc OrtcFactoryInterface::Create(): Require caller to supply audio codec factories 2017-11-11 14:45:17 +00:00
rtptransportadapter.cc Replace BundleFilter with RtpDemuxer in RtpTransport. 2018-04-14 00:57:11 +00:00
rtptransportadapter.h Replace BundleFilter with RtpDemuxer in RtpTransport. 2018-04-14 00:57:11 +00:00
rtptransportcontroller_unittest.cc Use new TransportController implementation in PeerConnection. 2018-03-30 18:41:19 +00:00
rtptransportcontrolleradapter.cc Allows injection of network controller factory into peer connection factory. 2018-05-18 17:07:16 +00:00
rtptransportcontrolleradapter.h Use new TransportController implementation in PeerConnection. 2018-03-30 18:41:19 +00:00
srtptransport_unittest.cc Use new TransportController implementation in PeerConnection. 2018-03-30 18:41:19 +00:00
testrtpparameters.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
testrtpparameters.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00