Direct streaming (without transcoding)
oliverpool opened this issue ยท 3 comments
oliverpool commented
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).
Ragnar-H commented
@oliverpool that's so awesome! Thank you for sharing ๐
Ragnar-H commented
I went ahead and linked it in this section of the README I hope that's OK :)
oliverpool commented
Sure, that's a good idea!
I did the same in my readme ๐