rename to percentage
This commit is contained in:
parent
6dc26392d7
commit
7c5c4d1870
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ export class PosthogSpanProcessor implements SpanProcessor {
|
||||||
const audioReceived = `${attributes["matrix.stats.summary.percentageReceivedAudioMedia"]}`;
|
const audioReceived = `${attributes["matrix.stats.summary.percentageReceivedAudioMedia"]}`;
|
||||||
const maxJitter = `${attributes["matrix.stats.summary.maxJitter"]}`;
|
const maxJitter = `${attributes["matrix.stats.summary.maxJitter"]}`;
|
||||||
const maxPacketLoss = `${attributes["matrix.stats.summary.maxPacketLoss"]}`;
|
const maxPacketLoss = `${attributes["matrix.stats.summary.maxPacketLoss"]}`;
|
||||||
const audioConcealmentRatio = `${attributes["matrix.stats.summary.audioConcealmentRatio"]}`;
|
const percentageConcealedAudio = `${attributes["matrix.stats.summary.percentageConcealedAudio"]}`;
|
||||||
PosthogAnalytics.instance.trackEvent(
|
PosthogAnalytics.instance.trackEvent(
|
||||||
{
|
{
|
||||||
eventName: "MediaReceived",
|
eventName: "MediaReceived",
|
||||||
|
@ -134,7 +134,7 @@ export class PosthogSpanProcessor implements SpanProcessor {
|
||||||
videoReceived: videoReceived,
|
videoReceived: videoReceived,
|
||||||
maxJitter: maxJitter,
|
maxJitter: maxJitter,
|
||||||
maxPacketLoss: maxPacketLoss,
|
maxPacketLoss: maxPacketLoss,
|
||||||
audioConcealmentRatio: audioConcealmentRatio,
|
percentageConcealedAudio: percentageConcealedAudio,
|
||||||
},
|
},
|
||||||
// Send instantly because the window might be closing
|
// Send instantly because the window might be closing
|
||||||
{ send_instantly: true }
|
{ send_instantly: true }
|
||||||
|
|
Loading…
Reference in a new issue