Sony's Developer World forum

    • Home
    • Forum guidelines

    HDMI output selection (A, B, A+B)?

    Audio Control API
    api str-dn1080 audio control
    2
    8
    6792
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grolschie last edited by

      Hi @david

      Some hints please about replicating the HDMI Out button on the IR remote, i.e. [HDMI A], [HDMI B], [HDMI A+B].

      Is this possible please? I don't see these outputs listed on the device URI page. Thanks in advance.

      1 Reply Last reply Reply Quote
      • D
        david DeveloperWorld last edited by

        @grolschie I have never played with this and don't know if this does what you asking for and I don't have a receiver at home so I can't test.
        But I think this is done by the undocumented function avContent setExternalOutputsSettings value off, hdmiA, hdmiB or hdmiA_B

        {
            "method": "setExternalOutputsSettings",
            "id": 67,
            "params": [{"settings": [{
                "value": "hdmiA",
                "target": "hdmiOutput"
            }]}],
            "version": "1.0"
        }
        
        G 1 Reply Last reply Reply Quote
        • G
          grolschie @david last edited by

          @david thank you so much!

          1 Reply Last reply Reply Quote
          • G
            grolschie last edited by

            @david

            update: No go. I'm getting error 12, so I'm presuming this feature is not implemented on the STR-DN1080. It's also not shown as a result of getMethodTypes() for the avContent library on the STR-DN1080 or the STR-DN1060.

            1 Reply Last reply Reply Quote
            • D
              david DeveloperWorld last edited by

              Sorry @grolschie, should have noted that this function was only for soundbar not STR...

              The only other function I can see that it could be is avContent setPlaybackPresetSettings and getPlaybackPresetSettings but the documentation I got about what this function does is not very clear, and it looks like it only works for DN1070 and DN1080.

              {
                  "method": "getPlaybackPresetSettings",
                  "id": 34,
                  "params": [{
                      "target": "hdmiOutput",
                      "scene": "movie"
                  }],
                  "version": "1.0"
              }
              
              {
                  "method": "setPlaybackPresetSettings",
                  "id": 0,
                  "params": [{"settings": [{
                      "value": "hdmiA",
                      "enabled": "true",
                      "target": "hdmiOutput",
                      "scene": "music"
                  }]}],
                  "version": "1.0"
              }
              

              value same as previous and "scene" one of "movie", "music", "party", "night" or ""

              1 Reply Last reply Reply Quote
              • G
                grolschie last edited by

                Hi @david.

                Thanks for that. Both those give error 12 as well on the STR-DN1080, which means "No Such Method".

                1 Reply Last reply Reply Quote
                • D
                  david DeveloperWorld last edited by

                  @grolschie then I don't think there is a way to control the hdmi output selection from the API.

                  1 Reply Last reply Reply Quote
                  • G
                    grolschie last edited by

                    @david ok, thanks anyway for your quick responses. Much appreciated.

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post
                    Developer World
                    Copyright © 2021 Sony Group Corporation. All rights reserved.
                    • Contact us
                    • Legal