-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
DJI Osmo Action 4: Audio track not set up (RTMP) #3802
Comments
Can confirm, experiencing the same issue |
Hello, in #4088 (included in v1.11.0) the RTMP track detection mechanism was rewritten from scratch, and bugs like this one should be definitively fixed. Please test the last release and let me know whether the issue is solved. Otherwise provide logs and network dumps (again). |
Thanks for the info. The camera has been running with the same firmware, although I did receive a prompt to update to Network dumps are available here. # Failure - 1.11.0
❯ docker run --rm -it -p 1935:1935 bluenviron/mediamtx:1.11.0
2025/01/05 13:59:32 INF MediaMTX v1.11.0
2025/01/05 13:59:32 INF configuration loaded from /mediamtx.yml
2025/01/05 13:59:32 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2025/01/05 13:59:32 INF [RTMP] listener opened on :1935
2025/01/05 13:59:32 INF [HLS] listener opened on :8888
2025/01/05 13:59:32 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP)
2025/01/05 13:59:32 INF [SRT] listener opened on :8890 (UDP)
2025/01/05 13:59:37 INF [RTMP] [conn 172.17.0.1:36772] opened
2025/01/05 13:59:38 INF [RTMP] [conn 172.17.0.1:36772] closed: video track 0 already setupped
2025/01/05 13:59:38 INF [RTMP] [conn 172.17.0.1:43490] opened
2025/01/05 13:59:39 INF [RTMP] [conn 172.17.0.1:43490] closed: EOF
# Success - 1.10.0
❯ docker run --rm -it -p 1935:1935 bluenviron/mediamtx:1.10.0
2025/01/05 14:05:05 INF MediaMTX v1.10.0
2025/01/05 14:05:05 INF configuration loaded from /mediamtx.yml
2025/01/05 14:05:05 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2025/01/05 14:05:05 INF [RTMP] listener opened on :1935
2025/01/05 14:05:05 INF [HLS] listener opened on :8888
2025/01/05 14:05:05 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP)
2025/01/05 14:05:05 INF [SRT] listener opened on :8890 (UDP)
2025/01/05 14:05:26 INF [RTMP] [conn 172.17.0.1:42160] opened
2025/01/05 14:05:28 INF [RTMP] [conn 172.17.0.1:42160] is publishing to path 's', 2 tracks (H264, MPEG-4 Audio)
2025/01/05 14:05:37 INF [RTMP] [conn 172.17.0.1:42160] closed: EOF # Manually terminated This was done using the following stream settings, but any configuration fails (on
|
@ThisIsntTheWay thanks for the feedback, please test this nightly release and let me know if the issue is fixed (click on "artifacts", "binaries"): https://github.com/bluenviron/mediamtx/actions/runs/12632899660 |
@aler9 Much appreciated! |
This issue is mentioned in release v1.11.1 🚀 |
Which version are you using?
v1.9.0
Which operating system are you using?
Describe the issue
When starting an RTMP stream with the DJI Osmo Action 4, a lot of times MediaMTX will immediately terminate the stream as the audio track is not set up but an audio packet is received.
When configuring a live stream, the DJI app offers the following options:
Pretty much any configuration will result in this error, but from experience setting 1080p/HD will, most of the time, result in MediaMTX actually setting up an audio track and the stream actually working.
Curiously, once one successful attempt has been made, relaunching the livestream with a different configuration will work as well.
The camera is running with the following firmware versions:
(Not sure why there's two)
Describe how to replicate the issue
Did you attach the server logs?
yes (Excerpts)
Instance of a failed stream:
Instance of a successful stream:
Did you attach a network dump?
Attached are multiple dumps, mostly failed ones and with different quality configurations.
A dump of a successful stream has also been attached.
I'm not sure if there's actually any meaningful difference between the failed dumps, but I attached them nonetheless.
dumps.zip
The text was updated successfully, but these errors were encountered: