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

Handle server side DTLS handshake #1

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Handle server side DTLS handshake #1

merged 2 commits into from
Oct 17, 2023

Conversation

mickel8
Copy link
Member

@mickel8 mickel8 commented Oct 6, 2023

This PR adds support for server side DTLS handshake i.e. we always act as a server and the other side must always initiate the handshake

@mickel8 mickel8 changed the title Handle DTLS handshake Handle server side DTLS handshake Oct 16, 2023
@mickel8 mickel8 marked this pull request as ready for review October 16, 2023 16:20
@mickel8 mickel8 requested a review from LVala October 16, 2023 16:20
Comment on lines 243 to 245
{:handshake_packets, packets} when state.ice_state in [:connected, :completed] ->
:ok = ICEAgent.send_data(state.ice_agent, packets)

Copy link
Member

Choose a reason for hiding this comment

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

no {:noreply, ...} return value in this arm of the case block.

@mickel8 mickel8 merged commit 3c4fbfa into master Oct 17, 2023
2 checks passed
@mickel8 mickel8 deleted the dtls branch October 17, 2023 10:06
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