Search Unity

Question unity and hdmi-cec

Discussion in 'Virtual Production' started by casvl, May 6, 2020.

  1. casvl

    casvl

    Joined:
    May 6, 2020
    Posts:
    5
    Hey everybody.
    We are using Unity combined with Resolume for visuals on a tv-wall in a museum. Our project requires us to turn on/off/switch channel several tv's on given unity triggers. So my question is: Is there any way to send HDMI-CEC commands directly from Unity, or the ability to run a bash/python script from your application?
     
  2. Novacane89

    Novacane89

    Joined:
    May 3, 2013
    Posts:
    15
    Hello,

    I do not know HDMI-CEC commands but if i understand correctly those commands are just string commands written according to a specific syntax. So if you know what string you want to send you could use a TCP client to send commands to the application host ip and port number. Just need to know the syntax. I use tcp listeners on my unity projects and control animations on them from a C# control panel sending TCP commands.

    Hope I understood you right and this might be of some use.

    Cheers