Correcting payload size to NetEq simulator in RTC event log analyzer.
Bug: webrtc:9171, b/77841364 Change-Id: Ia56b61df1cb824d9d1bf9ec7d93770082803b642 Reviewed-on: https://webrtc-review.googlesource.com/71140 Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Minyue Li <minyue@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22948}
This commit is contained in:
@ -30,11 +30,18 @@ namespace webrtc {
|
||||
namespace plotting {
|
||||
|
||||
struct LoggedRtpPacket {
|
||||
LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length)
|
||||
: timestamp(timestamp), header(header), total_length(total_length) {}
|
||||
LoggedRtpPacket(uint64_t timestamp,
|
||||
RTPHeader header,
|
||||
size_t header_length,
|
||||
size_t total_length)
|
||||
: timestamp(timestamp),
|
||||
header(header),
|
||||
header_length(header_length),
|
||||
total_length(total_length) {}
|
||||
uint64_t timestamp;
|
||||
// TODO(terelius): This allocates space for 15 CSRCs even if none are used.
|
||||
RTPHeader header;
|
||||
size_t header_length;
|
||||
size_t total_length;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user