RESOLVED FIXED204570
Simplify RealtimeOutgoingAudioSource and RealtimeOutgoingVideooSource observeSource/unobserveSource pattern
https://bugs.webkit.org/show_bug.cgi?id=204570
Summary Simplify RealtimeOutgoingAudioSource and RealtimeOutgoingVideooSource observe...
youenn fablet
Reported 2019-11-25 02:14:43 PST
Simplify RealtimeOutgoingAudioSource and RealtimeOutgoingVideooSource observeSource/unobserveSource pattern. Currently, this is handled when adding/removing sinks and also when stopping libwebrtc backends. We hit RealtimeOutgoingVideoSource::~RealtimeOutgoingVideoSource() assertions as shown in tests.
Attachments
Patch (19.83 KB, patch)
2019-11-25 04:33 PST, youenn fablet
no flags
Patch (27.09 KB, patch)
2019-11-25 07:43 PST, youenn fablet
no flags
Patch (20.53 KB, patch)
2019-11-25 07:44 PST, youenn fablet
no flags
Patch (20.62 KB, patch)
2019-12-02 07:59 PST, youenn fablet
no flags
youenn fablet
Comment 1 2019-11-25 04:33:51 PST
youenn fablet
Comment 2 2019-11-25 04:34:47 PST
youenn fablet
Comment 3 2019-11-25 07:43:02 PST
youenn fablet
Comment 4 2019-11-25 07:44:45 PST
youenn fablet
Comment 5 2019-12-02 07:14:17 PST
Ping review
Eric Carlson
Comment 6 2019-12-02 07:33:27 PST
Comment on attachment 384298 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384298&action=review > Source/WebCore/ChangeLog:9 > + We made LibWebRTCRTCRtpSenderBackend ending the observing in its destructor. Nit: s/ending the observing/stop observing/ > Source/WebCore/platform/mediastream/RealtimeOutgoingAudioSource.cpp:49 > +#ifndef NDEBUG "#if !ASSERT_DISABLED" might be better here. > Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.cpp:60 > +#ifndef NDEBUG Ditto.
youenn fablet
Comment 7 2019-12-02 07:59:48 PST
WebKit Commit Bot
Comment 8 2019-12-02 09:26:37 PST
Comment on attachment 384622 [details] Patch Clearing flags on attachment: 384622 Committed r252987: <https://trac.webkit.org/changeset/252987>
WebKit Commit Bot
Comment 9 2019-12-02 09:26:38 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.