Resolve newer participant using higher precision join time. (#3360)
* Resolve newer participant using higher precision join time. Also, keep it consistent based on participant SID if everything else is the same. * switch to compare semantics * fix
This commit is contained in:
@@ -656,6 +656,7 @@ func (p *ParticipantImpl) ToProtoWithVersion() (*livekit.ParticipantInfo, utils.
|
||||
Name: grants.Name,
|
||||
State: p.State(),
|
||||
JoinedAt: p.ConnectedAt().Unix(),
|
||||
JoinedAtMs: p.ConnectedAt().UnixMilli(),
|
||||
Version: v,
|
||||
Permission: grants.Video.ToPermission(),
|
||||
Metadata: grants.Metadata,
|
||||
|
||||
Reference in New Issue
Block a user