Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index f6900210f4417e35da6384eaeba7b54433d43b46..edfb5c934759e017a4b82b82b9df6aa22f08eee5 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -531,7 +531,7 @@ class Connection : public CandidatePairInterface, |
void set_nomination(uint32_t value) { nomination_ = value; } |
uint32_t remote_nomination() const { return remote_nomination_; } |
- bool nominated() const { return remote_nomination_ > 0; } |
+ bool nominated() const { return acked_nomination_ || remote_nomination_; } |
hbos
2017/02/23 13:38:56
According to https://tools.ietf.org/html/rfc5245#s
Taylor Brandstetter
2017/02/24 05:38:31
webrtc-stats refers to the "nominated" flag from I
hbos
2017/02/24 11:09:13
Done.
|
// Public for unit tests. |
void set_remote_nomination(uint32_t remote_nomination) { |
remote_nomination_ = remote_nomination; |