mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-05 16:26:50 +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] {
|
switch s[:i] {
|
||||||
case "http", "https", "rtmp":
|
case "http", "https", "rtmp":
|
||||||
args.Input = inputTemplate("http", s, query)
|
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":
|
case "rtsp", "rtsps":
|
||||||
// https://ffmpeg.org/ffmpeg-protocols.html#rtsp
|
// https://ffmpeg.org/ffmpeg-protocols.html#rtsp
|
||||||
// skip unnecessary input tracks
|
// skip unnecessary input tracks
|
||||||
|
Reference in New Issue
Block a user