User:Shellylin/InputPort: Difference between revisions

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 ==
Confirmed users
220

edits