Aamer Sattar | 4 Aug 2011 12:28
Picon

Current playing position in live555MediaServer

Hi,
I am working on "live555MediaServer" class. Now to make our own Media Server, we can reuse MPEG1or2DemuxedServerMediaSubsession which is subclass of OnDemandServerMediaSubsession.

Now my question is that, by using the function

float MPEG1or2DemuxedServerMediaSubsession::duration() const {    return fOurDemux.fileDuration(); }

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 subclass.

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

Gmane