mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-16 12:40:56 +08:00
hls: apply readTimeout to HLS sources (#2627)
This commit is contained in:
@@ -83,7 +83,8 @@ func newStaticSourceHandler(
|
||||
case strings.HasPrefix(cnf.Source, "http://") ||
|
||||
strings.HasPrefix(cnf.Source, "https://"):
|
||||
s.instance = &hlssource.Source{
|
||||
Parent: s,
|
||||
ReadTimeout: readTimeout,
|
||||
Parent: s,
|
||||
}
|
||||
|
||||
case strings.HasPrefix(cnf.Source, "udp://"):
|
||||
|
Reference in New Issue
Block a user