update gortsplib

This commit is contained in:
aler9
2022-03-24 12:59:22 +01:00
parent 4049a01d29
commit a6986e9fa4
8 changed files with 38 additions and 16 deletions

View File

@@ -258,7 +258,8 @@ func (s *rtspSource) handleMissingH264Params(c *gortsplib.Client, tracks gortspl
var streamMutex sync.RWMutex
var stream *stream
decoder := rtph264.NewDecoder()
decoder := &rtph264.Decoder{}
decoder.Init()
var sps []byte
var pps []byte
paramsReceived := make(chan struct{})