Page 1 of 1
RTP statistics
Posted: 18 Jul 2008 23:23
by evertek
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.
Re: RTP statistics
Posted: 22 Jul 2008 12:46
by Rémi Denis-Courmont
Unfortunately, the RTCP statistics are not currently collected by VLC.
Re: RTP statistics
Posted: 03 Aug 2008 14:17
by yuniara
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
Re: RTP statistics
Posted: 03 Aug 2008 14:40
by Rémi Denis-Courmont
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.
Re: RTP statistics
Posted: 06 Aug 2008 08:31
by yuniara
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
Re: RTP statistics
Posted: 06 Aug 2008 09:35
by yuniara
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...