UCA4SVR / TOUCAN-VR

Testbed Oriented to User-Centric Approach in Networking for Virtual Reality
Apache License 2.0
12 stars 5 forks source link

Feature/new discarding #79

Closed wasp898 closed 7 years ago

wasp898 commented 7 years ago

This is a pull request for the new discarding strategy.

Every time a new download has to be scheduled, we can check whether we should discard some chunks before. Chunks are actually discarded if:

For testing we need newly encoded videos, so as to avoid that drift in the timestamps that we experienced in the app. The basketball video, and the counter are okay instead. The parameters that I considered are 1 second as minimum safe margin and 6 seconds as maximum (also used for computing the max distance of the next snap change from the playback position), but of course, being parameters, they can be adjusted. Finally, I would suggest you to set the buffer size to 10 seconds (for both the minBufferSize and the maxBufferSize).

If something doesn't make sense (both in the code and in this post :D) we can talk about it whenever you want 👍