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
@@ -23,6 +23,7 @@ func handlerWSHLS(tr *ws.Transport, msg *ws.Message) error {
codecs := msg.String()
cons := &mp4.Consumer{
Desc: "HLS/WebSocket",
RemoteAddr: tcp.RemoteAddr(tr.Request),
UserAgent: tr.Request.UserAgent(),
Medias: mp4.ParseCodecs(codecs, true),