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.
A captureStream MediaStreamTrack should be transferrable and can be created in not secure contexts.
I think option 1 is what the spec currently implies as well.
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?
@alvestrand