[Live-devel] RTSP Client subclassing questions.

Ross Finlayson finlayson at live555.com
Fri Jan 18 06:45:01 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?

I'm saying that you might not need to write any new (sub)classes at 
all.  Can you tell me some more about what your data looks like - 
i.e., what video codec are you using, and how is the data different 
from the standard?
-- 

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


More information about the live-devel mailing list