[Live-devel] Streaming non-standard JPEGs
Ross Finlayson
finlayson at live555.com
Thu Mar 22 11:08:54 PDT 2007
> >I don't recommend using RTP header extensions (our library doesn't
>>really support these).
>>
>>Instead, it would be better to include this information in the JPEG
>>header itself. (This way, it will get included in the JPEG image if
>>the receiver saves it to disk.) I believe that the JPEG standard
>>allows for this sort of information to be included in the JPEG header
>>(but I don't know the details).
>>
>>
>Yes, sure, JPEG has "Comment marker" (0xFE), but I don't know how to
>transfer these data using RFC 2435.
>Idea what I have now is insert "comment header" after "qtables" data.
Yes, I think that will work (provided that you set the 'length' field
in the special 'qtables' header appropriately. (RTP doesn't care
what that data actually contains; it just gets passed from sender to
receiver.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list