webrtc-stats
webrtc-stats copied to clipboard
Add ability to clean timeline
Related to #19
Add ability to clean timeline in WebRTCStats.
- Add
clearTimelinemethod to theWebRTCStatsclass insrc/index.tsto clear the timeline of events. - Update the
destroymethod insrc/index.tsto call theclearTimelinemethod, ensuring the timeline is cleared at the end of the session. - Update
README.mdto include documentation for the newclearTimelinemethod in the API section.
For more details, open the Copilot Workspace session.