TelloGo icon indicating copy to clipboard operation
TelloGo copied to clipboard

Direct streaming (without transcoding)

Open oliverpool opened this issue 4 years ago • 3 comments

Hi,

I have been playing with pion and a Tello drone as well (using the gobot library). And I found a way to directly stream the h264 frames of the Tello to the browsers (hence a pure go solution, without any transcoding). If you are interested, here is my repo: https://github.com/oliverpool/tello-webrtc-fpv

The tricky part is here: https://github.com/oliverpool/tello-webrtc-fpv/blob/master/tello.go#L55 (buffering and splitting the video bytes, to have frames readable by all browsers supporting H264).

oliverpool avatar Apr 30 '20 17:04 oliverpool

@oliverpool that's so awesome! Thank you for sharing 😄

Ragnar-H avatar May 06 '20 15:05 Ragnar-H

I went ahead and linked it in this section of the README I hope that's OK :)

Ragnar-H avatar May 06 '20 15:05 Ragnar-H

Sure, that's a good idea! I did the same in my readme :smiley:

oliverpool avatar May 06 '20 18:05 oliverpool