Skip to content

Add telephone-event payload type#2071

Merged
JonathanLennox merged 1 commit intojitsi:masterfrom
bloomberg:tel-event-fix
May 29, 2024
Merged

Add telephone-event payload type#2071
JonathanLennox merged 1 commit intojitsi:masterfrom
bloomberg:tel-event-fix

Conversation

@dkirov-dev
Copy link
Copy Markdown
Contributor

The "telephone-event" payload type is currently mapped to OTHER payload type.
This PR introduces TELEPHONE_EVENT payload type and maps "telephone-event" to TELEPHONE_EVENT.
This allows to have more accurate payload type map for PCAP capture functionality and debugging.

@dkirov-dev
Copy link
Copy Markdown
Contributor Author

@bgrozev , @damencho Please review.

@JonathanLennox
Copy link
Copy Markdown
Member

Jenkins, test this please

@JonathanLennox
Copy link
Copy Markdown
Member

I'm not sure I quite understand the use case - how are you relating the payload types to the pcap capture?

@jitsi-jenkins
Copy link
Copy Markdown

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@dkirov-dev
Copy link
Copy Markdown
Contributor Author

I'll create another draft PR for colibri initiated pcap capture where the use case will become clear, but I wanted to separate changes that can easily become part of the jitsi mainstream as being generic in nature vs changes that are less likely to make it.

@dkirov-dev
Copy link
Copy Markdown
Contributor Author

@JonathanLennox please take a look at #2072 where the changes in this PR are used to generate a payload map such as

    {
      "payload_type": 126,
      "media_type": "audio",
      "clock_rate": 8000,
      "encoding": "telephone-event"
    },

instead of

    {
      "payload_type": 126,
      "media_type": "audio",
      "clock_rate": 8000,
      "encoding": "other"
    },

@dkirov-dev
Copy link
Copy Markdown
Contributor Author

Essentially generating pcap files is not very useful unless there is metadata associated with the pcap file and describing the different payload types captured in the RTP packets.
Describing the payload map accurately requires correct mapping of the telephone-event and this is what this PR is achieving.

@JonathanLennox I hope this explains the rationale for this PR. Please review.

@JonathanLennox JonathanLennox merged commit 63d7bf8 into jitsi:master May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants