ExWebRTC statistics visualization for the Phoenix LiveDashboard.
-
Enable
LiveDashboard
by following these instructions. In most cases you can skip this step asPhoenix
comes withLiveDashboard
enabled by default. -
Add
:ex_webrtc_dashboard
to your list of dependencies
def deps do
[
{:ex_webrtc_dashboard, "~> 0.7.0"}
]
end
- Add
ExWebRTCDashboard
as an additionalLiveDashboard
page
live_dashboard "/dashboard",
additional_pages: [exwebrtc: ExWebRTCDashboard]
That's it!
ExWebRTCDashboard
will automatically discover all of your peer connections and visualize their statistics.