User:Shellylin/InputPort: Difference between revisions

Line 10: Line 10:
* Enumerate available input ports on the current device. Supported types of input ports include A/V, VGA and HDMI.
* Enumerate available input ports on the current device. Supported types of input ports include A/V, VGA and HDMI.
* Retrieve media content from an input port, provided by its source provider. Presented as a MediaStream object.
* Retrieve media content from an input port, provided by its source provider. Presented as a MediaStream object.
* Read and write the attributes of a selected input port.
* Support hot-plug detection on each input port.
** Examples of input port attributes: frame rate, color system, aspect ratio...etc.
* <s>Read and write the attributes of a selected input port.</s> (* Such attributes are mostly hardware dependent, as a result, we are not going to cover specific input port attributes in this API.)
* Support hotplug detection on each input port.
** Examples of input port attributes: frame rate, colour system, aspect ratio...etc.


== Proposed API ==
== Proposed API ==
Confirmed users
220

edits