Truncating bytes to ensure consistent size of chunk.
Merge branch 'master' of https://github.com/yanlisa/P2PVideoShare