[Live-devel] frame headers
Matthew Romaine
Matthew.Romaine at jp.sony.com
Wed Feb 2 16:37:02 PST 2005
Hi Ross,
A few questions regarding the below topic:
On 2005/01/29, at 2:48, Ross Finlayson wrote:
>> But my question was more whether frame-specific headers should be
>> inserted into the data buffer in a FramedSource (i.e, when reading
>> from a file, its doGetNextFrame function), or in an RTPSink's
>> doSpecialFrameHandling ...
> In principle, the right place to do this would be in your "RTPSink"
> subclass. However, the base classes ("RTPSink" and
> "MultiFramedRTPSink") have not yet been set up (with appropriate
> virtual functions, etc.) to let you do this properly. (It will
> currently let you set up a RTP-specific header before a single frame
> of data in the packet, but not before *multiple* frames of data in the
> packet.)
>
> So, at least for now, you should fill in your RTP-specific headers -
> along with your frame data - in the ("FramedSource" or "FramedFilter")
> subclass that will feed into your "RTPSink" subclass. Admittedly, this
> is a 'layering violation' (RTP-specific stuff should really remain
> within your "RTPSink" subclass), but it seems to be the only way to do
> what you want for now.
what other payload formats currently supported by the liveMedia package
are taking this route to resolve the issue? Are there enough to inspire
a new release that will fix the 'layering violation'?
thanks,
matt
More information about the live-devel
mailing list