Android: Generate JNI code for VideoSink and VideoEncoder

This is the first CL to start generating JNI code. It has updated two of
the most recent classes to use JNI code generation.

Bug: webrtc:8278
Change-Id: I1b19ee78c273346ceeaa0401dbdf8696803f16c7
Reviewed-on: https://webrtc-review.googlesource.com/3820
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19994}
This commit is contained in:
Magnus Jedvert
2017-09-26 18:21:19 +02:00
committed by Commit Bot
parent bc7a1a97e9
commit ba78b5a905
7 changed files with 42 additions and 61 deletions

View File

@ -19,5 +19,5 @@ public interface VideoSink {
* this function returns. Each call to retain() should be followed by a call to frame.release()
* when the reference is no longer needed.
*/
void onFrame(VideoFrame frame);
@CalledByNative void onFrame(VideoFrame frame);
}