Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-11 Thread Francisco Feijoo
Great! Now is working as I wanted. I have some other questions regarding trick play that I'll ask in a different thread. Thanks a lot for your help. 2013/9/11 Ross Finlayson > How could I know in the client end what is the actual frame time? Is there > any standard way of doing this? > > > Y

Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-11 Thread Ross Finlayson
> How could I know in the client end what is the actual frame time? Is there > any standard way of doing this? Yes, what you're looking for here is "normal play time". As a RTSP client, you can get this by calling "MediaSubsession::getNormalPlayTime()" on your "MediaSubsession" object,

Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-11 Thread Francisco Feijoo
Hello Ross, You are right, I was setting fPresentationTime incorrectly in the server end for 'trick play'. I was trying to set it as the "actual frame time" (when the frame was recorded), which as you said is wrong. How could I know in the client end what is the actual frame time? Is there any st

Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-10 Thread Ross Finlayson
Another possibility is that you're not setting presentation times correctly at the server end. The presentation times should be aligned with 'wall clock' time - i.e., the time that you'd get by calling "gettimeofday()". This is true even when you resume after pausing, and/or seek within the un

Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-10 Thread Ross Finlayson
> I have subclassed OnDemandServerMediaSubsession and added support for 'trick > play' using absolute times. All is working fine but the client (which is also > using Live555) is receiving wrong timestamps from the server after pause/play > is triggered. Basically I follow these steps: > > 1 -

Re: [Live-devel] Absolute seekStream - problem with timestamps

2013-09-10 Thread Francisco Feijoo
Hello Ross, Thanks for your quick response. Yes, the client is synchronized. I also checked that all the frames sent from the server where received on the client at the moment of pause (I log all of them in both sides and are all sent/received). I'll check if I can reproduce the problem with the

[Live-devel] Absolute seekStream - problem with timestamps

2013-09-10 Thread Francisco Feijoo
Hello Ross, I have subclassed OnDemandServerMediaSubsession and added support for 'trick play' using absolute times. All is working fine but the client (which is also using Live555) is receiving wrong timestamps from the server after pause/play is triggered. Basically I follow these steps: 1 - Cl