elixir-webrtc / ex_webrtc

An Elixir implementation of the W3C WebRTC API
Apache License 2.0
270 stars 8 forks source link

Handle ExDTLS errors #60

Closed mickel8 closed 5 months ago

mickel8 commented 5 months ago

When we notice ExDTLS error, DTLSTransport will stop itself and because it is linked with PeerConnection and PeerConnection is linked with ICETransport, everything will stop too

codecov[bot] commented 5 months ago

Codecov Report

Merging #60 (0d0cc7c) into master (528c056) will decrease coverage by 0.17%. The diff coverage is 60.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #60 +/- ## ========================================== - Coverage 88.85% 88.68% -0.17% ========================================== Files 25 25 Lines 1059 1061 +2 ========================================== Hits 941 941 - Misses 118 120 +2 ``` | [Files](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc) | Coverage Δ | | |---|---|---| | [lib/ex\_webrtc/dtls\_transport.ex](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/60?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc#diff-bGliL2V4X3dlYnJ0Yy9kdGxzX3RyYW5zcG9ydC5leA==) | `82.10% <60.00%> (-1.77%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/60?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/60?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). Last update [528c056...0d0cc7c](https://app.codecov.io/gh/elixir-webrtc/ex_webrtc/pull/60?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elixir-webrtc).