[Live-devel] Read h263 bytestream from a socket

Ross Finlayson finlayson at live555.com
Mon Aug 17 22:32:41 PDT 2009


>does anyone know how can i use a a socket, which stream h263 raw 
>bytestream, as a source for a live media server??

Use "fdopen()" to create a "FILE*" that encapsulates the socket, and 
then pass this "FILE*" to the second version of 
"ByteStreamFileSource::createNew()" (see 
"liveMedia/include/ByteStreamFileSource.hh").  (Unfortunately, this 
might not work if you're on Windows, because it's lame.)

Then, feed this into a "H263plusVideoStreamFramer", and then into a 
"H263plusVideoRTPSink".
-- 

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


More information about the live-devel mailing list