send update on reconnect
This commit is contained in:
@@ -229,6 +229,12 @@ func (r *RoomManager) StartSession(roomName string, pi routing.ParticipantInit,
|
|||||||
prevSink.Close()
|
prevSink.Close()
|
||||||
}
|
}
|
||||||
participant.SetResponseSink(responseSink)
|
participant.SetResponseSink(responseSink)
|
||||||
|
|
||||||
|
if err := participant.SendParticipantUpdate(rtc.ToProtoParticipants(room.GetParticipants())); err != nil {
|
||||||
|
logger.Warnw("failed to send participant update", err,
|
||||||
|
"participant", pi.Identity)
|
||||||
|
}
|
||||||
|
|
||||||
if err := participant.ICERestart(); err != nil {
|
if err := participant.ICERestart(); err != nil {
|
||||||
logger.Warnw("could not restart ICE", err,
|
logger.Warnw("could not restart ICE", err,
|
||||||
"participant", pi.Identity)
|
"participant", pi.Identity)
|
||||||
|
|||||||
Reference in New Issue
Block a user