Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.HdmiInput.1.readEDID"}
 
Response: {"jsonrpc":"2.0","id":3,"result":{"name":"HdmiInputEDIDStub","success":true}}


setVideoRectangle (v1)

Description: Sets Hdmi Input video window

Arguments

  • x: int - The x-coordinate of the video rectangle.
  • y: int - The y-coordinate of the video rectangle.
  • w: int - The width of the video rectangle.
  • h: int - The height of the video rectangle.

Returns: 

  • success : bool - result of setting Hdmi Input  video window

Request : {"jsonrpc":"2.0","id":"3","method": "org.rdk.HdmiInput.1.setVideoRectangle", "params":{"x":"0","y":"0","w":"1920","h":"1080"}}
 
Response: {"jsonrpc":"2.0","id":3,"result":{"success":true}}

Events

onDevicesChanged

Description: event fired whenever new HDMI device is connected to HDMI input.

...