Fix RTSP server SDP for some clients

This commit is contained in:
Alexey Khit
2023-01-18 11:45:39 +03:00
parent 8628c48db8
commit f9d5ab9d0a
4 changed files with 43 additions and 3 deletions
+2
View File
@@ -162,6 +162,8 @@ func tcpHandler(conn *rtsp.Conn) {
log.Debug().Str("stream", name).Msg("[rtsp] new consumer")
conn.SessionName = app.UserAgent
initMedias(conn)
if err := stream.AddConsumer(conn); err != nil {