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

Prevent unnecessary "Unsupported codec 'none' error" #2357

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Prevent unnecessary "Unsupported codec 'none' error" #2357

merged 1 commit into from
Sep 14, 2020

Conversation

neilyoung
Copy link
Contributor

In case a party does not send audio, audio_codec renders none, which causes an unnecessary error in janus_sdp_get_codec_rtpmap. Because do_audio is already false at this time, it is checked and the call to janus_sdp_get_codec_rtpmap is prevented. Similar for video

In case a party does not send audio, `audio_codec` renders `none`, which causes an unnecessary error in `janus_sdp_get_codec_rtpmap`. Because `do_audio` is already `false` at this time, it is checked and the call to `janus_sdp_get_codec_rtpmap` is prevented. Similar for video
@lminiero
Copy link
Member

Thanks, merging 👍

@lminiero lminiero merged commit 3697786 into meetecho:master Sep 14, 2020
@neilyoung
Copy link
Contributor Author

Thanks, Lorenzo. You are welcome.

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.

None yet

2 participants