Bug 237704

Summary: Share more code between RemoteRealtimeAudioSource and RemoteRealtimeVideoSource
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, hta, jer.noble, philipj, sergio, tommyw, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 237316    
Bug Blocks: 238449    
Attachments:
Description Flags
WIP
none
Patch
none
Patch none

youenn fablet
Reported 2022-03-10 04:14:26 PST
Share more code between RemoteRealtimeAudioSource and RemoteRealtimeVideoSource
Attachments
WIP (35.85 KB, patch)
2022-03-10 04:26 PST, youenn fablet
no flags
Patch (41.20 KB, patch)
2022-03-28 05:25 PDT, youenn fablet
no flags
Patch (42.02 KB, patch)
2022-03-28 07:21 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2022-03-10 04:26:33 PST
Radar WebKit Bug Importer
Comment 2 2022-03-17 05:15:18 PDT
youenn fablet
Comment 3 2022-03-28 05:25:48 PDT
Eric Carlson
Comment 4 2022-03-28 06:54:45 PDT
Comment on attachment 455904 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455904&action=review > Source/WebCore/ChangeLog:9 > + The remove video source is now correctly exposing whether it is camera, screen... s/remove/remote/ > Source/WebKit/WebProcess/cocoa/RemoteRealtimeMediaSource.cpp:81 > + fprintf(stderr, "RemoteRealtimeMediaSource::createRemoteMediaSource %p %d \n", this, (int) settings.width()); Don't forget to remove this > Source/WebKit/WebProcess/cocoa/RemoteRealtimeMediaSource.cpp:107 > + fprintf(stderr, "RemoteRealtimeMediaSource::setSettings1 %p %d \n", this, (int) m_settings.width()); Ditto > Source/WebKit/WebProcess/cocoa/RemoteRealtimeMediaSource.cpp:110 > + fprintf(stderr, "RemoteRealtimeMediaSource::setSettings2 %p %d \n", this, (int) m_settings.width()); Ditto > Source/WebKit/WebProcess/cocoa/RemoteRealtimeMediaSource.cpp:120 > +void RemoteRealtimeMediaSource::hasEnded() We should change this name, `hasEnded` sounds like it is a getter. Maybe `didEnd` would be better?
youenn fablet
Comment 5 2022-03-28 07:21:11 PDT
EWS
Comment 6 2022-03-28 09:25:22 PDT
Committed r291967 (248932@main): <https://commits.webkit.org/248932@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455916 [details].
Note You need to log in before you can comment on or make changes to this bug.