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
 
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to