<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] JPEGVideoRTPSink and Restart
markers</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">I'm dealing
with Onvif too and I need to extend JPEGVideoSource, call it
JPEGVideoSourceEx. How to make the MediaSubsession create a
JPEGVideoSourceEx class instead of a
JPEGVideoSource.</font></blockquote>
<div><br></div>
<div>You don't - because "MediaSession* is used for *receiving*
JPEG/RTP streams. It doesn't deal with "JPEGVideoSource"
objects at all.</div>
<div><br></div>
<div>A "JPEGVideoSource" is used when *transmitting*
JPEG/RTP streams. (An object of this type is fed into a
"JPEGVideoRTPSink".)</div>
<div><br></div>
<div>Note that "JPEGVideoSource" is an abstract base type.
You extend it using normal C++ subclassing.</div>
<div><br></div>
<div>However, what this thread is talking about is adding support for
JPEG 'restart markers'. Doing this will require modifying
"JPEGVideoSource" (while still keeping it as an abstract
base class) and modifying "JPEGVideoRTPSink".</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>