Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

RtpListener / mux id and RTP header extension issues #243

Closed

Description

@robin-raymond

Let's say your create an RtpListener without and RtpReceivers attached. Then an RTP packet arrives with muxid header extension assigned to header extension id of 3.

How is the listener supposed to fire an onunhandledrtp event and give the application developer the muxid value if the listener is unaware that header extension 3 means muxid?

Further, if two RtpReceivers get attached to the same RtpListener but one RtpReceiver uses header extension 3 for muxid and header extension 4 for custom-ext but second RtpReciever uses header extension 4 for muxid and header extension 3 for custom-ext and an RTP packet arrives. How does the RtpListener disambiguate between header extension 3 or 4 meaning muxid?

Finally, if two RtpReceiver are created. Once is created with muxid header extension set to 3, attached to the listener, then stopped. The second is created with muxid header extension set to 4, attached to the listener, then stopped. An new SSRC with RTP packet arrives with header extension 3 or 4. Do both header extension value 3, or 4, imply this value must be a muxid?

Activity

  1. aboba commented on Sep 25, 2015

    @aboba
    Contributor
  2. aboba commented on Nov 20, 2015

    @aboba
    Contributor

    At the November 20 ORTC CG meeting, the question was raised about alternative resolutions, such as:

    1. Leaving header extension attributes (e.g. MID, RID) unset;
    2. Providing the header extensions in the uhandledrtp event.
  3. aboba commented on Jan 9, 2016

    @aboba
    Contributor

    Proposed fix is to leave the header extension attributes unset if they can't be interpreted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions