Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
374 B

package core
func ptrInt64() *int64 {
v := int64(0)
return &v
}
type stats struct {
// use pointers to avoid a crash on 32bit platforms
// https://github.com/golang/go/issues/9959
CountPublishers *int64
CountReaders *int64
}
func newStats() *stats {
return &stats{
CountPublishers: ptrInt64(),
CountReaders: ptrInt64(),
}
}
func (s *stats) close() {
}