diff --git a/api/video/encoded_frame.cc b/api/video/encoded_frame.cc index 37da35f047..a0ec1d63f5 100644 --- a/api/video/encoded_frame.cc +++ b/api/video/encoded_frame.cc @@ -15,5 +15,7 @@ namespace video_coding { bool EncodedFrame::delayed_by_retransmission() const { return 0; } +uint32_t EncodedFrame::Timestamp() const { return timestamp; } + } // namespace video_coding } // namespace webrtc diff --git a/api/video/encoded_frame.h b/api/video/encoded_frame.h index 1e919d0077..8bfa61e2cc 100644 --- a/api/video/encoded_frame.h +++ b/api/video/encoded_frame.h @@ -59,7 +59,7 @@ class EncodedFrame : public webrtc::VCMEncodedFrame { virtual bool GetBitstream(uint8_t* destination) const = 0; // The capture timestamp of this frame. - virtual uint32_t Timestamp() const = 0; + virtual uint32_t Timestamp() const; // When this frame was received. virtual int64_t ReceivedTime() const = 0;