Revert "Add framerate parameter option to HTTPs"

This reverts commit f94cd16cb7.
This commit is contained in:
Galindo, Alex
2023-07-07 14:03:53 +02:00
parent 9809f41117
commit f0d627fa55

View File

@@ -152,11 +152,6 @@ func parseArgs(s string) *ffmpeg.Args {
switch s[:i] {
case "http", "https", "rtmp":
args.Input = inputTemplate("http", s, query)
// Some HTTP-JPEG, HTTP-MJPEG needs the input framerate explicitly
if query["framerate"] != nil {
args.Input = "-framerate " + query["framerate"][0] + " " + args.Input
query.Del("framerate")
}
case "rtsp", "rtsps":
// https://ffmpeg.org/ffmpeg-protocols.html#rtsp
// skip unnecessary input tracks