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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

1 participant