Hello, all
<br>
I've read the FAQ about synchronization. It says that the parameter
presentationTime passed to afterGetFrame() can be used to synchronize,
but I can't figure out how to use the parameter. I even can't understand
the exact mean of the parameter. Is it the same as the
MediaSource::fPresentationTime exactly? In other words, if in my
MultiFramedMediaSource::doGetNextFrame() implementation, I set
fPresentationTime={1000,1000} for one particular frame, the receiver
should get a presentationTime={1000,1000} for this frame when call
afterGettingFrame, shouldn't it?
<br>
<br>
Another attribute of MediaSource I don't understand is
fDurationInMicroseconds. In the above example, I set it to 10000 in
MultiFramedMediaSource::doGetNextFrame, but I always get a 0 for
durantiontimeInMicroseconds in afterGetttingFrame(), why?
<br>
<br>
Thanks in advance
<br>
<br clear="all"><br>-- <br>Best regards<br><br>Shixin Zeng