Open tidoust opened 7 years ago
I have added the getSupportedConstraints method in the latest editor's draft.
I wasn't sure whether the height and tuningStep properties should be long (identifying the maximum) or constrainLong (identifying the supported range). I'll look into this some more.
Section 6.5 defines the
TVSourceSupportedConstraints
dictionary but that dictionary is not used anywhere.The
TVManager
interface should have agetSupportedConstraints
method that returns such an object.Now, adding that method would mean we'd have a
getSupportedConstraints
and agetCapabilities
methods on the same interface (that does not happen in Media Capture and Streams asgetSupportedConstraints
is onMediaDevices
whilegetCapabilities
is onInputDeviceInfo
). We may need to think about whether we need both of them.Also, the
height
andtuningStep
properties of theTVSourceCapabilities
dictionary should be of typeConstrainLong
, I believe.(This issue was triggered by #50).