Merge pull request #1895 from oeiber/master

Fix connection issues in conjunction with doorbird backchannel
This commit is contained in:
Alex X
2025-10-05 16:01:25 +03:00
committed by GitHub
+3 -1
View File
@@ -88,6 +88,8 @@ func (c *Client) AddTrack(media *core.Media, codec *core.Codec, track *core.Rece
}
func (c *Client) Start() (err error) {
_, err = c.conn.Read(nil)
// just block until c.conn closed
b := make([]byte, 1)
_, err = c.conn.Read(b)
return
}