These are chat archives for dronekit/dronekit-android

Oct 2015
Oct 19 2015 08:57
@ne0fhyk Hi ! what video protocol/format should the drone send to Tower? Is there an easy ffmpeg(or other) command to send video to Tower? Thx
Fredia Huya-Kouadio
Oct 19 2015 09:02
@jlbilou93 I'm updating the wiki with a sample. So far I've successfully tested using gstreamer on a ubuntu machine:
Oct 19 2015 09:04
@ne0fhyk Ok thank you, I ll test with gstreamer
Fredia Huya-Kouadio
Oct 19 2015 09:05
gst-launch videotestsrc ! 'video/x-raw, width=1280, height=720, framerate=(fraction)24/1' ! x264enc ! rtph264pay ! udpsink port=<device_port> host=<device_ip>
For that to work, you need the latest beta for 3dr services (v1.4.3 beta 2) as well as the latest beta for Tower (v3.2.1 beta 1)
@jlbilou93 By default, the tower video widget is configured for the solo video stream. The new beta adds a preference to switch it to a custom video stream and specify the udp port to listen on.
Randy Mackay
Oct 19 2015 10:51
@ne0fhyk, that is really cool!
Fredia Huya-Kouadio
Oct 19 2015 21:55
@rmackay9 thanks! I'll quickly expand on the feature during today's dev call.
Oct 19 2015 22:12
Probably a dumb issue, but I can't seem to get around it. I can't build the Tower app because I don't have the;2.3.+ aar file.
These instructions seem to imply it's simply a matter of adding it to the Gradle file, but I'm still getting build errors:

Error:A problem occurred configuring project ':Android'.

Could not resolve all dependencies for configuration ':Android:_betaInternalCompile'.
Could not find;2.3.+:.
Searched in the following locations:;2.3.+//dronekit-android;2.3.+-.pom;2.3.+//dronekit-android;2.3.+-.jar;2.3.+//dronekit-android;2.3.+-.pom;2.3.+//dronekit-android;2.3.+-.jar
Required by:

Fredia Huya-Kouadio
Oct 19 2015 22:25
@molecule you have a ; where a : should be :)
@molecule it should be instead of;2.3.+