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

media_engine: Fix matching of apt in answer #622

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

anders-avos
Copy link
Contributor

codec_parameters_fuzzy_search will try to match the locally configured apt against the apt received in the offer. If the payload types differ this will not work. This change replaces the apt in the search with the original codec's payload type so they match.

This is a port of a fix in pion: https://github.com/pion/webrtc/blob/8fbf8219ddbe6b81feb24999fb547eb415e95a54/mediaengine.go#L446

@yngrtc yngrtc merged commit a1611af into webrtc-rs:master Oct 19, 2024
4 of 5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants