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

Clarify that sdpMid and sdpMLineIndex are not required in m.call.candidates #1742

Merged
merged 4 commits into from
Mar 8, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Mar 5, 2024

MSC2746, merged in v1.7, introduced the end-of-candidates candidate, where only the candidate property is set to an empty string. However, the schema for the event was untouched in the spec PR.

Besides, the WebRTC specification says that only one of those two fields is required when candidate is not empty (step 3).

Fixes #1738 and #1078.

Preview: https://pr1742--matrix-spec-previews.netlify.app

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
…didates`

MSC2746, merged in v1.17,
introduced the end-of-candidates candidate,
where only the `candidate` property is set to an empty string.

Besides, the [WebRTC specification](https://www.w3.org/TR/webrtc/)
says that only one of those fields is required in a normal candidate.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner March 5, 2024 17:29
@zecakeh zecakeh changed the title Clarify that sdpMid and sdpMLineIndex are not required in m.call.can… …didates Clarify that sdpMid and sdpMLineIndex are not required in m.call.candidates Mar 5, 2024
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Copy link
Member

@uhoreg uhoreg left a comment

Choose a reason for hiding this comment

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

Thanks!

@uhoreg uhoreg merged commit 9068c33 into matrix-org:main Mar 8, 2024
12 checks passed
@zecakeh zecakeh deleted the fix-call-candidate branch March 8, 2024 10:12
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.

Inconsistent m.call.candidates candidate definition
2 participants