[Live-devel] how to send RTX header extension?

Tsahi Etziony tsahi at vicon.co.il
Tue Nov 3 07:19:59 PST 2009


I am using the wis-streamer to send h.264 frames over rtp/rtsp, and testing
it by watching the stream with VLC player.
I wanted to add RTP header extension to the RTP packets, and I have some
problems.
 
I have  RTPSink class that inherits from the MultiFramedRTPSink class, and I
implemented the following two virtual functions:
-          doSpecialFrameHandling() - it adds words to the special header
(which I understood it is the RTP header extension), and then calls the
original doSpecialFrameHandling() function.
-          specialHeaderSize() - it returns the size of the special header
in 32bit words.
 
the first problem I have is that I didn't find any section of the code that
turns on the 'header extension exists' bit in the RTP header. I added it
manually in buildAndSendPacket() function.
 
The second problem I have is that now that the packets are sent with the
extension (according to a network sniffer), the VLC player displays bad
video. 
 
I have a few questions:
1.       is the special header equivalent to the header extension?
2.       Where is the 'header extension exists' bit in the RTP header being
turned on?
3.       What did I forget? What am I doing wrong?
 
Thanks
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091103/c0c929a9/attachment-0001.html>


More information about the live-devel mailing list