use canvas.captureStream to create a video track, and the cloned track will not keep the property such as enabled compared with original track.
Created attachment 350920 [details]
Comment on attachment 350920 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=350920&action=review
Can you provide more information about changes?
For instance describe what was the issue.
> + static Ref<CanvasCaptureMediaStreamTrack> create(ScriptExecutionContext&, Ref<HTMLCanvasElement>&&, Ref<MediaStreamTrackPrivate>&& privateTrack);
It might be good to not define this create() method and directly call adoptRef(*new ...) in CanvasCaptureMediaStreamTrack::clone().
Created attachment 350927 [details]
Comment on attachment 350927 [details]
Clearing flags on attachment: 350927
Committed r236536: <https://trac.webkit.org/changeset/236536>
All reviewed patches have been landed. Closing bug.