datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.65k stars 429 forks source link

DJI Drone rtmp issue #531

Open NeilJared opened 1 year ago

NeilJared commented 1 year ago

Describe the bug I cannot stream rtmp feed from a DJI drone

To Reproduce Steps to reproduce the behavior: Restreamer installed properly in Docker on a Synology NAS running other containers on a smooth way under DSM 7.1.1 update 4. Using built-in reverse proxy for https access with success (tried with and without web socket). When I try to stream from a DJI Air 2S using built-in rtmp video feed, I cannot feed Restreamer. I have tried disabling firewall too, and no way.

Expected behavior I would be able to stream live from the drone

Desktop (please complete the following information):

DJI Air 2S latest firmware, DJI Fly v1.9.4(1260-official)

ioppermann commented 1 year ago

You also have to proxy port 1935 for TCP traffic.

jstabenow commented 1 year ago

Hey @NeilJared Any updates?

Tokolosh commented 1 year ago

testing with a dji air 2 i was able to stream to restreamer. i had to forward the port 1935 to the target machine (as ioppermann has already mentioned) i did however have to add :1935 to the rtmp address on the drone end for it to actually connect... rtmp://x.y.z:1935/xyz/...

Edit: currently only tested on latest 2.6.0 restreamer which is working fine

NeilJared commented 1 year ago

Hi there., and sorry for late reply @jstabenow . Will check in a week or so, I am on final exams now and I have no time to fully test my config. @Tokolosh, could you post your docker compose? I think I got wrong with port forwarding, despite I have good skills on that. Cheers

Tokolosh commented 1 year ago

@NeilJared I'm using the default standard setting, just the cuda one...

docker run -d --restart=always --name restreamer \ -v /opt/restreamer/config:/core/config -v /opt/restreamer/data:/core/data \ --runtime=nvidia --privileged \ -p 8080:8080 -p 8181:8181 \ -p 1935:1935 -p 1936:1936 \ -p 6000:6000/udp \ datarhei/restreamer:cuda-latest

FriendlyNGeeks commented 1 year ago

@NeilJared coming full circle to check if this issue can be closed due to just port configuration settings?

NeilJared commented 1 year ago

Hi there. Could not yet test it, really full time busy to do anything else but job. Will try to do my best next weeks. Cheers

El jue, 29 jun 2023 15:44, FriendlyNGeeks @.***> escribió:

@NeilJared https://github.com/NeilJared coming full circle to check if this issue can be closed due to just port configuration settings?

— Reply to this email directly, view it on GitHub https://github.com/datarhei/restreamer/issues/531#issuecomment-1613209318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKIVT5UGV2G5Z6G6SDVECTXNWBCTANCNFSM6AAAAAAWEPAVO4 . You are receiving this because you were mentioned.Message ID: @.***>

Jan-NiklasB commented 1 month ago

Hey guys, I'm experiencing the, i guess, same issue with a DJI M300 wit the RC pro controller.

Setup:

The Controller does however connect to the RTMP-Server but the stream gives errors and permanently tries to reconnect. I have to check the destinct error message the next days (it's the UAV of our SAR-Unit), but if I remember right there were several "Frame missing" errors in the log.

Any idea what to try?