mirror of
https://github.com/livekit/livekit.git
synced 2026-05-29 14:04:25 +00:00
Manual negotiation and plan-b support
This commit is contained in:
@@ -414,6 +414,7 @@ func (c *RTCClient) AddTrack(track *webrtc.TrackLocalStaticSample, path string)
|
||||
if _, err = c.publisher.PeerConnection().AddTrack(track); err != nil {
|
||||
return
|
||||
}
|
||||
c.publisher.Negotiate()
|
||||
writer = NewTrackWriter(c.ctx, track, path)
|
||||
|
||||
// write tracks only after ICE connectivity
|
||||
|
||||
Reference in New Issue
Block a user