fix: improve handling of nil imaging settings and adjust SOAP fault response status codes

This commit is contained in:
ProtoTess
2025-12-01 03:02:46 +00:00
parent b7292bb6cd
commit df7d476e14
4 changed files with 18 additions and 47 deletions
+2 -2
View File
@@ -640,12 +640,12 @@ func TestToONVIFProfile(t *testing.T) {
profile := &ProfileConfig{
Token: "profile_1",
Name: "HD Profile",
VideoSource: &VideoSourceConfig{
VideoSource: VideoSourceConfig{
Token: "source_1",
Framerate: 30,
Resolution: Resolution{Width: 1920, Height: 1080},
},
VideoEncoder: &VideoEncoderConfig{
VideoEncoder: VideoEncoderConfig{
Encoding: "H264",
Bitrate: 4096,
Framerate: 30,