RTSP server/source: fix encoding of RTP packets with padding

This fixes a SIGSEGV with GStreamer.
This commit is contained in:
aler9
2022-03-08 12:54:23 +01:00
parent 20a8862b2f
commit 6dc11c2906
13 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ import (
"github.com/aler9/gortsplib/pkg/h264"
"github.com/aler9/gortsplib/pkg/rtph264"
"github.com/pion/rtcp"
"github.com/pion/rtp"
"github.com/pion/rtp/v2"
"github.com/aler9/rtsp-simple-server/internal/conf"
"github.com/aler9/rtsp-simple-server/internal/logger"