re-assign node for room if existing node for room is no longer available
This commit is contained in:
@@ -507,7 +507,10 @@ func (c *RTCClient) handleAnswer(desc webrtc.SessionDescription) error {
|
||||
}
|
||||
|
||||
func (c *RTCClient) negotiate() {
|
||||
logger.Debugw("starting negotiation", "participant", c.localParticipant.Identity)
|
||||
if c.localParticipant != nil {
|
||||
logger.Debugw("starting negotiation", "participant", c.localParticipant.Identity)
|
||||
}
|
||||
|
||||
offer, err := c.publisher.PeerConnection().CreateOffer(nil)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user