Reland "Reland "Adds richer packet and ice processing to ParsedRtcEventLog.""
This is a reland of 6fc6a0cbb10ee0e988b47f48935b630ba41d109d Original change's description: > Reland "Adds richer packet and ice processing to ParsedRtcEventLog." > > This is a reland of 4306a25dfcaba7defe09f5d4b669736d374fe985 > > Original change's description: > > Adds richer packet and ice processing to ParsedRtcEventLog. > > > > Bug: webrtc:10170 > > Change-Id: I0f10a8c0b5656917a806cf0f3ad88b7a6baee000 > > Reviewed-on: https://webrtc-review.googlesource.com/c/116069 > > Reviewed-by: Björn Terelius <terelius@webrtc.org> > > Commit-Queue: Sebastian Jansson <srte@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#26268} > > Bug: webrtc:10170 > Change-Id: Ie523427acba02b554583223b9ef800249d8d8f2b > Reviewed-on: https://webrtc-review.googlesource.com/c/117724 > Commit-Queue: Sebastian Jansson <srte@webrtc.org> > Reviewed-by: Björn Terelius <terelius@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#26350} Bug: webrtc:10170 Change-Id: I9b57ca754197822de9966ee4c93526c7f2159dfd Reviewed-on: https://webrtc-review.googlesource.com/c/118784 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26362}
This commit is contained in:
@ -464,6 +464,18 @@ class ParsedRtcEventLog {
|
||||
int64_t first_timestamp() const { return first_timestamp_; }
|
||||
int64_t last_timestamp() const { return last_timestamp_; }
|
||||
|
||||
std::vector<LoggedPacketInfo> GetPacketInfos(PacketDirection direction) const;
|
||||
std::vector<LoggedPacketInfo> GetIncomingPacketInfos() const {
|
||||
return GetPacketInfos(kIncomingPacket);
|
||||
}
|
||||
std::vector<LoggedPacketInfo> GetOutgoingPacketInfos() const {
|
||||
return GetPacketInfos(kOutgoingPacket);
|
||||
}
|
||||
std::vector<LoggedIceCandidatePairConfig> GetIceCandidates() const;
|
||||
std::vector<LoggedIceEvent> GetIceEvents() const;
|
||||
|
||||
std::vector<LoggedRouteChangeEvent> GetRouteChanges() const;
|
||||
|
||||
private:
|
||||
bool ParseStreamInternal(
|
||||
std::istream& stream); // no-presubmit-check TODO(webrtc:8982)
|
||||
|
||||
Reference in New Issue
Block a user