Closed suzp1984 closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 56.24%. Comparing base (
16d0bb7
) to head (236209e
). Report is 12 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
i added tests and merged, thanks!
This issue is mentioned in release v1.8.3 🚀 Check out the entire changelog by clicking here
Which version are you using?
current main branch.
Which operating system are you using?
Describe the issue
when I publish an aac file by ffmpeg to
mediamtx
, I met an error.The root cause is the
mediamtx
want to parse an audio message with empty payload.Describe how to replicate the issue
./mediamtx
ffmpeg -stream_loop -1 -re -i music.aac -c copy -f flv -y rtmp://localhost/live/test
mediamtx
log:INF [RTMP] [conn [::1]:57689] closed: not enough bits
andffmpeg
cmd exit with error.Did you attach the server logs?
yes
MediaMTX logs
``` 2024/06/01 17:10:53 INF MediaMTX v0.0.0 2024/06/01 17:10:53 INF configuration loaded from /Users/jacobsu/hack/media/mediamtx/mediamtx.yml 2024/06/01 17:10:53 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP) 2024/06/01 17:10:53 INF [RTMP] listener opened on :1935 2024/06/01 17:10:53 INF [HLS] listener opened on :8888 2024/06/01 17:10:53 INF [WebRTC] listener opened on :8889 (HTTP), :8189 (ICE/UDP) 2024/06/01 17:10:53 INF [SRT] listener opened on :8890 (UDP) 2024/06/01 17:10:55 INF [RTMP] [conn [::1]:57689] opened 2024/06/01 17:10:55 INF [RTMP] [conn [::1]:57689] closed: not enough bits ```Did you attach a network dump?
no