[Live-devel] GSM with SimpleRTPSink & WAVAudioFileSource.

David Wu davidw at aten-ca.com
Thu Feb 17 12:11:36 PST 2005


I'm using WAVAudioFileSource & SimpleRTPSink as a foundation to implement GSM recording source. Now, I have three questiones:

1. Should I make fFrameSize always be like "number * 33" (33 is GSM base frame)? How can I assure  that the receiver always get the whole 33 bytes?
2. Should I put as much data into a frame as the encoded data ? or I have calculate according to the orginal PCM timing?
3. In source, there is something like:
fDurationInMicroseconds = fLastPlayTime
        = (unsigned)((fPlayTimePerSample*fFrameSize)/fBytesPerSample);
but there should be some difference between fDurationInMicroseconds and fLastPlayTime, how to set them ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20050217/7ff4f2ba/attachment.html


More information about the live-devel mailing list