SDK throws exception when I try to play an uploaded video:
D/OkHttp: <-- 200 OK https://embed.ziggeo.com/v1/applications/bc90c5d7ed6f42fb08d3c8cb5e54875e/videos/7dbc6f70358ec226bca1825117d97e65 (231ms)
Access-Control-Allow-Credentials: true
D/OkHttp: Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Fri, 15 Oct 2021 23:00:14 GMT
Server: Apache
Vary: Accept-Encoding,User-Agent
X-Content-Type-Options: nosniff
X-Powered-By: PHP/7.1.33
Connection: keep-alive
<-- END HTTP
E/ZVideoView: java.io.IOException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1330 path $.effect_profile
at com.ziggeo.androidsdk.net.callbacks.BaseRxRequestCallback.onResponse(BaseRxRequestCallback.java:50)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:929)
Hi,
SDK throws exception when I try to play an uploaded video:
D/OkHttp: <-- 200 OK https://embed.ziggeo.com/v1/applications/bc90c5d7ed6f42fb08d3c8cb5e54875e/videos/7dbc6f70358ec226bca1825117d97e65 (231ms) Access-Control-Allow-Credentials: true D/OkHttp: Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS Access-Control-Allow-Origin: * Content-Type: application/json Date: Fri, 15 Oct 2021 23:00:14 GMT Server: Apache Vary: Accept-Encoding,User-Agent X-Content-Type-Options: nosniff X-Powered-By: PHP/7.1.33 Connection: keep-alive <-- END HTTP E/ZVideoView: java.io.IOException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1330 path $.effect_profile at com.ziggeo.androidsdk.net.callbacks.BaseRxRequestCallback.onResponse(BaseRxRequestCallback.java:50) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:929)
Can you please take a look into this? Thanks.