[Live-devel] Difference in timestamp while receiving data from server

pratik pratik.panchal at einfochips.com
Tue Jul 16 23:51:37 PDT 2013


Hi Ross,

--> We are building server & client application to record and stream 
data using live555 library both the side.
--> Live555 version we are using is 2013.07.03.

--> we have successfully completed building of server which streams data 
and we also checked it by receiving data through VLC
        and it played perfectly.

--> Now, we want to make client which receives data which is streamed 
from server

--> For that initially we have received frames using built in test 
program, "openRTSPClient.cpp".

--> We have printed timestamps both the sides, i.e. (Server and Client). 
The problem is that at the server side timestamp being sent is fine,
       but at the client side there is an abrupt increase in timestamp 
once compared to previous values of timestamp which was wrong as described
       in the attached file.

       "-------------------------------------------------------- Invalid 
timestamp 1165029457 - 1164089188"
       here previous one was 1165029457 and after change it was 1164089188.

--> So, why timestamp differs this much at the client side?

--> Here I have attached two file, one is modified "openRTSPClient.cpp" 
and the other is Log file.

-- 
Regards,
Pratik


---------------------------------------------------------------------------------------------
Notice: 
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------
-------------- next part --------------
55/stream0/track65282 RTSP/1.0
CSeq: 4
User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2013.07.03)
Transport: RTP/AVP;unicast;client_port=34748-34749
Session: 35A7484E


Received 203 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Mon, Apr 11 2011 16:26:17 GMT
Transport: RTP/AVP;unicast;destination=10.99.10.242;source=10.99.11.197;client_port=34748-34749;server_port=6972-6973
Session: 35A7484E


[URL:"rtsp://10.99.11.197:555/stream0/"]: Set up the "audio/MPEG4-GENERIC" subsession (client ports 34748-34749)
[URL:"rtsp://10.99.11.197:555/stream0/"]: Created a data sink for the "audio/MPEG4-GENERIC" subsession
Sending request: PLAY rtsp://10.99.11.197:555/stream0/ RTSP/1.0
CSeq: 5
User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2013.07.03)
Session: 35A7484E
Range: npt=0.000-

  
Received 266 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Mon, Apr 11 2011 16:26:17 GMT
Range: npt=0.000-
Session: 35A7484E
RTP-Info: url=rtsp://10.99.11.197:555/stream0/track65281;seq=63973;rtptime=1489040845,url=rtsp://10.99.11.197:555/stream0/track65282;seq=55505;rtptime=3401927117


[URL:"rtsp://10.99.11.197:555/stream0/"]: Started playing session...
 
1164086755 
---------- 1 

 
1164086771 
---------- 1 

 
1164086771 
---------- 1 

 
1164086771 
---------- 1 

 
 
1164086788 
---------- 1 

 
1164086821 
---------- 1 

 
1164086855 
---------- 1 

 
1164086888 
---------- 1 

 
1164086921 
---------- 1 

 
1164086955 
---------- 1 

 
1164086988 
---------- 1 

 
1164087021 
---------- 1 

 
1164087055 
---------- 1 

 
1164087088 
---------- 1 

 
1164087121 
---------- 1 

 
1164087155 
---------- 1 

 
1164087188 
---------- 1 

 
1164087221 
---------- 1 

 
1164087255 
---------- 1 

 
1164087288 
---------- 1 

 
1164087321 
---------- 1 

 
 
1164087355 
---------- 1 

 
1164087388 
---------- 1 

 
1164087421 
---------- 1 

 
1164087455 
---------- 1 

 
1164087488 
---------- 1 

 
1164087521 
---------- 1 

 
1164087555 
---------- 1 

 
1164087588 
---------- 1 

 
1164087621 
---------- 1 

 
1164087655 
---------- 1 

 
1164087688 
---------- 1 

 
1164087721 
---------- 1 

 
1164087755 
---------- 1 

 
1164087771 
---------- 1 

 
1164087771 
---------- 1 

 
1164087771 
---------- 1 

 
 
 
1164087788 
---------- 1 

 
1164087821 
---------- 1 

 
1164087855 
---------- 1 

 
1164087888 
---------- 1 

 
1164087921 
---------- 1 

 
1164087955 
---------- 1 

 
1164087988 
---------- 1 

 
1164088021 
---------- 1 

 
1164088055 
---------- 1 

 
1164088088 
---------- 1 

 
1164088121 
---------- 1 

 
1164088155 
---------- 1 

 
1164088188 
---------- 1 

 
1164088221 
---------- 1 

 
1164088255 
---------- 1 

 
1164088288 
---------- 1 

 
1164088321 
---------- 1 

 
 
1164088355 
---------- 1 

 
1164088388 
---------- 1 

 
1164088421 
---------- 1 

 
1164088454 
---------- 1 

 
1164088488 
---------- 1 

 
1164088521 
---------- 1 

 
1164088555 
---------- 1 

 
1164088588 
---------- 1 

 
1164088621 
---------- 1 

 
1164088655 
---------- 1 

 
1164088688 
---------- 1 

 
1164088721 
---------- 1 

 
1164088755 
---------- 1 

 
1164088771 
---------- 1 

 
1164088771 
---------- 1 

 
1164088771 
---------- 1 
 
 
1164088788 
---------- 1 

 
1164088821 
---------- 1 

 
1164088855 
---------- 1 

 
1164088888 
---------- 1 

 
1164088921 
---------- 1 

 
1164088955 
---------- 1 

 
1164088988 
---------- 1 

 
1164089021 
---------- 1 

 
1164089055 
---------- 1 

 
1164089088 
---------- 1 

 
1164089121 
---------- 1 

 
1164089155 
---------- 1 

 
1164089188 
---------- 1 
  
 
1165029457 
-------------------------------------------------------- Invalid timestamp 1165029457 - 1164089188 
---------- 1 

 
1165029491 
---------- 1 

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testRTSPClient.cpp
Type: text/x-c++src
Size: 22666 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130717/213e45fd/attachment-0001.bin>


More information about the live-devel mailing list