DescriptionCast: Implemented relative RTP timestamp in EncodingEventSubscriber.
- RTP timestamps in the maps of EncodingEventSubscribers (map keys, rtp timestamp fields in protos) are now relative to the first RTP timestamp seen since last Reset().
- The two GetXXXEventsAndReset() functions have been combined into one. In addition, it will now return the first RTP timestamp seen since the last Reset(). It will also reset the first RTP timestamp seen.
- There are two motivations for this change:
-- 1. RTP timestamps wrap around easily - around every 12 hours or so. If we do not use relative RTP timestamps, the ordering in the map, as well as general order of the events by frame, will be messed up.
-- 2. Using relative values will be more compact in variable-length encoding of the RTP timestamp fields.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251973
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed Alpha's comment #
Messages
Total messages: 6 (0 generated)
|