ChatterBox.Client.Universal.Background.AudioVideoMetricsCollector.TrackCodecUseForCall C# (CSharp) Method

TrackCodecUseForCall() private method

private TrackCodecUseForCall ( string codecValue, string codecType ) : void
codecValue string
codecType string
return void
        private void TrackCodecUseForCall(string codecValue, string codecType)
        {
            IDictionary<string, string> properties = new Dictionary<string, string> {
                { "Timestamp", System.DateTimeOffset.UtcNow.ToString(@"hh\:mm\:ss") },
                { codecType + " codec used for call", codecValue}};
            Task.Run(() => _telemetry.TrackEvent(codecType + " codec", properties));
        }