The participant insights on the dashboard requires a timeStamp to be able to display the timeline of events.
RTC stats only sets the timeStamp property on the first insightsStats event. Since we are not sending these events from the SDK yet, this PR adds a dummy event, so that the timestamp gets populated.
Summary:
Related Issue:
Testing
Start a session with a few clients
Toggle microphone / camera from the SDK client a few times
End the session
Go to the insights dashboard and find the session
Find the SDK participant, and verify that the timeline is correctly populated with the events
Screenshots/GIFs (if applicable)
Checklist
[x] My code follows the project's coding standards.
[ ] I have written unit tests (if applicable).
[ ] I have updated the documentation (if applicable).
[x] By submitting this pull request, I confirm that my contribution is made
under the terms of the MIT license.
Description
The participant insights on the dashboard requires a
timeStamp
to be able to display the timeline of events. RTC stats only sets thetimeStamp
property on the firstinsightsStats
event. Since we are not sending these events from the SDK yet, this PR adds a dummy event, so that the timestamp gets populated.Summary:
Related Issue:
Testing
Screenshots/GIFs (if applicable)
Checklist
Dependency Updates
Reviewers
@havardholvik @kevinwhereby @nandito @thyal
Additional Information