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

Control surface for header extensions #40

Closed
aboba opened this issue Aug 1, 2019 · 2 comments
Closed

Control surface for header extensions #40

aboba opened this issue Aug 1, 2019 · 2 comments

Comments

@aboba
Copy link
Collaborator

aboba commented Aug 1, 2019

Copied from Issue w3c/webrtc-pc#2243

For codecs we have getCapabilities() for figuring out what is supported by the browser, setCodecPreferences() for controlling what to negotiate, and getParameters() to see what was actually negotiated. In addition, getStats() can tell you more details (such as if multiple codecs were negotiated, which one is being used right now).

Should we have a similar API for header extensions? There is already getParameter()'s headerExtensions for reading what RTP header extensions were negotiated, but there is no way to detect what is supported without trial and error, and worse yet, if you want to control which ones are negotiated you have to munge SDP.

@jonex

@aboba
Copy link
Collaborator Author

aboba commented Aug 1, 2019

Aside from header extensions, there are is also RTCP-related info. So should in WebRTC 1.0, should we just have a setPreferences() method that covers everything?

@aboba
Copy link
Collaborator Author

aboba commented Aug 27, 2019

With merger of PR 46, closing this issue.

@aboba aboba closed this as completed Aug 27, 2019
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

1 participant