From 487595a7d6e2df08f3ffaff2aa552d50697c86c2 Mon Sep 17 00:00:00 2001 From: Kristofer Bjorkstrom Date: Wed, 10 Apr 2019 08:45:53 +0200 Subject: [PATCH] rtspconnection: CSeq initial value set to 0 RFC 7826: "it is RECOMMENDED to start at 0. --- gst-libs/gst/rtsp/gstrtspconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index e4a6f93b8b..dba9b7bbc1 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -360,7 +360,7 @@ gst_rtsp_connection_create (const GstRTSPUrl * url, GstRTSPConnection ** conn) newconn->url = gst_rtsp_url_copy (url); newconn->timer = g_timer_new (); newconn->timeout = 60; - newconn->cseq = 1; + newconn->cseq = 0; /* RFC 7826: "it is RECOMMENDED to start at 0." */ newconn->remember_session_id = TRUE;