Skip to content

Commit

Permalink
Fix pkt_size key name in json format
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed May 13, 2024
1 parent c950bb0 commit 152df3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rtsp/rtsp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit 152df3e

Please sign in to comment.