Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elixir-webrtc/ex_webrtc_dashboard

ExWebRTC statistics visualization for the Phoenix LiveDashboard
https://github.com/elixir-webrtc/ex_webrtc_dashboard

dashboard elixir phoenix webrtc

Last synced: 3 months ago
JSON representation

ExWebRTC statistics visualization for the Phoenix LiveDashboard

Awesome Lists containing this project

README

        

# ExWebRTCDashboard

[![Hex.pm](https://img.shields.io/hexpm/v/ex_webrtc_dashboard.svg)](https://hex.pm/packages/ex_webrtc_dashboard)
[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/ex_webrtc_dashboard)

[ExWebRTC](https://github.com/elixir-webrtc/ex_webrtc) statistics visualization for the [Phoenix LiveDashboard](https://github.com/phoenixframework/phoenix_live_dashboard).


ExWebRTC Dashboard

## Installation

1. Enable `LiveDashboard` by following these [instructions](https://github.com/phoenixframework/phoenix_live_dashboard?tab=readme-ov-file#installation).
In most cases you can skip this step as `Phoenix` comes with `LiveDashboard` enabled by default.

2. Add `:ex_webrtc_dashboard` to your list of dependencies

```elixir
def deps do
[
{:ex_webrtc_dashboard, "~> 0.6.0"}
]
end
```

3. Add `ExWebRTCDashboard` as an additional `LiveDashboard` page

```elixir
live_dashboard "/dashboard",
additional_pages: [exwebrtc: ExWebRTCDashboard]
```

That's it!
`ExWebRTCDashboard` will automatically discover all of your peer connections and visualize their statistics.