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
@@ -109,7 +109,7 @@ func ToProtoTrackKind(kind webrtc.RTPCodecType) livekit.TrackType {
case webrtc.RTPCodecTypeAudio:
return livekit.TrackType_AUDIO
}
panic("unsupported track kind")
panic("unsupported track direction")
}
func IsEOF(err error) bool {