Help for packet loss value in VLC

This forum is about all development around libVLC.
luca.prono
New Cone
New Cone
Posts: 4
Joined: 28 Apr 2009 10:01

Help for packet loss value in VLC

Postby luca.prono » 21 Sep 2009 09:34

Hi everybody,
I hope this is the correct section ;) I am developing a server/client scalable (H.264/SVC) streaming with VLC. On server side, I would like to adapt the stream depending on the packet loss value. I've already implemented an adaptive system but with a counter (every time the counter reach 500, the server upgrade/downgrade the layer). Now I have to change from the counter to the packet loss value.

Where I can get this value inside the VLC code?

Thanks for your help!

Luca

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

Re: Help for packet loss value in VLC

Postby Rémi Denis-Courmont » 21 Sep 2009 17:51

Currently, VLC does not keep track of packet loss (except to report discontinuities).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

luca.prono
New Cone
New Cone
Posts: 4
Joined: 28 Apr 2009 10:01

Re: Help for packet loss value in VLC

Postby luca.prono » 21 Sep 2009 18:06

Thanks for your reply :)
In the VLC code is instead possible to have the numberof RTP packet received from the start of transmission or from a definite point of time?

Thanks again :)

Luca

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

Re: Help for packet loss value in VLC

Postby Rémi Denis-Courmont » 21 Sep 2009 20:43

You can infer it from the number of blocks that the packetizer or the decoder receives.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 35 guests