Skip to content

Commit a9e1ebc

Browse files
committed
Improve ONVIF server by adding rate control for video encoder configuration
1 parent 199fdd6 commit a9e1ebc

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)