mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-04 07:56:33 +08:00
Revert "Add framerate parameter option to HTTPs"
This reverts commit f94cd16cb7
.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user