rtsp: start CSeq counting from 1 instead of 0
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Mar 2009 15:37:28 +0000 (16:37 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Mar 2009 15:37:28 +0000 (16:37 +0100)
Start counting from 1 instead of 0 as this is what most other clients
seem to do.

gst-libs/gst/rtsp/gstrtspconnection.c

index fd60a04..6f52ea0 100644 (file)
@@ -283,6 +283,7 @@ gst_rtsp_connection_create (const GstRTSPUrl * url, GstRTSPConnection ** conn)
   newconn->fd1.fd = -1;
   newconn->timer = g_timer_new ();
   newconn->timeout = 60;
+  newconn->cseq = 1;
 
   newconn->auth_method = GST_RTSP_AUTH_NONE;
   newconn->username = NULL;