mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-11-01 03:22:50 +08:00
add rtsp_proxies metrics (#61)
This commit is contained in:
30
main.go
30
main.go
@@ -20,20 +20,22 @@ const (
|
||||
)
|
||||
|
||||
type program struct {
|
||||
conf *conf
|
||||
logHandler *logHandler
|
||||
metrics *metrics
|
||||
pprof *pprof
|
||||
paths map[string]*path
|
||||
serverRtp *serverUDP
|
||||
serverRtcp *serverUDP
|
||||
serverRtsp *serverTCP
|
||||
clients map[*client]struct{}
|
||||
udpPublishersMap *udpPublishersMap
|
||||
readersMap *readersMap
|
||||
countClients int64
|
||||
countPublishers int64
|
||||
countReaders int64
|
||||
conf *conf
|
||||
logHandler *logHandler
|
||||
metrics *metrics
|
||||
pprof *pprof
|
||||
paths map[string]*path
|
||||
serverRtp *serverUDP
|
||||
serverRtcp *serverUDP
|
||||
serverRtsp *serverTCP
|
||||
clients map[*client]struct{}
|
||||
udpPublishersMap *udpPublishersMap
|
||||
readersMap *readersMap
|
||||
countClients int64
|
||||
countPublishers int64
|
||||
countReaders int64
|
||||
countProxies int64
|
||||
countProxiesRunning int64
|
||||
|
||||
clientNew chan net.Conn
|
||||
clientClose chan *client
|
||||
|
||||
Reference in New Issue
Block a user