How to parse RTCP messages

*nix specific usage questions
jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

How to parse RTCP messages

Postby jgg » 20 Oct 2008 21:39

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to parse RTCP messages

Postby Rémi Denis-Courmont » 21 Oct 2008 17:10

Depends why you want to parse them.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: How to parse RTCP messages

Postby jgg » 21 Oct 2008 17:29

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to parse RTCP messages

Postby Rémi Denis-Courmont » 21 Oct 2008 18:16

When it comes RTSP, RTCP is currently handled inside liblive555, not by VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: How to parse RTCP messages

Postby jgg » 22 Oct 2008 20:57

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

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: How to parse RTCP messages

Postby jgg » 30 Oct 2008 15:45

Any idea?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests