RESOLVED FIXED 221200
Only update IPC connection of RemoteCaptureSampleManager for audio sources
https://bugs.webkit.org/show_bug.cgi?id=221200
Summary Only update IPC connection of RemoteCaptureSampleManager for audio sources
youenn fablet
Reported 2021-02-01 05:17:24 PST
Only update IPC connection of RemoteCaptureSampleManager for audio sources
Attachments
Patch (1.59 KB, patch)
2021-02-01 05:18 PST, youenn fablet
no flags
Patch for landing (2.79 KB, patch)
2021-02-02 02:06 PST, youenn fablet
no flags
youenn fablet
Comment 1 2021-02-01 05:18:49 PST
Eric Carlson
Comment 2 2021-02-01 09:13:08 PST
Comment on attachment 418861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418861&action=review > Source/WebKit/WebProcess/cocoa/UserMediaCaptureManager.cpp:201 > void UserMediaCaptureManager::didUpdateSourceConnection(RemoteRealtimeMediaSource& source) > { > - m_remoteCaptureSampleManager.didUpdateSourceConnection(source); > + if (source.type() == RealtimeMediaSource::Type::Audio) > + m_remoteCaptureSampleManager.didUpdateSourceConnection(source); > } It isn't clear why this should be for audio only. Should the method be renamed, or at least add a comment explaining why this is?
youenn fablet
Comment 3 2021-02-02 02:03:33 PST
Comment on attachment 418861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418861&action=review >> Source/WebKit/WebProcess/cocoa/UserMediaCaptureManager.cpp:201 >> } > > It isn't clear why this should be for audio only. Should the method be renamed, or at least add a comment explaining why this is? Right, let's rename m_remoteCaptureSampleManager to m_remoteAudioCaptureSampleManager.
youenn fablet
Comment 4 2021-02-02 02:06:01 PST
Created attachment 418974 [details] Patch for landing
EWS
Comment 5 2021-02-02 02:56:23 PST
commit-queue failed to commit attachment 418974 [details] to WebKit repository.
EWS
Comment 6 2021-02-02 03:12:02 PST
commit-queue failed to commit attachment 418974 [details] to WebKit repository.
EWS
Comment 7 2021-02-02 04:12:10 PST
Committed r272205: <https://trac.webkit.org/changeset/272205> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418974 [details].
Radar WebKit Bug Importer
Comment 8 2021-02-02 04:13:13 PST
Note You need to log in before you can comment on or make changes to this bug.