support publishing, reading, proxying with SRT (#2068)

This commit is contained in:
Alessandro Ros
2023-07-31 21:20:09 +02:00
committed by GitHub
parent d696a782f7
commit b4e3033ea3
22 changed files with 2184 additions and 213 deletions
+5
View File
@@ -86,6 +86,11 @@ func newSourceStatic(
readTimeout,
s)
case strings.HasPrefix(cnf.Source, "srt://"):
s.impl = newSRTSource(
readTimeout,
s)
case cnf.Source == "rpiCamera":
s.impl = newRPICameraSource(
s)