Documentation ¶
Index ¶
- Constants
- func IceCount(direction DirectionType, packet PacketType)
- func InitPrometheus(options ...func(*monitorOpt))
- func KeyframeCount(ssrc uint32, event string)
- func MediasoupCount(name string, event EventType)
- func RtcpRecvCount(action TraceType)
- func RtcpSendCount(action TraceType)
- func RtpRecvCount(action TraceType)
- func RtpSendCount(action TraceType)
- type DirectionType
- type EventType
- type Option
- type PacketType
- type TraceType
Constants ¶
View Source
const ( KeyframePkgRecv = "key_frame_recv" KeyframePkgSend = "key_frame_send" KeyframeRecvFIR = "recv_rtcp_fir" KeyframeRecvPLI = "recv_rtcp_pli" KeyframeSendFIR = "send_rtcp_fir" KeyframeSendPLI = "send_rtcp_pli" )
key frame count
View Source
const ( Router = "router" Producer = "producer" Consumer = "consumer" SimpleConsumer = "simple_consumer" RtpStreamRecv = "rtp_stream_recv" )
mediasoup count
Variables ¶
This section is empty.
Functions ¶
func IceCount ¶
func IceCount(direction DirectionType, packet PacketType)
func InitPrometheus ¶
func InitPrometheus(options ...func(*monitorOpt))
func KeyframeCount ¶
func MediasoupCount ¶
func RtcpRecvCount ¶
func RtcpRecvCount(action TraceType)
func RtcpSendCount ¶
func RtcpSendCount(action TraceType)
func RtpRecvCount ¶
func RtpRecvCount(action TraceType)
func RtpSendCount ¶
func RtpSendCount(action TraceType)
Types ¶
type DirectionType ¶
type DirectionType string
const ( DirectionTypeRecv DirectionType = "recv" DirectionTypeSend DirectionType = "send" )
type PacketType ¶
type PacketType string
const ( PacketAll PacketType = "all" PacketStun PacketType = "stun" PacketDtls PacketType = "dtls" )
type TraceType ¶
type TraceType string
const ( TraceReceive TraceType = "recv" TraceSend TraceType = "send" TraceDecryptFailed TraceType = "decrypt_failed" TraceEncryptFailed TraceType = "encrypt_failed" TraceUnmarshalFailed TraceType = "unmarshal_failed" TraceMarshalFailed TraceType = "marshal_failed" TraceSsrcNotFound TraceType = "ssrc_not_found" TraceRtpStreamRecvFailed TraceType = "rtp_stream_recv_failed" TraceRtpRtxStreamRecvFailed TraceType = "rtp_rtx_stream_recv_failed" TraceRtpStreamNotFound TraceType = "rtp_stream_not_found" TraceUnknownRtcpType TraceType = "unknown_rtcp_type" TraceAudio TraceType = "audio" TraceVideo TraceType = "video" )
Click to show internal directories.
Click to hide internal directories.