capabilities
Summary
Returns a dictionary with all of the capabilities for the track type.
Method of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack
Syntax
var = track.capabilities();
Return Value
Returns an object of type
If the track type is VideoStreamTrack, the AllVideoCapabilities dictionary is returned. If the track type is AudioStreamTrack, the AllAudioCapabilities dictionary is returned.