Hi there !
I have some issue with uploading videos > 5MB with chunks :
For any APPEND I send, i got this error:
stdClass Object ( [request] => /1.1/media/upload.json [error] => segment size must be >= 1 java.nio.HeapByteBuffer[pos=64 lim=64 cap=66]. )
then for FINALIZE, I got:
stdClass Object ( [request] => /1.1/media/upload.json [error] => Segments do not add up to provided total file size. ) stdClass Object ( [errors] => Array (  => stdClass Object ( [code] => 324 [message] => Invalid media id 876826896708849664 ) ) )
But I’m sure the total bytes are well equal…
Does someone had the same issue ?