[Live-devel] Using own decoder within live 555

Ross Finlayson finlayson at live555.com
Sun Aug 6 07:23:49 PDT 2006


>I have to develop an application which recieve RTP stream (Mpeg2 or 
>Mpeg4) , decode it then encode it (with user defined parameters) and 
>then send it again as RTP stream.
>
>RTPSource --> Decode ---> Encode ---> RTPSink
>
>According to FAQs ..... in order to send encoder output to RTPSink, 
>one has to write FramedSource subclass than encapsulate the encoder 
>and delievers audio or video frames directly to the appropriate 
>RTPSink.
>
>  But what about the Decoder. How to get frames from RTPSource ?

Call
	yourRTPSourceObject->getNextFrame( ... )

There are several examples in the code of this (search for "getNextFrame(")
-- 

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


More information about the live-devel mailing list