Capturing RTCP packets on VLC server

About encoding, codec settings, muxers and filter usage
amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Capturing RTCP packets on VLC server

Postby amitabhaghosh » 25 Jan 2011 23:10

Hi Everyone,

I'm trying to capture RTCP packets using Wireshark on the server. I think I'm doing something wrong. Here is my setup: From a server laptop, I send two unicast, RTP streams (the same video) to two different ports (even numbered) on a client laptop. I'm using VLC 1.1.5 and the following command line on the server:

% vlc myvideo.wmv --sout #duplicate{dst=display, dst=rtp{dst=<client_ip>,port=1234,mux=ts}, dst=rtp{dst=<client_ip>,port=1236,mux=ts}}

I can see the video playing on the server as well as on two instances of the VLC client (by opening network streams on appropriate ports). So things are getting streamed on the two ports and are playing correctly. However, on the server laptop, I have setup Wireshark to receive RTCP packets (filtered from ip.src=<client_ip>), but I don't see anything. Why is that? Do I need to use RTSP to get the RTCP packets?

thanks,
Amit

yzhsuper_dcu
New Cone
New Cone
Posts: 1
Joined: 31 Jan 2011 15:27

Re: Capturing RTCP packets on VLC server

Postby yzhsuper_dcu » 31 Jan 2011 15:46

I have the same problem!!
expecting someone to fix

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

Re: Capturing RTCP packets on VLC server

Postby Rémi Denis-Courmont » 31 Jan 2011 18:00

VLC does not send RTCP-RR for TS streams, as it is completely useless.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

amitabhaghosh
New Cone
New Cone
Posts: 6
Joined: 25 Jan 2011 22:54
VLC version: 1.1.5
Location: Princeton, NJ

Re: Capturing RTCP packets on VLC server

Postby amitabhaghosh » 31 Jan 2011 18:07

Hi Remi,
Thanks for your reply. Would you be so kind to modify the command (or write a new one) I have in my post so VLC sends RTCP-RR packets?
thanks,
Amit

wexins
New Cone
New Cone
Posts: 9
Joined: 25 Feb 2011 14:34

Re: Capturing RTCP packets on VLC server

Postby wexins » 22 Apr 2011 00:04

VLC does not send RTCP-RR for TS streams, as it is completely useless.
useless!!!! based on what....
if my vlc is a client and if i want to know what my server send to it. trust me it is really very usefull....

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

Re: Capturing RTCP packets on VLC server

Postby Rémi Denis-Courmont » 22 Apr 2011 19:34

The feedback you would get for RTCP-RR is considered totally useless by my MPEG-TS experts. As far as I understand, RTP/TS is mainly multicast. And I agree with them that RTCP-RR is harmful rather than helpful in multicast scenarii. By the way, VLC is not the only RTP/TS receiver that does not implement RTCP-RR.

That being said, if you are not happy, you're welcome to sponsor the extra work needed, or do it yourself. The code is open-source.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

wexins
New Cone
New Cone
Posts: 9
Joined: 25 Feb 2011 14:34

Re: Capturing RTCP packets on VLC server

Postby wexins » 22 Apr 2011 23:42

The feedback you would get for RTCP-RR is considered totally useless by my MPEG-TS experts. As far as I understand, RTP/TS is mainly multicast. And I agree with them that RTCP-RR is harmful rather than helpful in multicast scenarii. By the way, VLC is not the only RTP/TS receiver that does not implement RTCP-RR.

That being said, if you are not happy, you're welcome to sponsor the extra work needed, or do it yourself. The code is open-source.
Dear Remi, I would like to but really i dont have enough time for it i mean for the contribution ....and unfortunality i am not that much good coder as much as you guys...
now! maybe I can explain my problem and you can give an answer with your experience... I am using vlc as a client and i want to control how many packet vlc is getting and how much it displays? and aother question is about if there is no EOF does it mean that vlc couldnt decode and display it... for the prediction i need to know and i supose that rtcp is the way i can solve thats why i was that much insist about the rtcp rr...if i know that rtcp rr (i mean the client . rtcp receive report I can get then i can do something for the rr results...)
thank you for the asnwe i hope i was not unrespectful because always i respect to people who are smart as much as you guys (vlc)

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

Re: Capturing RTCP packets on VLC server

Postby Rémi Denis-Courmont » 23 Apr 2011 17:02

RTCP-RR does not do any of that. I don't think there is any way to do that with pure RTP/RTCP anyhow.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests