gortsplib icon indicating copy to clipboard operation
gortsplib copied to clipboard

Support for RTSP over HTTP

Open sirzooro opened this issue 2 years ago • 3 comments

Please add support for RTSP over HTTP. Specification: https://opensource.apple.com/source/QuickTimeStreamingServer/QuickTimeStreamingServer-412.42/Documentation/RTSP_Over_HTTP.pdf

sirzooro avatar Sep 25 '23 10:09 sirzooro

Although i don't like RTSP over HTTP, since it's a useless overhead and there are better ways to stream RTSP to a browser (take a look at MediaMTX, that automatically converts RTSP to WebRTC and HLS), we will add support for it since it's mandatory in order to be compliant to ONVIF profiles S and T.

aler9 avatar Sep 25 '23 10:09 aler9

Thanks. Please keep in mind that ONVIF also has specification for RTSP over WebSocket, so some abstraction layer for tunneled RTSP connection would be a nice thing to have so RTSP over WS (or any other RTSP tunnel) could be easier added when needed.

sirzooro avatar Sep 26 '23 07:09 sirzooro

Interesting! I was wondering where to find an implementation of WebRTC for gortsplib. I have one that is based on webrtc/pion, but cannot get it working for this library.

cedricve avatar Nov 26 '23 16:11 cedricve