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}
This commit is contained in:
Sebastian Jansson
2019-01-15 15:38:59 +01:00
committed by Commit Bot
parent 66a29b9953
commit 4306a25dfc
5 changed files with 351 additions and 83 deletions

View File

@ -466,7 +466,13 @@ 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<LoggedIceCandidatePairConfig> GetIceCandidates() const;
std::vector<LoggedIceEvent> GetIceEvents() const;
private:
std::vector<LoggedRouteChangeEvent> GetRouteChanges() const;
bool ParseStreamInternal(
std::istream& stream); // no-presubmit-check TODO(webrtc:8982)