Change state to JOINED before sending JoinResponse (#674)
* Send room metadata as long as participant is not disconnected * Change state to JOINED before sending join response
This commit is contained in:
@@ -502,9 +502,6 @@ func (p *ParticipantImpl) HandleOffer(sdp webrtc.SessionDescription) (answer web
|
||||
}
|
||||
}
|
||||
|
||||
if p.State() == livekit.ParticipantInfo_JOINING {
|
||||
p.updateState(livekit.ParticipantInfo_JOINED)
|
||||
}
|
||||
prometheus.ServiceOperationCounter.WithLabelValues("answer", "success", "").Add(1)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user