Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The getTracks()
method of the MediaStream
interface returns a sequence that represents all the MediaStreamTrack
objects in this stream's track set
, regardless of MediaStreamTrack.kind
.