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

Knowing what codecs a server supports before negotiation #188

Open
danjenkins opened this issue Mar 25, 2024 · 2 comments
Open

Knowing what codecs a server supports before negotiation #188

danjenkins opened this issue Mar 25, 2024 · 2 comments

Comments

@danjenkins
Copy link

Knowing what codecs and profiles a server supports before negotiation may be important, and being able to deal with that programatically is also important.

Take the example of Twitch supporting WHIP but GStreamer being unable to send media to Twitch and that negotiation failing. OBS can push to Twitch fine but GStreamer can't.... is there a change in h264 profile needed?

Ignore the fact there are no docs.... this should be solvable without a human involved.

I'd like to propose an addition to WHIP (and potentially WHEP but let's chat about it in regards to WHIP first) of a HTTP path that gives back a list of codecs/profiles/etc that the server supports. Its easy enough to just offer a load of codecs and allow negotiation to happen but that doesn't work when you get into specific profiles. Unsure whether it would be a GET to a specific path or what.... curious what others think on this.

Docs don't solve the problem here - this should be something you can programatically figure out in a standardised way.

@murillo128
Copy link
Collaborator

Note that this is not supported in any other ingest protocol, neither RTMP or SRT supports that.

@danjenkins
Copy link
Author

Sorry @murillo128 I didn't see your reply.

Sure, but that doesn't mean that we shouldn't enable that in WHIP? There are only 4 mandatory codecs in WebRTC, but within those are variations etc. Plus all the non mandatory codecs that are available....

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

No branches or pull requests

2 participants