Ziggeo / android-sdk-demo

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

Video uploading not starting #46

Open petrssk opened 6 months ago

petrssk commented 6 months ago

Hey, I'm having an issue with uploading recorded video. After video is recorded, SDK tries to upload it but it gets stuck during preparation.

Based on logs API returns 404 after request with first part of the video. I initially thought it is related with #45 issue but it didn't help in my case.

logs.txt

I don't set any special uploading config, just adding callback.

Ziggeo version: 2.6.25

When I tried old version 2.6.5 of the SDK everything worked just fine.

3akat commented 6 months ago

Hi @petrssk, can you please specify the device and the android version?

petrssk commented 6 months ago

I tried Pixel 7 (Android 14) and OnePlus 6T (Android 11), and both have the same issue.

petrssk commented 5 months ago

Any update about this?

Bane-D commented 4 months ago

Hi Petrssk,

Sorry for the wait on this. I believe that your issue might not really be the 404 rather something before that results in the 404 later on.

Can you please try moving the API calls to a [separate thread](https://developer.android.com/reference/java/lang/Thread#Thread()) instead of using the main thread?

For an example please see here: https://stackoverflow.com/a/3391287/6230588 (do note that the example is not recent, however should still apply).

Please let us know if this helps.

LukasVykuka commented 4 months ago

@Bane-D API is called by your Android SDK so it should handle it correctly. We just call startCameraRecorder() method. I can send you data from all requests and responses which lead to 404 but I should prefer more secure channel that github. Where can I send them to you?

Bane-D commented 4 months ago

Hi Lukas, you can send us an email to support@ziggeo.com, it would then only be visible by our support team.

It would be great if you can also include the details related to the Ziggeo account that you are using.