Skip to content

Commit a55be80

Browse files
authored
Merge pull request #1539 from BrunoTCouto/onvif-RateControl
fix(onvif): Add RateControl to fix Unifi Protect integration
2 parents 55af09a + a9e1ebc commit a55be80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/onvif/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func appendProfile(e *Envelope, tag, name string) {
172172
<tt:Name>VEC</tt:Name>
173173
<tt:Encoding>H264</tt:Encoding>
174174
<tt:Resolution><tt:Width>1920</tt:Width><tt:Height>1080</tt:Height></tt:Resolution>
175+
<trt:RateControl></trt:RateControl>
175176
</tt:VideoEncoderConfiguration>
176177
</trt:`, tag, `>
177178
`)

0 commit comments

Comments
 (0)