rtspdefs: Add Onvif Frames header

This commit is contained in:
Mathieu Duponchelle 2018-11-12 20:11:59 +01:00 committed by Mathieu Duponchelle
parent 0863452a79
commit e9b2cd0e53
2 changed files with 6 additions and 0 deletions

View file

@ -183,6 +183,9 @@ static struct rtsp_header rtsp_headers[] = {
{"Seek-Style", FALSE},
{"Accept-Ranges", FALSE},
/* Onvif extensions */
{"Frames", FALSE},
{NULL, FALSE}
};

View file

@ -341,6 +341,9 @@ typedef enum {
GST_RTSP_HDR_SEEK_STYLE, /* Seek-Type Rr opt. PLAY */
GST_RTSP_HDR_ACCEPT_RANGES, /* Accept-Ranges Rr opt. SETUP, GET_PARAMETER */
/* Onvif extensions */
GST_RTSP_HDR_FRAMES, /* Frames Rr opt. PLAY */
GST_RTSP_HDR_LAST
} GstRTSPHeaderField;