<!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] TS over UDP (or
RTP)</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">My question then is do I have to create a FramedSource
derived class</font></blockquote>
<div><br>
Yes.<br>
</div>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF">and which methods do I have to
implement/override?</font></blockquote>
<div><br>
doGetNextFrame()<br>
</div>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#0000FF"> If you can point me at a example of this it
would be great.</font></blockquote>
<div><br></div>
<div>There are several in the code. However, for a template of
how to do this, see "DeviceSource.cpp".</div>
<div><br></div>
<div>Also, for an example of code that reads from a capture devlce,
converts it into a Transport Stream, collects Transport Stream packets
into groups of 7, and then streams it via RTP, see the
"wis-streamer" code - http://www.live555.com/wis-streamer/ -
in particular,
"WISMPEG2TransportStreamServerMediaSubsession.cpp"</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>