rtsp: start CSeq counting from 1 instead of 0

Start counting from 1 instead of 0 as this is what most other clients
seem to do.
This commit is contained in:
Wim Taymans 2009-03-25 16:37:28 +01:00
parent 1081ae59eb
commit 0d3d3026d2

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