Bug 202631 - MediaStreamTrack should be a PlatformMediaSessionClient instead of MediaStream
Summary: MediaStreamTrack should be a PlatformMediaSessionClient instead of MediaStream
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-10-07 04:58 PDT by youenn fablet
Modified: 2019-10-08 12:55 PDT (History)
17 users (show)

See Also:


Attachments
Patch (18.70 KB, patch)
2019-10-07 06:23 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (21.71 KB, patch)
2019-10-08 07:08 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (19.80 KB, patch)
2019-10-08 08:01 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2019-10-07 04:58:46 PDT
A MediaStreamTrack can be removed from any MediaStream and still used as part of a RTCPeerConnection.
Capture MediaStreamTrack should therefore be PlatformMediaSessionClient instead of MediaStream.
Comment 1 youenn fablet 2019-10-07 06:23:29 PDT
Created attachment 380318 [details]
Patch
Comment 2 youenn fablet 2019-10-08 07:08:46 PDT
Created attachment 380427 [details]
Patch
Comment 3 youenn fablet 2019-10-08 08:01:55 PDT
Created attachment 380429 [details]
Patch
Comment 4 youenn fablet 2019-10-08 11:42:35 PDT
Comment on attachment 380429 [details]
Patch

API test error seems unrelated.
Comment 5 WebKit Commit Bot 2019-10-08 12:54:04 PDT
Comment on attachment 380429 [details]
Patch

Clearing flags on attachment: 380429

Committed r250853: <https://trac.webkit.org/changeset/250853>
Comment 6 WebKit Commit Bot 2019-10-08 12:54:06 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2019-10-08 12:55:17 PDT
<rdar://problem/56084933>