Ziggeo / android-sdk-demo

Ziggeo's Android Client SDK 2.0
Apache License 2.0
8 stars 5 forks source link

Video upload progress is return wrong values. #44

Closed smihir94 closed 12 months ago

smihir94 commented 1 year ago

After recording the video, while uploading I believe we're getting the wrong values in the below callback function.

void uploadProgress(@NonNull String videoToken, @NonNull File file, long uploaded, long total);

uploaded bytes have greater value compared with total bytes. Attached is SS for reference. Can someone from the team help me with this?

using implementation 'com.ziggeo:android-sdk:2.6.20'

image

Bane-D commented 12 months ago

Hey Mihir,

That does look off to me as well. At first (before seeing screenshot) I thought the numbers were not too much apart which would be possible when the uploaded bytes are not recognized / corrupted and they get re-uploaded again, however seeing how much the difference is it would be best looked into by my colleague.

Assigning to him so he can get back to you on this.

In the mean time can you please let us know if this happens every time and if you are using same file if the values are same or different every time?

smihir94 commented 12 months ago

Thank you @Bane-D

Yes, this happens every time after recording the video, when the video is being uploaded to the server. So yeah the values and files are different every time.

3akat commented 12 months ago

Hi @smihir94 Please try 2.6.21 version

smihir94 commented 12 months ago

Thank you @3akat. It's working fine now.