Confirmed users
220
edits
| Line 15: | Line 15: | ||
== Proposed API == | == Proposed API == | ||
=== Basic interface === | |||
enum InputPortTypeEnum { “hdmi”, “av”, “dvi” }; | |||
interface InputPort { | |||
readonly attribute DOMString name; | |||
readonly attribute DOMString uuid; | |||
readonly attribute InputPortTypeEnum type; | |||
readonly attribute MediaStream stream; | |||
attribute EventHandler onconnect; | |||
attribute EventHandler ondisconnect; | |||
}; | |||
== Examples == | == Examples == | ||