Documentation ¶
Index ¶
- Variables
- func AddConnection(direction Direction)
- func AddParticipant()
- func AddPublishAttempt(kind string)
- func AddPublishSuccess(kind string)
- func AddPublishedTrack(kind string)
- func GetUpdatedNodeStats(prev *livekit.NodeStats, prevAverage *livekit.NodeStats) (*livekit.NodeStats, bool, error)
- func IncrementBytes(direction Direction, count uint64, retransmit bool)
- func IncrementPackets(direction Direction, count uint64, retransmit bool)
- func IncrementParticipantJoin(join uint32)
- func IncrementParticipantJoinFail(join uint32)
- func IncrementParticipantRtcConnected(join uint32)
- func IncrementParticipantRtcInit(join uint32)
- func IncrementRTCP(direction Direction, nack, pli, fir uint32)
- func Init(nodeID string, nodeType livekit.NodeType) error
- func RecordForwardJitter(_, jitterAvg uint32)
- func RecordForwardLatency(_, latencyAvg uint32)
- func RecordJitter(direction Direction, trackSource livekit.TrackSource, ...)
- func RecordPacketLoss(direction Direction, trackSource livekit.TrackSource, ...)
- func RecordPacketOutOfOrder(direction Direction, trackSource livekit.TrackSource, ...)
- func RecordPublishTime(source livekit.TrackSource, trackType livekit.TrackType, d time.Duration, ...)
- func RecordQuality(rating livekit.ConnectionQuality, score float32, numUpDrops int, ...)
- func RecordRTT(direction Direction, trackSource livekit.TrackSource, ...)
- func RecordSessionDuration(protocolVersion int, d time.Duration)
- func RecordSessionStartTime(protocolVersion int, d time.Duration)
- func RecordSubscribeTime(source livekit.TrackSource, trackType livekit.TrackType, d time.Duration, ...)
- func RecordTrackSubscribeAttempt()
- func RecordTrackSubscribeFailure(err error, isUserError bool)
- func RecordTrackSubscribeSuccess(kind string)
- func RecordTrackUnsubscribed(kind string)
- func RoomEnded(startedAt time.Time)
- func RoomStarted()
- func SubConnection(direction Direction)
- func SubParticipant()
- func SubPublishedTrack(kind string)
- type Direction
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MessageCounter *prometheus.CounterVec MessageBytes *prometheus.CounterVec ServiceOperationCounter *prometheus.CounterVec TwirpRequestStatusCounter *prometheus.CounterVec )
Functions ¶
func AddConnection ¶ added in v1.2.1
func AddConnection(direction Direction)
func AddParticipant ¶
func AddParticipant()
func AddPublishAttempt ¶ added in v1.3.4
func AddPublishAttempt(kind string)
func AddPublishSuccess ¶ added in v1.3.4
func AddPublishSuccess(kind string)
func AddPublishedTrack ¶
func AddPublishedTrack(kind string)
func GetUpdatedNodeStats ¶ added in v0.15.4
func IncrementBytes ¶
func IncrementPackets ¶
func IncrementParticipantJoin ¶ added in v1.1.0
func IncrementParticipantJoin(join uint32)
func IncrementParticipantJoinFail ¶ added in v1.3.4
func IncrementParticipantJoinFail(join uint32)
func IncrementParticipantRtcConnected ¶ added in v1.3.4
func IncrementParticipantRtcConnected(join uint32)
func IncrementParticipantRtcInit ¶ added in v1.3.4
func IncrementParticipantRtcInit(join uint32)
func IncrementRTCP ¶ added in v0.14.2
func RecordForwardJitter ¶ added in v1.6.2
func RecordForwardJitter(_, jitterAvg uint32)
func RecordForwardLatency ¶ added in v1.6.2
func RecordForwardLatency(_, latencyAvg uint32)
func RecordJitter ¶ added in v1.3.4
func RecordPacketLoss ¶ added in v1.3.4
func RecordPacketOutOfOrder ¶ added in v1.8.0
func RecordPublishTime ¶ added in v1.8.0
func RecordPublishTime(source livekit.TrackSource, trackType livekit.TrackType, d time.Duration, sdk livekit.ClientInfo_SDK, kind livekit.ParticipantInfo_Kind)
func RecordQuality ¶ added in v1.4.3
func RecordQuality(rating livekit.ConnectionQuality, score float32, numUpDrops int, numDownDrops int)
func RecordSessionDuration ¶ added in v1.6.3
func RecordSessionStartTime ¶ added in v1.5.3
func RecordSubscribeTime ¶ added in v1.8.0
func RecordSubscribeTime(source livekit.TrackSource, trackType livekit.TrackType, d time.Duration, sdk livekit.ClientInfo_SDK, kind livekit.ParticipantInfo_Kind, count int)
func RecordTrackSubscribeAttempt ¶ added in v1.3.4
func RecordTrackSubscribeAttempt()
func RecordTrackSubscribeFailure ¶ added in v1.3.4
func RecordTrackSubscribeSuccess ¶ added in v1.3.4
func RecordTrackSubscribeSuccess(kind string)
func RecordTrackUnsubscribed ¶ added in v1.3.4
func RecordTrackUnsubscribed(kind string)
func RoomStarted ¶
func RoomStarted()
func SubConnection ¶ added in v1.2.1
func SubConnection(direction Direction)
func SubParticipant ¶
func SubParticipant()
func SubPublishedTrack ¶
func SubPublishedTrack(kind string)
Types ¶
Click to show internal directories.
Click to hide internal directories.