deepch / RTSPtoWebRTC

RTSP to WebRTC use Pion WebRTC
MIT License
1.56k stars 415 forks source link

461 Unsupported Transport #195

Open LedcomSA opened 1 year ago

LedcomSA commented 1 year ago

Hi, I have an issue with my encoder device (https://avonic.com/fr/produit/rec200/) who provide rtsp stream :

[GIN-debug] Listening and serving HTTP on :8083 2022/11/03 14:26:34 LIVE1 Stream Try Connect 2022/11/03 14:26:34 Server Start Awaiting Signal 2022/11/03 14:26:35 Camera send statusRTSP/1.0 461 Unsupported Transport 2022/11/03 14:26:36 LIVE1 Stream Try Connect 2022/11/03 14:26:37 Camera send statusRTSP/1.0 461 Unsupported Transport 2022/11/03 14:26:38 LIVE1 Stream Try Connect 2022/11/03 14:26:39 Camera send statusRTSP/1.0 461 Unsupported Transport But the stream work with vlc ... any Id how can I fix that ?

Thanks in advance

joseRamon13 commented 1 year ago

Hi,

I'm streaming a .mp4 video from VLC with the following settings: :sout=#transcode{vcodec=h264,scale=Auto,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:rtp{sdp=rtsp://:8554/} :sout-all :sout-keep

And I'm gettings the same error: 2023/01/19 15:33:11 Stream Try Connect H264_AAC 2023/01/19 15:33:12 Camera send statusRTSP/1.0 461 Unsupported transport

Any news about why this happens? I just cloned the repository and modified this line in the config.json: "url": "rtsp://localhost:8554/"

Thank you very much.

opxyc commented 11 months ago

Facing the same issue here.

config.json

{
  "server": {
   "http_port": ":8083"
  },
  "streams": {
    "demo1": {
      "on_demand" : false,
      "url": "rtsp://localhost:8554/test"
    }
  }
}

log:

2023/11/02 18:03:56 Stream Try Connect demo1
2023/11/02 18:03:57 Camera send statusRTSP/1.0 461 Unsupported transport
2023/11/02 18:03:58 Stream Try Connect demo1
2023/11/02 18:03:59 Camera send statusRTSP/1.0 461 Unsupported transport
2023/11/02 18:04:00 Stream Try Connect demo1
2023/11/02 18:04:01 Camera send statusRTSP/1.0 461 Unsupported transport
2023/11/02 18:04:02 Stream Try Connect demo1

Notes: