Re: [Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV?

2011-02-02 Thread Ross Finlayson
When progress >= duration I do a 'loop' on the stream, something like (sorry i dont have the code here): pauseStream seekStream (to the abs byte 0) startPlaying That work fine when I stream a MPEG1or2* file, but when I stream using the way I just mentioned (MPEG4 + ADTS), it does not work. D

Re: [Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV?

2011-02-02 Thread Jonathan Granade
Ross, I checked what you mentioned about the duration... I see that fDurationInMicroseconds is filled where you said, but method duration() of OnDemandServerMediaSubsession is always 0 for both streams, while if I stream a mpeg file with MPEG1or2* objects, duration() method returns the durati

Re: [Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV?

2011-02-02 Thread Jonathan Granade
I learned that I should not modify the source code Ross ;) I did not modify any part of the code, anything change I need, I make subclasses. I want to finish this to make a test and send it here, maybe you can add it to the lib or maybe it will be useful for somebody. I need to check about