RtcEventLogSource no longer uses deprecated parsing functions.

Also remove header extension map from NetEqEventLogInput and RtcEventLogSource.

Bug: webrtc:8111
Change-Id: Ic9be7b03e32ab8aa12284596e21e53b6763f483a
Reviewed-on: https://webrtc-review.googlesource.com/c/102622
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25122}
This commit is contained in:
Bjorn Terelius
2018-10-11 16:51:23 +02:00
committed by Commit Bot
parent 499bc6c5d0
commit 5350d1cafd
15 changed files with 150 additions and 120 deletions

View File

@ -50,7 +50,17 @@ class Packet {
double time_ms,
const RtpHeaderParser& parser);
// The following two constructors are the same as above, but without a
// Same as above, but creates the packet from an already parsed RTPHeader.
// This is typically used when reading RTP dump files that only contain the
// RTP headers, and no payload. The |virtual_packet_length_bytes| tells what
// size the packet had on wire, including the now discarded payload,
// The |virtual_payload_length_bytes| tells the size of the payload.
Packet(const RTPHeader& header,
size_t virtual_packet_length_bytes,
size_t virtual_payload_length_bytes,
double time_ms);
// The following constructors are the same as the first two, but without a
// parser. Note that when the object is constructed using any of these
// methods, the header will be parsed using a default RtpHeaderParser object.
// In particular, RTP header extensions won't be parsed.