Re: [webrtc-stats] Stats for adaptation reason, for realsies

With "record" being suggested in another bug, what about:
enum qualityLimitationReason = {cpu, bandwidth, other}
enum qualityLimitationMethod = {none, framerate, resolution, quality}  // quality = qp value manipulation

... outgoing RTP stream ...
qualityLimitationReason limitationReason;  // current most important reason
qualityLimitationMethod limitationMethod; // current most significant method
record<DOMString, double> limitationDurations;   // key qualityLimitationReason, value seconds
long limitationChangeCounter;  // changes every time reason or method changes

We could also attach to "track", but in the case of simulcast, things could be different for each RTP stream depending on, among other things, priority.


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

Received on Wednesday, 25 October 2017 12:50:35 UTC