ReconnectResponse getting mutated due to mutation of client conf. (#3379)

This commit is contained in:
Raja Subramanian
2025-01-30 11:23:23 +05:30
committed by GitHub
parent 5aa17adc91
commit c90473b749

View File

@@ -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 {