Files
rtsp-simple-server/internal/protocols/webrtc/stats.go
Alessandro Ros 534ea4d0c6 api: add additional WebRTC statistics (#4795)
rtpPacketsReceived, rtpPacketsSent, rtpPacketsLost, rtpPacketsJitter,
rtcpPacketsReceived, rtcpPacketsSent
2025-07-29 10:43:52 +02:00

14 lines
295 B
Go

package webrtc
// Stats are WebRTC statistics.
type Stats struct {
BytesReceived uint64
BytesSent uint64
RTPPacketsReceived uint64
RTPPacketsSent uint64
RTPPacketsLost uint64
RTPPacketsJitter float64
RTCPPacketsReceived uint64
RTCPPacketsSent uint64
}