[jitsi-dev] How to related multiple RTX codecs in Jitsi Videobridge?


#1

* How do I associate RTX extensions with codecs in Jitsi REST? For example 1, the bridge responds with 404.
  * Any codecs that the bridge can't process anyhow and which I may leave out?

Example 1 - fails:

[
  {
    "id": 96,
    "name": "VP8",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "x-google-start-bitrate=300"
      ]
    }
  },
  {
    "id": 97,
    "name": "rtx",
    "clockrate": 90000,
    "parameters": {
      "fmtp": [
        "apt=96"
      ]
    }
  },
  {
    "id": 98,
    "name": "VP9",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "x-google-start-bitrate=300"
     ]
    }
  },
  {
    "id": 99,
    "name": "rtx",
    "clockrate": 90000,
    "parameters": {
      "fmtp": [
        "apt=98"
      ]
    }
  },
  {
    "id": 100,
    "name": "H264",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"
      ]
    }
  },
  {
    "id": 101,
    "name": "rtx",
    "clockrate": 90000,
    "parameters": {
      "fmtp": [
        "apt=100"
      ]
    }
  },
  {
    "id": 102,
    "name": "red",
    "clockrate": 90000
  },
  {
    "id": 124,
    "name": "rtx",
    "clockrate": 90000,
    "parameters": {
      "fmtp": [
        "apt=102"
      ]
    }
  },
  {
    "id": 127,
    "name": "ulpfec",
    "clockrate": 90000
  },
  {
    "id": 125,
    "name": "H264",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f"
      ]
    }
  },
  {
    "id": 123,
    "name": "rtx",
    "clockrate": 90000,
    "parameters": {
      "fmtp": [
        "apt=125"
      ]
    }
  }
]

Example 2 - works:

[
  {
    "id": 96,
    "name": "VP8",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "x-google-start-bitrate=300"
      ]
    }
  },
  {
    "id": 98,
    "name": "VP9",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "x-google-start-bitrate=300"
      ]
    }
  },
  {
    "id": 100,
    "name": "H264",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"
      ]
    }
  },
  {
    "id": 102,
    "name": "red",
    "clockrate": 90000
  },
  {
    "id": 127,
    "name": "ulpfec",
    "clockrate": 90000
  },
  {
    "id": 125,
    "name": "H264",
    "clockrate": 90000,
    "parameters": {
      "rtcp-fb": [
        "ccm fir",
        "nack",
        "nack pli",
        "goog-remb",
        "transport-cc"
      ],
      "fmtp": [
        "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f"
      ]
    }
  }
]