On Wed, Jul 22, 2009 at 2:57 AM, <tm18...@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.)
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel