WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204570
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
Details
Formatted Diff
Diff
Patch
(27.09 KB, patch)
2019-11-25 07:43 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(20.53 KB, patch)
2019-11-25 07:44 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(20.62 KB, patch)
2019-12-02 07:59 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2019-11-25 04:33:51 PST
Created
attachment 384289
[details]
Patch
youenn fablet
Comment 2
2019-11-25 04:34:47 PST
<
rdar://problem/57458345
>
youenn fablet
Comment 3
2019-11-25 07:43:02 PST
Created
attachment 384297
[details]
Patch
youenn fablet
Comment 4
2019-11-25 07:44:45 PST
Created
attachment 384298
[details]
Patch
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
Created
attachment 384622
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug