Implement spec-compliant `HTMLMediaElement`.captureStream
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | affected |
People
(Reporter: padenot, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: dev-doc-needed)
We have old and incorrect (per-spec) mozCaptureStream
and mozCaptureStreamUntilEnded
, that we should adjust and rename to be spec-compliant.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•5 years ago
|
||
Fixing title because captureStreamUntilEnded
was removed from the spec, since it is trivial to emulate with
video.onended = () => track.stop();
Comment 3•5 years ago
|
||
(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #2)
Fixing title because
captureStreamUntilEnded
was removed from the spec, since it is trivial to emulate withvideo.onended = () => track.stop();
Well, if the video element ended, there wouldn't be any live track left to stop. If you wanted to cancel the capturing you could probably do something with GC of the MediaStream that was returned from captureStream.
I think the safest way to emulate captureStreamUntilEnded would be to stop using the captured media element and replace it with a pristine one.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•