[vlc-devel] [PATCH] Add option to change network cache while playing video
Paulo Vitor Magacho da Silva
pvmagacho at gmail.com
Tue Oct 27 13:58:57 CET 2015
2015-10-27 10:40 GMT-02:00 Rémi Denis-Courmont <remi at remlab.net>:
> Le 2015-10-27 15:02, Paulo Vitor Magacho da Silva a écrit :
>> 2015-10-27 9:54 GMT-02:00 Rémi Denis-Courmont <remi at remlab.net >:
>> Le 2015-10-27 14:51, Paulo Vitor Magacho da Silva a écrit :
>>> Yes, PTZ means pan, tilt, zoom. The network cache introduces a
>>>> between the PTZ command and the video response. In a normal live
>>>> stream 500ms-1000ms is ok for network cache, but when using PTZ,
>>>> reduced network cache around 100ms is more appropriate.
>>> This seems backward to me. If you can and sometimes need low
>>> latency, then just use low latency at all times.
>> The issue is that the application can have multiple videos being
> So what? Each LibVLC media player instance has its own buffers and clock.
Yes, but they are all using the same network interface. That is why when
playing many videos at once (here we are talking up to 16 videos at once) a
larger network cache is advisable to cope with network issues (TCP packet
loss, latency, etc).
The application I am developing needed a way to reduce/increase the network
cache without having to restart the video stream. If there is any way of
doing that with the current API available I will be glad to hear. However,
I could not find and that is why I've developed this patch.
If you think this might not be useful to other applications, ok. Otherwise,
do you have any comments on the implementation itself?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel