Confirmed users
220
edits
Line 23: | Line 23: | ||
readonly attribute InputPortTypeEnum type; | readonly attribute InputPortTypeEnum type; | ||
readonly attribute MediaStream stream; | readonly attribute MediaStream stream; | ||
readonly attribute DOMString resolution; | |||
readonly attribute DOMString aspect; | |||
attribute EventHandler onconnect; | attribute EventHandler onconnect; | ||
attribute EventHandler ondisconnect; | attribute EventHandler ondisconnect; | ||
}; | }; | ||
'''name''' of type DOMString, readonly<br /> | |||
The name of this input port, e.g. "HDMI1", "HDMI2". | |||
'''type''' of type InputPortTypeEnum, readonly<br /> | |||
The type of this input port, e.g. "av", "displaypoty". | |||
'''stream''' of type MediaStream, readonly<br /> | |||
The stream represents the media content provided by this input port. | |||
'''resolution''' of type DOMString, readonly<br /> | |||
The video resolution of this inport, e.g. 480i, 1080p, VGA. | |||
=== Specific Port Interfaces === | === Specific Port Interfaces === |