support for exposing stats via prometheus

This commit is contained in:
David Zhao
2021-05-11 22:04:59 -07:00
parent a8eba51c33
commit 681010072c
12 changed files with 217 additions and 66 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ type PCTransport struct {
type TransportParams struct {
Target livekit.SignalTarget
Config *WebRTCConfig
Stats *StatsReporter
Stats *RoomStatsReporter
}
func newPeerConnection(params TransportParams) (*webrtc.PeerConnection, *webrtc.MediaEngine, error) {