content icon indicating copy to clipboard operation
content copied to clipboard

Unclear example of MediaStream: getTrackById() method

Open Akindin opened this issue 1 year ago • 0 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTrackById

What specific section or headline is this issue about?

Example

What information was incorrect, unhelpful, or incomplete?

Example doesn't explain how it can be used and what is the meaning of those magic strings. It is stated that this example enables commentary track, but as I know it uses TextTrack interface, not MediaStreamTrack

What did you expect to see?

Example that explains what is going on in it

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
  • Folder: en-us/web/api/mediastream/gettrackbyid
  • MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/MediaStream/getTrackById
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/mediastream/gettrackbyid/index.md
  • Last commit: https://github.com/mdn/content/commit/ac67e6f05d337e52e39f02a978b8c00bc43d583b
  • Document last modified: 2023-12-25T07:08:46.000Z

Akindin avatar Apr 29 '24 11:04 Akindin