[Live-devel] Custom GSM file source

Ross Finlayson finlayson at live555.com
Mon Jul 9 09:52:00 PDT 2012


> What is involved with creating a file source for GSM files?

I don't know what GSM files look like.  But if they contain fixed-size frames, then it should be quite simple to write a "GSMAudioFileSource" class.

I *don't* suggest using "MP3FileSource" as a model; that code is old and crufty (plus, MP3 has variable-sized frames).  Instead, use "ADTSAudioFileSource" or "AMRAudioFileSource" as a model.  (Note, though, that those classes do synchronous file reading only.  However, because you're Windoze people, that might be the only way you can read files anyway.  But if you want to support asynchronous file reading as well, look at the "WAVAudioFileSource" code.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120709/a3f09879/attachment.html>


More information about the live-devel mailing list