[Live-devel] Writing RTSP server

Jasleen Kaur Jasleen at beesys.com
Wed Oct 8 22:53:58 PDT 2014


________________________________
From: live-devel [live-devel-bounces at ns.live555.com] on behalf of Ross Finlayson [finlayson at live555.com]
Sent: Wednesday, October 08, 2014 1:18 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Writing RTSP server

Currently uncompressed ARGB data is given out from our custom source and following is the code written increateNewRTPSink  of our MedisSubSession class.(which we wish to compress into H.264 and then stream )

OutPacketBuffer::maxSize = 720*576*4; // by default
MultiFramedRTPSink* pSink = SimpleRTPSink::createNew(envir(), rtpGroupsock,

Because you're planning to stream H.264 video, you MUST use a "H264VideoRTPSink", not a "SimpleRTPSink".

Also, we do not support streaming uncompressed video, so you must compress your video (to H.264) before streaming it.

I suggest that you use the "testOnDemandRTSPServer" code as a model, noting in particular the "H264VideoFileServerMediaSubsession" class.  You will use a similar class in your server.

You should first familiarize yourself with how "testOnDemandRTSPServer" streams a H.264 video file (named "test.264").


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


Can we compress the data to H.264 using Live555 ? Any component ?

Regards
-Jasleen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141009/a456ff00/attachment.html>


More information about the live-devel mailing list