Add fps calculator for VP8 and DependencyDescriptor (#1110)

* Add fps calculator for VP8 and DependencyDescriptor

* clean code

* unit test

* clean code

* solve comment
This commit is contained in:
cnderrauber
2022-10-26 09:28:28 +08:00
committed by GitHub
parent 96a058b503
commit 7a7fc09372
17 changed files with 1040 additions and 35 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ func (s *StreamTracker) SetPaused(paused bool) {
}
// Observe a packet that's received
func (s *StreamTracker) Observe(sn uint16, temporalLayer int32, pktSize int, payloadSize int) {
func (s *StreamTracker) Observe(temporalLayer int32, pktSize int, payloadSize int) {
s.lock.Lock()
defer s.lock.Unlock()