Update stream info for MP4/MSE/HLS

This commit is contained in:
Alexey Khit
2023-07-08 09:32:54 +03:00
parent 52a4fc329c
commit fded87aa33
5 changed files with 8 additions and 2 deletions
+1
View File
@@ -67,6 +67,7 @@ func handlerStream(w http.ResponseWriter, r *http.Request) {
medias := mp4.ParseQuery(r.URL.Query())
if medias != nil {
cons = &mp4.Consumer{
Desc: "HLS/HTTP",
RemoteAddr: tcp.RemoteAddr(r),
UserAgent: r.UserAgent(),
Medias: medias,