Hi,
I am working on "live555MediaServer" class. Now to make our own Media
Server, we can reuse
MPEG1or2DemuxedServerMediaSubsession<http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html>which
is subclass of
OnDemandServerMediaSubsession<http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html>
.

Now my question is that, by using the function

float MPEG1or2DemuxedServerMediaSubsession::duration
<http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html#9f60b4fb7800c8dc305c189a76d6bf7b>()
const {

   return fOurDemux
<http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html#f449f9ef53213ced4475cea3c788eba7>.fileDuration
<http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2FileServerDemux.html#46bcdf975eb50ef595c814d7d5617b1a>();

}

This will give us the file duration in seconds and milliseconds of any
media file. How can we get the current
playing (seeking) position when we are streaming any media file (e.g.
mpg) by using live555MediaServer program
inside MPEG1or2DemuxedServerMediaSubsession
<http://www.live555.com/liveMedia/doxygen/html/classMPEG1or2DemuxedServerMediaSubsession.html>
subclass.

Regards,
AAMER
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to