<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19400"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>
<DIV>> But after first call this function the value of mostRecentPresentationTime and initialPresentationTime will be reset to zero.</DIV>
<DIV>>No you're wrong. Those values get set to zero only when the "RTPSink" object is created.</DIV>
<DIV> </DIV>
<DIV>But I see those values get set to zero when the "RTPSink" continue to play
after the pause:</DIV>
<DIV> </DIV>
<DIV>
<DIV>OnDemandServerMediaSubsession::startStream(...){</DIV>
<DIV style="TEXT-INDENT: 2em">......</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>if (rtpSink != NULL) {</DIV>
<DIV> <FONT
color=#ff0000><STRONG>rtpSink->resetPresentationTimes();</STRONG></FONT></DIV>
<DIV
style="TEXT-INDENT: 4em">rtpSeqNum = rtpSink->currentSeqNo();</DIV>
<DIV> rtpTimestamp = rtpSink->presetNextTimestamp();</DIV>
<DIV>}</DIV></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV>}</FONT></DIV></DIV></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2013-03-23
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>kingaceck</SPAN>
</FONT></DIV></FONT></BODY></HTML>