Hi,<br>I am working on "live555MediaServer" class. Now to make our own Media Server, we can reuse <span style="font-size: 10pt; line-height: 115%; font-family: "Courier New";"><a href="http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html"><span style="color:blue">MPEG1or2DemuxedServerMediaSubsession</span></a> which is subclass of </span><span style="font-size: 10pt; line-height: 115%; font-family: "Courier New";"><a href="http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html"><span style="color:blue">OnDemandServerMediaSubsession</span></a>.<br>
<br><font size="2">Now my question is that, by using the function </font></span><pre><font size="2"><span class="keywordtype">float</span> <a href="http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html#9f60b4fb7800c8dc305c189a76d6bf7b">MPEG1or2DemuxedServerMediaSubsession::duration</a>()<span class="keyword"> const </span>{</font></pre>
<pre><font size="2"><a name="l00133"></a><span>   </span><span class="keywordflow">return</span> <a href="http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html#f449f9ef53213ced4475cea3c788eba7">fOurDemux</a>.<a href="http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2FileServerDemux.html#46bcdf975eb50ef595c814d7d5617b1a">fileDuration</a>();</font></pre>
<pre><font size="2"><a name="l00134"></a>}<br><br>This will give us the </font>file duration in seconds and milliseconds of any media file. How can we get the current <br>playing (seeking) position when we are streaming any media file (e.g. mpg) by using live555MediaServer program<br>
inside <span style="font-size: 10pt; line-height: 115%; font-family: "Courier New";"><a href="http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html"><span style="color:blue">MPEG1or2DemuxedServerMediaSubsession</span></a> subclass.<br>
<br>Regards,<br>AAMER<br></span></pre>