go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

Question About RTMP freeze on some DJI Drones

Open unixforce opened this issue 1 month ago • 7 comments

I am experiencing problems with some DJI drones with RTMP streaming: the drone claims to have ‘prodMedias’ length = 2 (video + audio) but instead ONLY communicates the video part and the HLS stream freezes after the first few frames.

Has anyone else experienced this problem?

unixforce avatar Dec 06 '25 14:12 unixforce

Update:

the problem occurs due to a firmware bug in the drones. The packets received are ‘non-monotonic,’ which disrupts the HLS player's display via the web.

unixforce avatar Dec 09 '25 09:12 unixforce

Do you have problems only with HLS? How about RTSP?

AlexxIT avatar Dec 09 '25 13:12 AlexxIT

I can try only HLS with RTMP: consumer dji drones support only RTMP.

Btw I think I understand the problem: go2rtc is very efficient and has low latency. Other stream servers, on the other hand, use buffers and correct “dirty” packets that arrive at the input.

unixforce avatar Dec 15 '25 19:12 unixforce

I don't understand how HLS related to RTMP.

AlexxIT avatar Dec 16 '25 12:12 AlexxIT

I don't understand how HLS related to RTMP.

For viewing via web app, an HLS stream that can be viewed by the browser is required.

unixforce avatar Dec 18 '25 10:12 unixforce

Web apps can use different protocols, and HLS is the worst possible one.

AlexxIT avatar Dec 18 '25 11:12 AlexxIT

What efficient protocol would you suggest me for a web app ?

unixforce avatar Dec 19 '25 11:12 unixforce