mediamtx icon indicating copy to clipboard operation
mediamtx copied to clipboard

RTSP -> WebRTC/HLS remuxing - The stream doesn't contain any supported codec - V1.4.2 and newer

Open anhorbc opened this issue 4 months ago • 1 comments

Which version are you using?

1.91

Which operating system are you using?

Windows amd64 standard

Describe how to replicate the issue

  1. Add RTSP source
  2. publish with WebRTC or HLS
  3. read with Microsoft Edge or Google Chrome.

Log output: 2024/10/01 10:43:03 INF [WebRTC] [session 10e1607c] created by [::1]:60449 2024/10/01 10:43:03 INF [WebRTC] [session 10e1607c] closed: the stream doesn't contain any supported codec, which are currently AV1, VP9, VP8, H264, Opus, G722, G711, LPCM 2024/10/01 10:43:04 INF [HLS] [muxer mycamera] created (requested by [::1]:60466) 2024/10/01 10:43:04 INF [HLS] [muxer mycamera] destroyed: the stream doesn't contain any supported codec, which are currently AV1, VP9, H265, H264, Opus, MPEG-4 Audio

Reading the proxy stream with RTSP/VLC works fine: 2024/10/01 10:46:32 INF [RTSP] [conn [::1]:63885] opened 2024/10/01 10:46:32 INF [RTSP] [session 7ce2bd4c] created by [::1]:63885 2024/10/01 10:46:32 INF [RTSP] [session 7ce2bd4c] is reading from path 'mycamera', with TCP, 1 track (Generic)

Server logs

No response

Network dump

No response

anhorbc avatar Oct 01 '24 08:10 anhorbc