-
Notifications
You must be signed in to change notification settings - Fork 395
fix(ca): send stayLobbyTime with lobby exit event #4744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Changes from 1 commit
e81a969
9af7613
2218e88
8b6b720
b687848
30bad6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -361,14 +361,18 @@ export const prepareDiagnosticMetricItem = (webex: any, item: any) => { | |
| joinTimes.totalMediaJMT = cdl.getTotalMediaJMT(); | ||
| joinTimes.interstitialToMediaOKJMT = cdl.getInterstitialToMediaOKJMT(); | ||
| joinTimes.callInitMediaEngineReady = cdl.getCallInitMediaEngineReady(); | ||
| joinTimes.stayLobbyTime = cdl.getStayLobbyTime(); | ||
| joinTimes.totalMediaJMTWithUserDelay = cdl.getTotalMediaJMTWithUserDelay(); | ||
| joinTimes.totalJMTWithUserDelay = cdl.getTotalJMTWithUserDelay(); | ||
| break; | ||
|
|
||
| case 'client.media.tx.start': | ||
| audioSetupDelay.joinRespTxStart = cdl.getAudioJoinRespTxStart(); | ||
| videoSetupDelay.joinRespTxStart = cdl.getVideoJoinRespTxStart(); | ||
| break; | ||
|
|
||
| case 'client.lobby.exited': | ||
| joinTimes.stayLobbyTime = cdl.getStayLobbyTime(); | ||
|
Comment on lines
+373
to
+374
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. appears to not be an actual issue
Comment on lines
+373
to
+374
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If a Useful? React with 👍 / 👎. |
||
| break; | ||
| } | ||
|
|
||
| if (!isEmpty(joinTimes)) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't feel right to be saving a timestamp in a getter for latency. In general getters shouldn't change the state of a system, right? Could we maybe have a separate setter for the "client.lobby.exited" timestamp? Also I'm a bit confused why we need this in the first place, aren't the timestamps for all events saved already via the calls to saveTimestamp() from submitClientEvent()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like you're right, we do saveTimestamp before prepareDiagnosticMetricItem gets called
i've also tested with logs to confirm this