w3c / mediacapture-handle

https://w3c.github.io/mediacapture-handle/
Other
14 stars 10 forks source link

Tab capture restriction #43

Closed aboba closed 2 years ago

aboba commented 2 years ago

The Abstract says "It describes a mechanism for tab capture only."

However, Section 5.2 says:

"If the track in question is not a video track, or is not the result of a capture of a display surface, then the user agent MUST return null."

This seems to allow a CaptureHandle to be returned in scenarios other than tab capture.

eladalon1983 commented 2 years ago

Thanks for catching. PR up for review.