Page 1 of 1

How to parse RTCP messages

Posted: 20 Oct 2008 21:39
by jgg
Hi,

I would like to know which libraries could I use to parse RTCP messages sent in a streaming transaction with VLC server and clients. Any experience or piece of advice would be much appreciated.

Thank you all.

Re: How to parse RTCP messages

Posted: 21 Oct 2008 17:10
by Rémi Denis-Courmont
Depends why you want to parse them.

Re: How to parse RTCP messages

Posted: 21 Oct 2008 17:29
by jgg
I want to implement a streaming adaptation module that could switch between high and low quality streams. In order to take such decision I need some performance parameters such as those given by RTCP messages (mainly loss and jitter).

As I am using VLC in both server and client sides I would like to know if I there is any way to get RTCP information so I can use it in my module. Any other idea will be highly appreciated.

By the way, any kind of support to MP4Box? With SETUP RTSP messages the session could be switched between different quality streams of the same MP4 container.

Thanks.

Re: How to parse RTCP messages

Posted: 21 Oct 2008 18:16
by Rémi Denis-Courmont
When it comes RTSP, RTCP is currently handled inside liblive555, not by VLC.

Re: How to parse RTCP messages

Posted: 22 Oct 2008 20:57
by jgg
Thanks.

However, I've analyzed sent RTCP messages and client (VLC) sends the packets to the TCP multiplexer port instead the streaming port +1. I also use VLC (configured with VLM's telnet interface) in the server side. I gave it a try some time ago with VLC 0.8.6e and now with 0.9.4 and the issue persists. Besides that, I've also given a try to live555 test applications and their RTSP media server and, with VLC as client, it works properly: VLC sends RTCP messages to the correct port.

Any idea of why is this happening? Is this a live555 or a VLC bug? If not, how can I work around it?


Thank you so much,
Javi

Re: How to parse RTCP messages

Posted: 30 Oct 2008 15:45
by jgg
Any idea?