I need to stream H264 video from linux device to PC. I write both the sender and receiver part but would like to comply to the standard way of streaming it, so: How should I packetize the video? Should it be NAL packets or should I put it into transport stream?

For streaming, it is generally better to stream video and audio separately, using their own specialized RTP payload formats. To stream H.264 video, see http://www.live555.com/liveMedia/faq.html#h264-streaming

You will then write a "ServerMediaSubsession" subclass that uses your H.264 video source, and your "H264VideoStreamFramer" subclass, to send RTP packets via a "H264VideoRTPSink". Then use this in a "RTSPServer".
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to