Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RtpListener / mux id and RTP header extension issues #243

Closed
robin-raymond opened this issue Sep 18, 2015 · 3 comments
Closed

RtpListener / mux id and RTP header extension issues #243

robin-raymond opened this issue Sep 18, 2015 · 3 comments

Comments

@robin-raymond
Copy link
Contributor

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?

@aboba aboba added the 1.1 label Sep 24, 2015
@aboba
Copy link
Contributor

aboba commented Sep 25, 2015

See response from Bernard Aboba here:
http://lists.w3.org/Archives/Public/public-ortc/2015Sep/0025.html

@aboba
Copy link
Contributor

aboba commented Nov 20, 2015

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.

aboba added a commit that referenced this issue Jan 6, 2016
If an RtpListener is constructed prior to calling receiver.receive(parameters), RTP header extensions cannot be interpreted.  This prevents the rtpunhandled event from providing the MID or RID. 

Fix for Issue #243
@aboba aboba added the PR exists label Jan 9, 2016
@aboba
Copy link
Contributor

aboba commented Jan 9, 2016

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

@aboba aboba closed this as completed Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants