Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"closed: metadata doesn't contain any track" (DJI FlightHub Sync - Stream Forwarding) #3301

Closed
1 of 13 tasks
JacekKosciesza opened this issue Apr 29, 2024 · 5 comments · Fixed by #3504
Closed
1 of 13 tasks
Labels
bug Something isn't working rtmp

Comments

@JacekKosciesza
Copy link

Which version are you using?

v1.8.0

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

I've a DJI Mavic 3E drone connected to DJI FlightHub 2 drone management platform. It has a new functionality FlightHub Sync which allows you to transfer livestream data (stream forwarding) to a 3rd party using RTMP. I was able to initiate this stream forwarding to MediaMTX (running in Amazon Lightsail), but I get closed: metadata doesn't contain any track error.

2024/04/23 14:07:39 INF [RTMP] [conn 121.22.238.96:1219] opened
2024/04/23 14:07:40 DEB [path 1581F5FHD238P00DVX4S_66-0-0] created
2024/04/23 14:07:40 DEB [path 1581F5FHD238P00DVX4S_66-0-0] destroyed: not in use
2024/04/23 14:07:40 INF [RTMP] [conn 121.22.238.96:1219] closed: metadata doesn't contain any track

Describe how to replicate the issue

Replication is complicated - involves real DJI drone, configuration of DJI FlightHub 2 account, calling DJI API to start livestream etc. I will include logs and network dump, maybe someone will be able to verify on which side is a problem and maybe there is some workaround.

Did you attach the server logs?

yes

mediamtx.log

Did you attach a network dump?

yes

network_dump.pcap.zip

@dbason
Copy link
Contributor

dbason commented Apr 30, 2024

@JacekKosciesza we're also using mediamtx with the DJI Docks except in our case we're publishing direct from the dock to mediamtx using RTMP. We haven't seen this issue so I suspect the problem is the republish from FlightHub.

@JacekKosciesza
Copy link
Author

I tried the same thing with Ant Media Server and it worked. I was able to see the livestream from the drone:

ant-media-server-flghthub-sync

@JacekKosciesza JacekKosciesza changed the title closed: metadata doesn't contain any track (DJI FlightHub Sync - Stream Forwarding) "closed: metadata doesn't contain any track" (DJI FlightHub Sync - Stream Forwarding) May 6, 2024
@aler9 aler9 added bug Something isn't working rtmp labels Jun 22, 2024
@aler9
Copy link
Member

aler9 commented Jun 22, 2024

Hello, thanks for reporting the issue and providing the network dump. This should be fixed by #3504. Please try this nightly release (that contains #3504) and let me know if it fixes the issue:

https://github.com/bluenviron/mediamtx/actions/runs/9628106551

@aler9
Copy link
Member

aler9 commented Jul 1, 2024

since no one replied, i'm assuming it's fixed.

Copy link
Contributor

github-actions bot commented Jul 7, 2024

This issue is mentioned in release v1.8.4 🚀
Check out the entire changelog by clicking here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rtmp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants