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

Fixed bug in SRTP ROC checking when using ICE #3733

Merged
merged 10 commits into from
Oct 13, 2023
Merged

Conversation

sauwming
Copy link
Member

@sauwming sauwming commented Oct 9, 2023

Fixed bug in SRTP ROC checking when remote specifies ICE ufrag in the session descriptor, instead of within the media.

const pjmedia_sdp_media *remote_sdp)
const pjmedia_sdp_media *local_m,
const pjmedia_sdp_session *rem_sdp,
const pjmedia_sdp_media *rem_m)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor:

  • as there are rem_sdp & med_idx params already, perhaps rem_m is not necessary?
  • also, what if the same mechanism (check media level first, then check session level) is also applied for the local SDP, for example to handle the case when the SDP is generated/modified by the app?

@sauwming sauwming merged commit 03faa1c into master Oct 13, 2023
31 of 33 checks passed
@sauwming sauwming deleted the srtp-roc-rem-ufrag branch October 13, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants