[Live-devel] How to stream speex data with live555

Ross Finlayson finlayson at live555.com
Tue Jan 15 01:33:34 PST 2008


>I try to write an extension to live555 in order to grep raw audio 
>data and compress it into speex format, and then stream out the 
>compressed data.
>Due to my pore knowledge about live555, could anyone provide some 
>hint that where I can start?

You would need to write a filter class (i.e., a subclass of 
"FramedFilter") that does the encoding into Speex.  You would then 
feed this into a "SimpleRTPSink".  (Because the RTP payload format 
for Speex is so simple, you don't need to write your own "RTPSink" 
subclass for this.)

So, the chain of objects would be

	ByteStreamFileSource -> YourSpeexEncoderFilter -> SimpleRTPSink
-- 

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


More information about the live-devel mailing list