Skip to content

Conversation

@OctopusRage
Copy link
Contributor

  • the strange behaviour occured randomly when my peer tried to close its connection
  • this fix dtls_transport = nil causing peer connection crashes when closed
  • already try catch PeerConnection.close(). but still cannot avoid this error because its nif implementation (?)
  • this pr eliminate my current workaround by checking PeerConnection.get_dtls_transport_state(peer_connection) not in [:failed, :closed] before closing peer connection
image

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