bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
11.41k stars 1.45k forks source link

RTMP unsupported video codec: 2 (MP3) #1102

Closed tstechnologies closed 1 year ago

tstechnologies commented 2 years ago

Which version are you using?

v0.20.0

Which operating system are you using?

Describe the issue

RTMP Published stream from DJI device results in closed session. See log excerpt below (ips obfuscated):

Aug 18 21:54:49 HOSTNAME rtsp-simple-server[114]: 2022/08/18 21:54:49 INF [RTMP] [conn 0.0.0.0:10751] closed (unsupported video codec: 2)

ffmpeg version 4.2.7-0ubuntu0.1

Installed all media codecs with sudo apt install ubuntu-restricted-extras

Describe how to replicate the issue

  1. start the server
  2. publish with dji go application (RTMP)
  3. read with VLC (obviously shows no alias/stream available)

Did you attach the server logs?

no

Did you attach a network dump?

no

aler9 commented 2 years ago

Hello, please provide a network dump, that can be generated in this way: 1) Download wireshark (https://www.wireshark.org/) 2) Start capturing on the interface used for exchanging RTSP (if the server and the target software are both installed on your pc, the interface is probably "loopback", otherwise it's the one of your network card) 3) Start the server and replicate the issue 4) Stop capturing, save the result in .pcap format 5) Attach

Thanks

aler9 commented 1 year ago

The server now supports publishing reading and proxying MP3 tracks with RTMP.

aler9 commented 1 year ago

added in v0.23.0

github-actions[bot] commented 9 months ago

This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.