Page 1 of 1

Help for packet loss value in VLC

Posted: 21 Sep 2009 09:34
by luca.prono
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

Re: Help for packet loss value in VLC

Posted: 21 Sep 2009 17:51
by Rémi Denis-Courmont
Currently, VLC does not keep track of packet loss (except to report discontinuities).

Re: Help for packet loss value in VLC

Posted: 21 Sep 2009 18:06
by luca.prono
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

Re: Help for packet loss value in VLC

Posted: 21 Sep 2009 20:43
by Rémi Denis-Courmont
You can infer it from the number of blocks that the packetizer or the decoder receives.