rtspdefs: Add Onvif Rate-Control header

This commit is contained in:
Mathieu Duponchelle 2018-11-19 23:40:14 +01:00 committed by Mathieu Duponchelle
parent e9b2cd0e53
commit 57f5c2d4db
2 changed files with 2 additions and 0 deletions

View file

@ -185,6 +185,7 @@ static struct rtsp_header rtsp_headers[] = {
/* Onvif extensions */
{"Frames", FALSE},
{"Rate-Control", FALSE},
{NULL, FALSE}
};

View file

@ -343,6 +343,7 @@ typedef enum {
/* Onvif extensions */
GST_RTSP_HDR_FRAMES, /* Frames Rr opt. PLAY */
GST_RTSP_HDR_RATE_CONTROL, /* Rate-control Rr opt. PLAY */
GST_RTSP_HDR_LAST
} GstRTSPHeaderField;