mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Add RTPVideoHeader const accessor.
Preparation CL to remove RTPTypeHeader. Follow up to this CL (https://webrtc-review.googlesource.com/c/src/+/84423). Bug: none Change-Id: I40516c1791c1ead45e082f554f2f5fcda529e7d6 Reviewed-on: https://webrtc-review.googlesource.com/84588 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23698}
This commit is contained in:
parent
196100efa6
commit
8b23dba0e5
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ struct WebRtcRTPHeader {
|
||||||
FrameType frameType;
|
FrameType frameType;
|
||||||
// TODO(philipel): Remove with RTPTypeHeader.
|
// TODO(philipel): Remove with RTPTypeHeader.
|
||||||
RTPVideoHeader& video_header() { return type.Video; }
|
RTPVideoHeader& video_header() { return type.Video; }
|
||||||
|
const RTPVideoHeader& video_header() const { return type.Video; }
|
||||||
RTPTypeHeader type;
|
RTPTypeHeader type;
|
||||||
// NTP time of the capture time in local timebase in milliseconds.
|
// NTP time of the capture time in local timebase in milliseconds.
|
||||||
int64_t ntp_time_ms;
|
int64_t ntp_time_ms;
|
||||||
|
|
Loading…
Reference in a new issue