mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
fix: rtsp session init
This commit is contained in:
@@ -139,6 +139,7 @@ func (c *NetConnection) Connect(remoteURL string) (err error) {
|
||||
c.BufReader = util.NewBufReader(conn)
|
||||
c.URL = rtspURL
|
||||
c.UserAgent = "monibuca" + m7s.Version
|
||||
c.Session = ""
|
||||
c.auth = util.NewAuth(c.URL.User)
|
||||
c.SetDescription("remoteAddr", conn.RemoteAddr().String())
|
||||
c.MemoryAllocator = util.NewScalableMemoryAllocator(1 << 12)
|
||||
|
||||
Reference in New Issue
Block a user