RTP statistics

About encoding, codec settings, muxers and filter usage
evertek
New Cone
New Cone
Posts: 6
Joined: 16 Jul 2008 18:54

RTP statistics

Postby evertek » 18 Jul 2008 23:23

I would like to get the packet loss from RTP for a streaming program I am working on. I'm using libvlc and I've gotten access to the input_item stats, but this is just generic media stream info. Does anyone know a good way to look at RTP packet loss or if there is plans to add this to the RTP module. If not, I'd be interested in looking into it, so if anyone has any information on it, please let me know. Thanks.

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

Re: RTP statistics

Postby Rémi Denis-Courmont » 22 Jul 2008 12:46

Unfortunately, the RTCP statistics are not currently collected by VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yuniara
New Cone
New Cone
Posts: 9
Joined: 08 Jul 2008 08:54

Re: RTP statistics

Postby yuniara » 03 Aug 2008 14:17

I want to know the value of timestamp in RTP header , but i dont know how to do it . would everyone like to give me some helps to solve this problem ? I want to show the value ( in VLC in client side) of sent time and arrived time of every packets sent by VLC in server side to VLC in Client Side.

Thank You

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

Re: RTP statistics

Postby Rémi Denis-Courmont » 03 Aug 2008 14:40

The RTP receiver converts the RTP timestamp to the VLC clock frequency (1MHz) and stores the resulting PTS to the i_pts field of the received data block. The codec can simply read the p_block->i_pts value if it needs the RTP timestamp.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yuniara
New Cone
New Cone
Posts: 9
Joined: 08 Jul 2008 08:54

Re: RTP statistics

Postby yuniara » 06 Aug 2008 08:31

Thank You
Sorry, I'm still confuse,

Where can I get sent time and arrived time of each packet in VLC Code in Client Side (not server side) ?

Thank You So Much

yuniara
New Cone
New Cone
Posts: 9
Joined: 08 Jul 2008 08:54

Re: RTP statistics

Postby yuniara » 06 Aug 2008 09:35

If I Streamed a video file from VLC in server side to VLC in Client side with RTP, what first code/module in VLC Client Side is accept this stream ?

I want to know the value of p_block->i_pts while I'm streaming a video file ? how can I do it ?

Thank You...


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests