fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
203 stars 16 forks source link

[RTC-436] Propagate websocket close reason #140

Closed roznawsk closed 10 months ago

roznawsk commented 10 months ago

Added websocket closing reason, which is from now accessible from the fronted.

Acknowledging the stipulations set forth:

codecov[bot] commented 10 months ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@fe17b8c). Click here to learn what that means. The diff coverage is 75.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #140 +/- ## ======================================= Coverage ? 87.32% ======================================= Files ? 59 Lines ? 1097 Branches ? 0 ======================================= Hits ? 958 Misses ? 139 Partials ? 0 ``` | [Files](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/140?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) | Coverage Δ | | |---|---|---| | [lib/jellyfish\_web/peer\_socket.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/140?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvcGVlcl9zb2NrZXQuZXg=) | `86.04% <75.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/140?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). > **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=jellyfish-dev) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/140?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). Last update [fe17b8c...8765ade](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/140?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). 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=jellyfish-dev).