Send connection type to telemetry (#964)
* Send connection type to telemetry When connected, determine how the participant's primary connection is connected and report it in ParticipantActive event. * address feedback * fixed case where prflx is reported instead of relay * incorporate comments
This commit is contained in:
@@ -238,6 +238,10 @@ func (p *ParticipantImpl) GetClientConfiguration() *livekit.ClientConfiguration
|
||||
return p.params.ClientConf
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) GetICEConnectionType() types.ICEConnectionType {
|
||||
return p.TransportManager.GetICEConnectionType()
|
||||
}
|
||||
|
||||
// SetMetadata attaches metadata to the participant
|
||||
func (p *ParticipantImpl) SetMetadata(metadata string) {
|
||||
p.lock.Lock()
|
||||
|
||||
Reference in New Issue
Block a user