update gortsplib

This commit is contained in:
aler9
2022-11-15 23:46:40 +01:00
parent 6471800b52
commit 282d155a4f
26 changed files with 204 additions and 199 deletions

View File

@@ -171,10 +171,9 @@ func (s *rtmpSource) run(ctx context.Context) error {
}
err = res.stream.writeData(&dataH264{
trackID: videoTrackID,
ptsEqualsDTS: h264.IDRPresent(nalus),
pts: tmsg.DTS + tmsg.PTSDelta,
nalus: nalus,
trackID: videoTrackID,
pts: tmsg.DTS + tmsg.PTSDelta,
nalus: nalus,
})
if err != nil {
s.Log(logger.Warn, "%v", err)