[Live-devel] RTSP Client subclassing questions.
Cristiano Belloni
belloni at imavis.com
Fri Jan 18 04:00:36 PST 2008
Ross Finlayson wrote:
>> However, I need some info: the camera I'm contacting does not send normal
>> video frames, but custom ones. I need to unpack every RTP packet (_in
>> order_), read the custom headers, reconstruct the frames and decode them
>> on the fly.
>>
>
> Because your 'custom headers' are not RTP-specific, but are instead
> part of your payload, you should not write any new RTP-specific code
> for this. Instead, just have the object that reads from your
> "RTPSource" (subclass) object do the processing/decoding of these
> custom frames.
>
>
Ehm, sorry, I didn't understand your answer. Do you mean I should
subclass RTPSource?
What's exactly the object that reads from it?
--
Belloni Cristiano
Imavis Srl.
www.imavis.com <http://www.imavis.com>
belloni at imavis.com <mailto://belloni@imavis.com>
More information about the live-devel
mailing list