DescriptionCast: Fix encoding event subscriber log packet size.
Previously we set the packet size in BasePacketEvent proto during
construction and never overwrite it. The problem is that the proto is
most often created as a result of seeing a receiver packet event first,
which does not contain packet size information and thus the size field
is set to 0. We'd need to overwrite the size field when we see a sender
packet event, which contains packet size information.
Most of the time we see receiver event first because they often arrive
sooner (via RTCP packets) than sender events (via IPC every second).
BUG=373418
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269513
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|