fix two way audio

This commit is contained in:
seydx
2025-05-13 14:26:12 +02:00
parent 4f969d750a
commit 6c255cd2f2
4 changed files with 59 additions and 50 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func (c *Conn) AddTrack(media *core.Media, codec *core.Codec, track *core.Receiv
panic(core.Caller())
}
localTrack := c.getSenderTrack(media.ID)
localTrack := c.GetSenderTrack(media.ID)
if localTrack == nil {
return errors.New("webrtc: can't get track")
}