diff --git a/internal/rtsp/rtsp.go b/internal/rtsp/rtsp.go index 4cb8421f..c5e21678 100644 --- a/internal/rtsp/rtsp.go +++ b/internal/rtsp/rtsp.go @@ -21,7 +21,7 @@ func Init() { Username string `yaml:"username" json:"-"` Password string `yaml:"password" json:"-"` DefaultQuery string `yaml:"default_query" json:"default_query"` - PacketSize uint16 `yaml:"pkt_size" json:"packet_size"` + PacketSize uint16 `yaml:"pkt_size" json:"pkt_size,omitempty"` } `yaml:"rtsp"` }