From b0b03a87b7682e0a4b318e537334c93fc6d1adfb Mon Sep 17 00:00:00 2001 From: Danil Chapovalov Date: Mon, 21 Aug 2023 13:52:14 +0200 Subject: [PATCH] Mark api video timing classes with RTC_EXPORT Bug: None Change-Id: Icf99dcdef7278b6051f040c51583a5e164e8f22e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/316921 Auto-Submit: Danil Chapovalov Commit-Queue: Philip Eliasson Reviewed-by: Philip Eliasson Commit-Queue: Danil Chapovalov Cr-Commit-Position: refs/heads/main@{#40584} --- api/video/video_timing.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/video/video_timing.h b/api/video/video_timing.h index 2ba10daf3b..772e79549d 100644 --- a/api/video/video_timing.h +++ b/api/video/video_timing.h @@ -17,12 +17,13 @@ #include #include "api/units/time_delta.h" +#include "rtc_base/system/rtc_export.h" namespace webrtc { // Video timing timestamps in ms counted from capture_time_ms of a frame. // This structure represents data sent in video-timing RTP header extension. -struct VideoSendTiming { +struct RTC_EXPORT VideoSendTiming { enum TimingFrameFlags : uint8_t { kNotTriggered = 0, // Timing info valid, but not to be transmitted. // Used on send-side only. @@ -51,7 +52,7 @@ struct VideoSendTiming { // timestamps for a lifetime of that specific frame. Reported as a string via // GetStats(). Only frame which took the longest between two GetStats calls is // reported. -struct TimingFrameInfo { +struct RTC_EXPORT TimingFrameInfo { TimingFrameInfo(); // Returns end-to-end delay of a frame, if sender and receiver timestamps are @@ -111,7 +112,7 @@ struct TimingFrameInfo { // // min = x, max = y indicates that the receiver is free to adapt // in the range (x, y) based on network jitter. -struct VideoPlayoutDelay { +struct RTC_EXPORT VideoPlayoutDelay { // Maximum supported value for the delay limit. static constexpr TimeDelta kMax = TimeDelta::Millis(10) * 0xFFF;