diff --git a/modules/include/module_common_types.h b/modules/include/module_common_types.h index 6554adb1f9..a1889d4bdc 100644 --- a/modules/include/module_common_types.h +++ b/modules/include/module_common_types.h @@ -70,6 +70,8 @@ union RTPTypeHeader { struct WebRtcRTPHeader { RTPHeader header; FrameType frameType; + // TODO(philipel): Remove with RTPTypeHeader. + RTPVideoHeader& video_header() { return type.Video; } RTPTypeHeader type; // NTP time of the capture time in local timebase in milliseconds. int64_t ntp_time_ms;