Closed
Bug 1446864
Opened 6 years ago
Closed 6 years ago
requestFrame is a method of CanvasCaptureMediaStreamTrack
Categories
(Developer Documentation Graveyard :: API: WebRTC, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: guest271314, Assigned: sheppy)
References
()
Details
:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details The specification https://w3c.github.io/mediacapture-fromelement/#dom-canvascapturemediastreamtrack-requestframe states that requestFrame is a method of CanvasCaptureMediaStreamTrack. The current documentation at MDN https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStream/requestFrame describes requestFrame as a method of MediaStream. The example should be stream.getVideoTracks()[0].requestFrame(); instead of stream.requestFrame();
Reporter | ||
Comment 1•6 years ago
|
||
Firefox 60 "requestFrame" in canvasStream // true "requestFrame" in canvasStream.getVideoTracks()[0] // false Chromium 64 "requestFrame" in canvasStream // false "requestFrame" in canvasStream.getVideoTracks()[0] // true
Reporter | ||
Comment 2•6 years ago
|
||
Include note that at Firefox requestFrame() is a method of CanvasCaptureMediaStream, at Chromium/Chrome requestFrame() is a method of CanvasCaptureMediaStreamTrack.
Updated•6 years ago
|
Assignee: nobody → eshepherd
Assignee | ||
Comment 3•6 years ago
|
||
This is now fixed, along with some other improvements being made.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•6 years ago
|
||
OK, actually, the real problem is that this entire interface is currently documented as CanvasCaptureMediaStream rather than CanvasCaptureMediaStreamTrack.
Assignee | ||
Updated•6 years ago
|
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Assignee | ||
Comment 5•6 years ago
|
||
OK, doing another pass to fix the names of this interface. Pages updated (ones formerly under CanvasCaptureMediaStream have moved to be CanvasCaptureMediaStreamTrack): https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame (Most updates include other improvements beyond just renames of the interface)
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Comment 6•6 years ago
|
||
Please don't just break the compat table! https://github.com/mdn/browser-compat-data/blob/master/api/CanvasCaptureMediaStream.json needs updating as well in this case.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•6 years ago
|
||
Submitted https://github.com/mdn/browser-compat-data/pull/2372 to update BCD. Sorry about that!
Assignee | ||
Updated•6 years ago
|
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•5 years ago
|
||
Is this really fixed?
At Firefox 65 requestFrame is still a method of CanvasCaptureMediaStream not MediaStreamTrack per the specification https://w3c.github.io/mediacapture-fromelement/#dom-canvascapturemediastreamtrack-requestframe
You need to log in
before you can comment on or make changes to this bug.
Description
•