Directly from your drone to the world, via the the cloud
I have a DJI Phantom 3 Standard drone and love to fly it around. You can get some really amazing shots from all sorts of unique perspectives.
Usually, I simply use the DJI GO app to record video during flight and then download it from the SD card later for processing/editing. But DJI also offers the ability to live-stream the video to sites like YouTube and Facebook. That is pretty cool, but I wanted to live-stream the video to a custom site. The DJI GO app does support streaming to a custom RTMP endpoint, and since Azure Media Services allows ingesting live video via RTMP, I figured it would be a great fit.
Microsoft's own documentation does an OK job of explaining how to set up live video ingest, but it glosses over a few important bits of info. There are also a couple of gotchas when configuring the drone streaming settings, so here is the complete and accurate steps to stream live video from your drone.
At this point, Azure is ready to ingest the incoming video stream and encode it into multi-bitrate streams that can be consumed by clients.
Over in the DJI GO app...
NOTE: You must add an additional
/mystream to the end of the url that you copied from the Azure portal. The value is not important, but the ingest will not work without the extra path info.
When you are live streaming, the DJI GO app will show an indicator in the upper left corner.
At this point, you are broadcasting your live stream to the world. The Azure portal has a handy feature that lets you view the live stream directly in the portal (as well as providing the live stream url).
How to work around an ARM template limitation when using a Key Vault certificate in a Web App
Quick updates on some Roku libraries that I recently released
How to ensure your CORS headers are properly returned with HTTP error responses on ASP.NET Core
Azure Functions Proxies are awesome - here are just a few ways to leverage them
Although AWS Lambdas are the default, it is dead simple to use Azure Functions for your Alexa skill as well