Closed The-Michael-Chen closed 5 months ago
Hey @The-Michael-Chen,
Which targetSdk
is configured in your build.gradle
file?
Please also review the discussion here about Android 13: https://github.com/DragonX-cloud/dji_flutter_plugin/issues/22
The target.SDK is 31. To give some more details, the app ran great, everything works but the live stream doesn't connect.
Hmm... 🤔 Do you see any errors in the logs? Which Drone and which device are you testing with?
It says video start failed, i'm testing with the Mini 2 drone and the Moto g stylus 2023. In the logs the only error I see is "lambda$getWifiLinkLayerStats_1_5_Internal$3(l.0) failed {.code = ERROR_UNKNOWN, .description = unknown}"
i also tested with the galaxy A13 and got the same exact issue!
i haven't made any edits to the example code! I'm just running it out of the box from a github clone
And your device is connected by cable to the remote control of the Drone? Or via WiFi directly to the Drone?
It's connected via cable to the remote controller of the drone
Hey @The-Michael-Chen I'll attempt to reproduce as soon as I can and get back to you. (It might take some time)
Hey @The-Michael-Chen
Can you please attempt the following?
Thanks!
Hey @The-Michael-Chen
Please note I've just pushed v1.0.13 which includes an updated DJI Mobile SDK for Android (v4.17).
Please fetch the latest plugin from pub.dev and give it a shot:
https://pub.dev/packages/dji
I've tested on both Android 12 and Android 13 (with DJI Mavic Air) and the live feed worked for me on both.
In any case, assuming the latest version (v1.0.13) still won't work for you - then please try what I wrote in my previous post and send me the logs.
Hey @The-Michael-Chen I hope you got my last message above. I'm closing for now.
Example app live video feed doesn't work for android 13