-
Notifications
You must be signed in to change notification settings - Fork 47
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
outbound-rtp: add active flag #649
Conversation
IPR check is failing, what is needed here @fippo @dontcallmedom ? Are you with Microsoft now? |
the IPR isn't aware yet of @fippo's new affiliation which is pending some admin handling; no objection from to merge now despite the flag if wanted. |
we're waiting for some buttons to be pushed on our end which will happen in due time, we can wait. |
exposing https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters-active in stats as well. Fixes w3c#597
@vr000m @alvestrand in case you have time to take a look. This was previously discussed in #597 and that issue was marked as ready for PR |
Looks good to you @aboba ? |
FWIW IPR bot now happy |
Is this implemented or soon to be implemented? To figure out if this is the correct spec, given we moved unimplemented items out. I will check the metric inline. |
<dd> | ||
<p> | ||
Indicates whether this <a>RTP stream</a> is configured to be sent or disabled. | ||
Note that an active stream can still not be sending, e.g. when being limited by |
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.
do you think we will need a counter for the number of times the status flips between active
and limited
.
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.
This flag isn't supposed to flip on its own and only modifiable via setParameters which we don't count.
For limited see #650 but that is partially captured by qualityLimitationDurations.
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.
Having a counter for number of times setParameters flips this value makes little sense and is not very useful in my opinion. This metric is useful on its own and in fact very much needed for making sense of simulcast stats. Today you can't really tell "what is the highest resolution layer currently being sent?" or similar questions. We desperately need it for making sense of simulcast :)
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.
Agree that qualityLimitationDurations is enough, this is more about the effects of the current limitation
I have a local chrome build with the implementation already |
implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269520 Reviewed-by: Ilya Nikolaevskiy <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Cr-Commit-Position: refs/heads/main@{#37639}
added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813
added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803166 Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#1036500}
added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803166 Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#1036500}
added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803166 Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#1036500}
…statistics, a=testonly Automatic update from web-platform-tests webrtc: add WPT for outbound-rtp.active statistics added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803166 Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#1036500} -- wpt-commits: ef32c580a942f80bab2b98bb5b8647facd109ccb wpt-pr: 35309
added in w3c/webrtc-stats#649 Also add myself as stat owner and replace my personal email with the work one in wpt/webrtc/OWNERS BUG=webrtc:14291 Change-Id: I2cf0cad859bb1fbea0692e0f0c009d2cc67ec813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803166 Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#1036500} NOKEYCHECK=True GitOrigin-RevId: 30523901b07629133a3984bff1448c0a6f2db4eb
Upstream commit: https://webrtc.googlesource.com/src/+/684e241323d17b13d48e4d2df823f2b60f7e0fd0 stats: implement outbound-rtp.active implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269520 Reviewed-by: Ilya Nikolaevskiy <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Cr-Commit-Position: refs/heads/main@{#37639}
Upstream commit: https://webrtc.googlesource.com/src/+/684e241323d17b13d48e4d2df823f2b60f7e0fd0 stats: implement outbound-rtp.active implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269520 Reviewed-by: Ilya Nikolaevskiy <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Commit-Queue: Philipp Hancke <[email protected]> Cr-Commit-Position: refs/heads/main@{#37639}
implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff
implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff
implementing w3c/webrtc-stats#649 BUG=webrtc:14291 Change-Id: Ib8453d4d7c335834cd8dd2aa29111aef26211dff
exposing
https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters-active
in stats as well.
Fixes #597
Preview | Diff