mediacapture-extensions
mediacapture-extensions copied to clipboard
MediaStreamTrack transfer requires secure context?
Many APIs providing a MediaStreamTrack are limited by SecureContext in WebIDL, such as enumerateDevices, getUserMedia, and getDisplayMedia. Other APIs do not require a SecureContext, e.g. captureStream.
Which of the following is the correct restriction for transferring a MediaStreamTrack?
- Any track can be transferred, regardless of whether the origin and/or destination contexts are secure. (This is how I interpret the current wording.)
- Transfer fails if either the origin or destination contexts are not secure.
- If the origin context is secure, transfer fails if the destination context is not secure.
- Something else?
@alvestrand