Skip to content

Commit 7593879

Browse files
authored
HTMLMediaElement.captureStream - add notes (#29165)
1 parent 7c1153a commit 7593879

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

api/HTMLMediaElement.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,19 @@
495495
},
496496
{
497497
"prefix": "moz",
498-
"version_added": "15"
498+
"version_added": "149"
499+
},
500+
{
501+
"prefix": "moz",
502+
"version_added": "15",
503+
"version_removed": "149",
504+
"partial_implementation": true,
505+
"notes": [
506+
"From Firefox 51, if the source changes from a `MediaStream` after capture starts, the captured stream data cannot be updated until you switch the source back to a `MediaStream`.",
507+
"From Firefox 51, if `mozCaptureMediaStream()` is called on a media element with a `MediaStream` source, the returned object only contains tracks while the element is playing a `MediaStream`.",
508+
"From Firefox 51, if `mozCaptureMediaStream()` is called on a media element with no source media, its compatibility mode is be based on the first source that's added; and the stream will only work with that kind of stream from then on.",
509+
"Before Firefox 51, `mozCaptureMediaStream()` could not be used on a media element whose source is itself a `MediaStream` (such as a `<video>` element presenting a stream being received over an `RTCPeerConnection`)."
510+
]
499511
}
500512
],
501513
"firefox_android": "mirror",

0 commit comments

Comments
 (0)