-
Notifications
You must be signed in to change notification settings - Fork 115
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
Remove mid from sender/receiver #358
Comments
Originally I said that without the mid, it would be impossible to know which sender matched with which transceiver, but I realized that it wrong. We could always just do "transceiver.sender === sender" or "transceiver.receiver === receiver" if we mark these as "same object", as Martin suggested we do. So, I agree we should remove the mid and mark transceiver.receiver and .sender as "same object". |
The only issue with that that I can see is that the mid is also a configuration value for RTPsender - it tells it what to put into the "mid" header extension. |
By the way, ORTC has an MID (called muxId) on the RtpSender.getParameters/setParameters. We could easily have the same thing, but I don't see a need for it. |
So how does RtpSender learn the mid? Through the ctor? |
If it needs it, it can iterate over the transceivers and find the one with On Thu, Oct 29, 2015 at 10:05 PM, Justin Uberti notifications@github.com
|
mid is now gone from the sender and receiver APIs (this change has not yet propagated into the Editor's draft though). |
Has been proposed it belongs to the Transceiver and could be removed from Senders/Receivers.
The text was updated successfully, but these errors were encountered: