bluenviron / gortsplib

RTSP 1.0 client and server library for the Go programming language
MIT License
636 stars 177 forks source link

saving feed #563

Closed roycw closed 2 days ago

roycw commented 1 month ago

Hello,

Can i save an RTSP in mp4 chunck of lets say 10 seconds ? i only saw the HLS example and i wonder if that is possible.

Also, any recommedation on how to consum it on the browser. I know f a few LIBS that support it but wondering if there is a companion for MSE.

Also, as a final question: if there is no way to save continues mp4 and i need to spin ffmpeg for that.. Is there anty reason to use this lib to fetch the stream to begin with or is it better to just span ffmpeg and deal with the RTSP connection from the start.

thanks so much for your help.