diff --git a/sdk/android/api/org/webrtc/VideoEncoder.java b/sdk/android/api/org/webrtc/VideoEncoder.java index 4f97fb0c0d..01c249fa6b 100644 --- a/sdk/android/api/org/webrtc/VideoEncoder.java +++ b/sdk/android/api/org/webrtc/VideoEncoder.java @@ -122,7 +122,10 @@ public interface VideoEncoder { } public interface Callback { - /** Call to return an encoded frame. */ + /** + * Call to return an encoded frame. It is safe to assume the byte buffer held by |frame| is not + * accessed after the call to this method returns. + */ void onEncodedFrame(EncodedImage frame, CodecSpecificInfo info); }