diff --git a/api/video/encoded_image.h b/api/video/encoded_image.h index ffe6dbe34c..3be538bf11 100644 --- a/api/video/encoded_image.h +++ b/api/video/encoded_image.h @@ -39,6 +39,8 @@ namespace webrtc { // releaseOutputBuffer. class EncodedImageBufferInterface : public RefCountInterface { public: + using value_type = uint8_t; + virtual const uint8_t* data() const = 0; // TODO(bugs.webrtc.org/9378): Make interface essentially read-only, delete // this non-const data method.