[jitsi-users] Videobridge - REST - Update payload types of channel


#1

Hi,

when trying to update payload types over rest api on videobridge with
following JSON:
PATCH /colibri/conferences/ff83341ed3a0f630
{
    "contents" :
    [
        {
            "name" : "audio",
            "channels" : [
                {
                    "id" : "a7d9e8809cd5cebd",
                    "payload-types" : [
                        {
                            "id" : 110,
                            "name" : "opus",
                            "clockrate" : 48000,
                            "channels" : 2
                        }
                    ]
                }
            ]

        }
    ],
    "id" : "ff83341ed3a0f630"
}

nothing happens. I get confirmation with 200 OK and returned JSON is full
representation of updated channel but no payload entries.
Shouldn't data be provided in response confirming that payload is added
(contained in JSON response)

Just for extra info this is response:
{
  "contents": [
    {
      "channels": [
        {
          "sources": [
            1965505405
          ],
          "rtp-level-relay-type": "translator",
          "expire": 120,
          "initiator": true,
          "id": "a7d9e8809cd5cebd",
          "transport": {
            "candidates": [
              {
                "generation": 0,
                "component": 1,
                "protocol": "udp",
                "port": 10020,
                "ip": "2001:0:5ef5:79fd:2c71:b5a:a65b:ed62",
                "foundation": "1",
                "id": "ff83341ed3a0f630f92c114210b4e3202047cbe2",
                "priority": 2130706431,
                "type": "host",
                "network": 0
              },
              {
                "generation": 0,
                "component": 1,
                "protocol": "udp",
                "port": 10020,
                "ip": "192.168.5.199",
                "foundation": "2",
                "id": "ff83341ed3a0f630f92c114210b4e32027956540",
                "priority": 2130706431,
                "type": "host",
                "network": 0
              },
              {
                "generation": 0,
                "component": 2,
                "protocol": "udp",
                "port": 10021,
                "ip": "2001:0:5ef5:79fd:2c71:b5a:a65b:ed62",
                "foundation": "1",
                "id": "ff83341ed3a0f630f92c114210b4e320418eefa1",
                "priority": 2130706430,
                "type": "host",
                "network": 0
              },
              {
                "generation": 0,
                "component": 2,
                "protocol": "udp",
                "port": 10021,
                "ip": "192.168.5.199",
                "foundation": "2",
                "id": "ff83341ed3a0f630f92c114210b4e3203a0f437c",
                "priority": 2130706430,
                "type": "host",
                "network": 0
              }
            ],
            "xmlns": "urn:xmpp:jingle:transports:ice-udp:1",
            "ufrag": "8ukc11a5257bi1",
            "pwd": "3bespn9a7922o99nlrvl54rknu",
            "fingerprints": [
              {
                "fingerprint":
"16:33:F1:E1:5D:CE:00:36:EB:2D:7B:35:9E:6D:1D:81:50:7B:70:79",
                "hash": "sha-1"
              }
            ]
          },
          "direction": "sendrecv"
        }
      ],
      "name": "audio"
    }
  ],
  "id": "ff83341ed3a0f630"
}

Regards,
David