rtspconnection: CSeq initial value set to 0

RFC 7826: "it is RECOMMENDED to start at 0.
This commit is contained in:
Kristofer Bjorkstrom 2019-04-10 08:45:53 +02:00
parent 06b600901c
commit 487595a7d6

View file

@ -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;