Re: [webrtc-stats] Issues with replaceTrack, will statsended fire or give me what I want. (#472)

Some possible ways forward:
1. Don't have an event that fires because of replaceTrack; we can probably remove "onstatsended" completely.
2. Have an event that fires due to replaceTrack, but make it clear that this is what it really does, since for your use case you would probably want to invoke getStats() anyway - what is of interest is not the ended stats per-se but the fact that a significant event occurred at this point in time. Replace "onstatsended" with "onreplacetrack".
3. Make outbound-rtp end when attachment changes, so that outbound-rtp can be used the same way that "track" was intended.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/472#issuecomment-522621217 using your GitHub account

Received on Monday, 19 August 2019 15:12:26 UTC