[Live-devel] RTSP Server

Jeremy Noring kidjan at gmail.com
Thu Jul 23 08:31:06 PDT 2009


On Wed, Jul 22, 2009 at 2:57 AM, <tm18174 at salle.url.edu> wrote:

>
> I want to develop  a server which streams H264 video (not on demand, just
> begins the streaming as soon as one client is connected, and uses the same
> stream for all the others clients connected; stops streaming when there's
> no clients connected).


What you just described is an "on-demand" RTSP server; when a client
connects, the stream is started.  Take a look at the samples; they function
exactly how you describe it (stream starts when first client connects,
subsequent connections reuse the first stream).


>
>
> As far as i've seen, i have to:
>
> -create my own H264MediaSubsession class
> -create RTSPServer and add my new subsession class
> -create H264RTPSource and provide the video source to this class
> -create H264RTPSink to handle the streaming itself
>

That's pretty much it.  You also need to know something about the H.264
stream your encoder produces (how to get SPS/PPS, something about what NALU
it outputs, etc.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090723/9c65b733/attachment-0001.html>


More information about the live-devel mailing list