Closed
Bug 1435774
Opened 8 years ago
Closed 7 years ago
Update ICE stat names
Categories
(Core :: WebRTC: Signaling, enhancement, P2)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
DUPLICATE
of bug 1324788
People
(Reporter: ng, Assigned: ng)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
|
59 bytes,
text/x-review-board-request
|
Details | |
|
59 bytes,
text/x-review-board-request
|
mjf
:
review+
|
Details |
|
59 bytes,
text/x-review-board-request
|
jib
:
review-
|
Details |
|
59 bytes,
text/x-review-board-request
|
mjf
:
review+
|
Details |
|
59 bytes,
text/x-review-board-request
|
mjf
:
review+
|
Details |
|
59 bytes,
text/x-review-board-request
|
mjf
:
review+
|
Details |
A number of the fields in ICE related stats have names that have changed as the spec has evolved. We should present the new names, and eventually deprecated the old ones.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Updated•8 years ago
|
Rank: 15
Priority: -- → P2
Updated•8 years ago
|
Component: WebRTC → WebRTC: Signaling
| Assignee | ||
Comment 7•8 years ago
|
||
| Assignee | ||
Comment 8•8 years ago
|
||
| Assignee | ||
Comment 9•8 years ago
|
||
| Assignee | ||
Comment 10•8 years ago
|
||
Here is a manual test that can be run to verify the new warnings https://jsfiddle.net/m4fzw64v/ which are not observable from JS. The JS observable results should be covered by mochitests.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Attachment #8948543 -
Flags: review?(mfroman)
Attachment #8948544 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(jib)
Attachment #8980087 -
Flags: review?(mfroman)
Attachment #8980088 -
Flags: review?(mfroman)
Attachment #8980089 -
Flags: review?(mfroman)
| Assignee | ||
Updated•8 years ago
|
Attachment #8948543 -
Flags: review?(mfroman)
Attachment #8948544 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(jib)
Attachment #8980088 -
Flags: review?(mfroman)
Attachment #8980089 -
Flags: review?(mfroman)
| Assignee | ||
Updated•8 years ago
|
Attachment #8980087 -
Flags: review?(mfroman)
Comment 17•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8948543 [details]
Bug 1435774 - P1 - update field names in ICE stats webidl
https://reviewboard.mozilla.org/r/217960/#review252668
Looks good to me.
Attachment #8948543 -
Flags: review+
| Assignee | ||
Comment 18•8 years ago
|
||
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Attachment #8948544 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(mfroman)
Attachment #8948545 -
Flags: review?(jib)
Attachment #8980087 -
Flags: review?(mfroman)
Attachment #8980088 -
Flags: review?(mfroman)
Attachment #8980089 -
Flags: review?(mfroman)
Comment 25•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8948544 [details]
Bug 1435774 - P2 - rename ICE stats fields in cpp
https://reviewboard.mozilla.org/r/217962/#review253032
Looks good to me.
Attachment #8948544 -
Flags: review?(mfroman) → review+
Comment 26•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8980087 [details]
Bug 1435774 - P4 - Update stats mochitest
https://reviewboard.mozilla.org/r/246246/#review253034
Looks good to me.
Attachment #8980087 -
Flags: review?(mfroman) → review+
Comment 27•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8980088 [details]
Bug 1435774 - P5 - WebRTC stats JSON stringify mochitest
https://reviewboard.mozilla.org/r/246248/#review253050
Looks good to me.
Attachment #8980088 -
Flags: review?(mfroman) → review+
Comment 28•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8980089 [details]
Bug 1435774 - P6 - Update about:webrtc to use new field names
https://reviewboard.mozilla.org/r/246250/#review253056
Looks good to me.
Attachment #8980089 -
Flags: review?(mfroman) → review+
Comment 29•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8948545 [details]
Bug 1435774 - P3 - add deprecation warnings for old ICE field names
https://reviewboard.mozilla.org/r/217964/#review253864
Please split out isRemote and remote-* type changes into separate patch as discussed offline.
::: dom/media/tests/mochitest/test_peerConnection_stats.html:236
(Diff revision 4)
> // roundTripTime
> if (stat.inner.isRemote) {
> ok(stat.roundTripTime >= 0, stat.type + ".roundTripTime is sane with" +
> "value of:" + stat.roundTripTime);
> } else {
> + dump(`@@NG localVideoOnly ${JSON.stringify(stat.inner)} isRemote = ${stat.inner.isRemote}\n`);
remove debug cruft
Attachment #8948545 -
Flags: review?(jib) → review-
| Assignee | ||
Comment 30•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8948545 [details]
Bug 1435774 - P3 - add deprecation warnings for old ICE field names
https://reviewboard.mozilla.org/r/217964/#review253866
::: dom/media/PeerConnection.js:416
(Diff revision 4)
> "candidate-pair": "candidatepair",
> "local-candidate": "localcandidate",
> "remote-candidate": "remotecandidate"
> + },
> + // TODO improve message
> + _isRemoteWarning:
Missed refactoring out isRemoteWarning here.
::: dom/media/tests/mochitest/test_peerConnection_stats.html:17
(Diff revision 4)
> });
> var statsExpectedByType = {
> "inbound-rtp": {
> - expected: ["id", "timestamp", "type", "ssrc", "isRemote", "mediaType",
> + expected: ["id", "timestamp", "type", "ssrc", "mediaType",
> "packetsReceived", "packetsLost", "bytesReceived", "jitter",],
> - optional: ["roundTripTime", "remoteId", "nackCount",],
> + optional: ["isRemote", "roundTripTime", "remoteId", "nackCount",],
Missed backing out these changes. To isRemote here.
| Assignee | ||
Comment 31•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8948545 [details]
Bug 1435774 - P3 - add deprecation warnings for old ICE field names
https://reviewboard.mozilla.org/r/217964/#review253868
::: dom/media/tests/mochitest/test_peerConnection_stats.html:30
(Diff revision 4)
> deprecated: ["mozRtt"],
> },
> "outbound-rtp": {
> - expected: ["id", "timestamp", "type", "ssrc", "isRemote", "mediaType",
> + expected: ["id", "timestamp", "type", "ssrc", "mediaType",
> "packetsSent", "bytesSent", "remoteId",],
> - optional: ["remoteId", "nackCount",],
> + optional: ["isRemote", "remoteId", "nackCount",],
Missed backing out these changes to isRemote here.
Comment 32•7 years ago
|
||
Nico are these patches still on your radar? Can you merge them now after libwebrtc 64 landed?
Flags: needinfo?(na-g)
| Assignee | ||
Comment 33•7 years ago
|
||
I landed the stat name changes in bug 1324788, so I am going to mark this as a dupe.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(na-g)
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Attachment #8948545 -
Flags: review?(mfroman)
You need to log in
before you can comment on or make changes to this bug.
Description
•