Overview
Here is a rough proposed solution for drone HLS streaming. In this solution, we will stream the drone’s camera feed to RTSP and then convert it to HLS. The HLS stream will be accessible to clients through an HLS player application.
Explanation
In this solution, there are three module required to develop
Android Application to make RTSP stream
An Android application is utilized to convert the drone’s camera feed into an RTSP stream, which is then relayed to a server for HLS conversion. Gstreamer is employed for this conversion within the Android application.
Server to convert RTSP stream to HLS live playlist
This server accepts an RTSP URL as input, converting it into an HLS playlist and transporting stream chunks. To achieve adaptability, we must develop a Gstreamer pipeline that transcodes the same stream into various resolutions. master.m3u8 contains a playlist with different resolutions (Playlist480p.m3u8 and Playlist720p.m3u8).
Web Application to play HLS playlist
Do develop a web application designed to playback an HLS playlist. This application will provide users with the capability to seamlessly access and view the content delivered through the HLS stream, ensuring a smooth and interactive experience.