AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
5.04k stars 401 forks source link

Feature request: UDP input support for RTSP #538

Open gtxaspec opened 1 year ago

gtxaspec commented 1 year ago

Feature request: Support sending rtsp via udp transport to go2rtc from ffmpeg.

AlexxIT commented 1 year ago

Don't see any reason for this. UDP is nothing but troubles.

jdreskell commented 1 year ago

Greetings,

We are looking to replace mediamtx with go2rtc, supporting RTSP over UDP or UDP-Multicast, it would simplify this process for us! Perhaps you can implement this in the future!

Amazing project, cheers!

AlexxIT commented 1 year ago

There is three situations:

  1. UDP from local FFmpeg to go2rtc - useless and bad
  2. UDP from camera to go2rtc - makes sense for cameras with only UDP support. Supported via FFmpeg source for now
  3. UDP from go2rtc to external viewer - makes sense for viewers with only UDP support. I know only one - Sonoff iHost
AlexxIT commented 5 months ago

UDP make sense for Reolink cameras. Because they have terrible implementation RTSP TCP.