mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 15:17:35 +00:00
ReconnectResponse getting mutated due to mutation of client conf. (#3379)
This commit is contained in:
@@ -437,7 +437,7 @@ func (p *ParticipantImpl) GetClientInfo() *livekit.ClientInfo {
|
||||
func (p *ParticipantImpl) GetClientConfiguration() *livekit.ClientConfiguration {
|
||||
p.lock.RLock()
|
||||
defer p.lock.RUnlock()
|
||||
return p.params.ClientConf
|
||||
return utils.CloneProto(p.params.ClientConf)
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) GetBufferFactory() *buffer.Factory {
|
||||
|
||||
Reference in New Issue
Block a user