[Live-devel] The question on how to handle the incoming H.264 RTP data of live555 server

Ross Finlayson finlayson at live555.com
Sat Apr 28 02:32:30 PDT 2012


> I am new to this live555 media server. I am trying to make a server running on ubuntu that can perform the following task:
> It gets h.264 video data over RTP from others (e.g. ffmpeg), then it will broadcast the video to other viewers( e.g. vlc player) via rtsp protocol.

If your H.264 video source is accessible via RTSP, then you could use our new "LIVE555 Proxy Server" application, which already does all of this:
	http://www.live555.com/proxyServer/


> After reading the codes of live555MediaServer.cpp and testOnDemandRTSPServer.cpp and some other files plus a little guessing, I think I shall prepare a class that will treat h.264 RTP data derived from OnDemandServerMediaSubsession. I call it H264VideoUDPServerMediaSubsession.
> 
>  In this class, function createNewStreamSource() will create an instance of class H264VideoStreamFramer

Almost.  Because the data source (a "H264VideoRTPSource") delivers discrete H.264 NAL units (i.e., one at a time), rather than a byte stream, you must use a "H264VideoStreamDiscreteFramer", not a "H264VideoStreamFramer".

Everything else looks correct, as far as I can tell.


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

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


More information about the live-devel mailing list