steep-balloon-41261
10/02/2023, 8:38 AMfancy-wire-61616
10/02/2023, 8:55 AMable-lunch-10309
10/02/2023, 9:03 AMable-lunch-10309
10/02/2023, 9:04 AMfancy-wire-61616
10/02/2023, 9:14 AMroom name and participant identity. These will remain same across a reconnect and webhooks will all have the right data.
However, there is also a server generated ID (called SID) per session. So, in OSS case, when a disconnect happens and reconnect happens, room name is the same, but generated room ID wil lbe different. Same with participants. Participant identity will be same, but server generated participant ID will be different. Almost all of our protocol works on identities (there might be some bits which uses server generated IDs which we will address over time). So, using identities and room name should make it work across reconnect.
With LiveKit cloud, the server generated room ID will be used and if migration is successful, participant continues to operate using the same server generated ID. Only if the participant migration fails and it has to fall back to a full reconnect, a new server generated participant ID will be used.able-lunch-10309
10/02/2023, 9:22 AMfancy-wire-61616
10/02/2023, 9:28 AMCreateRoom API (sorry if I do not have the exact room service API name here) to create the room.
• Generate participant tokens using whatever is in our room data base (basically, it will be same room name, participant identity, permissions etc, but it will have new end time validity)
• Send to participants and they connect using that.fancy-wire-61616
10/02/2023, 10:05 AMable-lunch-10309
10/02/2023, 10:45 AMable-lunch-10309
10/02/2023, 10:47 AMable-lunch-10309
10/02/2023, 10:52 AMdry-elephant-14928
10/02/2023, 6:00 PMable-lunch-10309
10/02/2023, 6:30 PMdry-elephant-14928
10/02/2023, 10:54 PM