ExWebRTC statistics visualization for the Phoenix LiveDashboard.
-
Enable
LiveDashboardby following these instructions. In most cases you can skip this step asPhoenixcomes withLiveDashboardenabled by default. -
Add
:ex_webrtc_dashboardto your list of dependencies
def deps do
[
{:ex_webrtc_dashboard, "~> 0.9.0"}
]
end- Add
ExWebRTCDashboardas an additionalLiveDashboardpage
live_dashboard "/dashboard",
additional_pages: [exwebrtc: ExWebRTCDashboard]That's it!
ExWebRTCDashboard will automatically discover all of your peer connections and visualize their statistics.
