mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 15:46:58 +08:00
rtsp: emit log message when remuxing RTP packets (#4422)
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"github.com/bluenviron/gortsplib/v4/pkg/format/rtpmjpeg"
|
||||
"github.com/pion/rtp"
|
||||
|
||||
"github.com/bluenviron/mediamtx/internal/logger"
|
||||
"github.com/bluenviron/mediamtx/internal/unit"
|
||||
)
|
||||
|
||||
@@ -16,6 +17,7 @@ type mjpeg struct {
|
||||
UDPMaxPayloadSize int
|
||||
Format *format.MJPEG
|
||||
GenerateRTPPackets bool
|
||||
Parent logger.Writer
|
||||
|
||||
encoder *rtpmjpeg.Encoder
|
||||
decoder *rtpmjpeg.Decoder
|
||||
|
Reference in New Issue
Block a user