magjed
05bfbe47ef
AppRTCDemo: Render each video in a separate SurfaceView
...
This CL introduces a new org.webrtc.VideoRenderer.Callbacks implementation called SurfaceViewRenderer that renders each video stream in its own SurfaceView. AppRTCDemo is updated to use this new rendering.
This CL also does the following changes:
* Make the VideoRenderer.Callbacks interface asynchronous and require that renderFrameDone() is called for every renderFrame(). In JNI, this is implemented with cricket::VideoFrame::Copy()/delete.
* Make public static helper functions: convertScalingTypeToVisibleFraction(), getDisplaySize(), and getTextureMatrix().
* Introduces new helper functions surfaceWidth()/surfaceHeight() in EGlBase that allows to query the surface size.
* Introduce PercentFrameLayout that implements the percentage layout that is used by AppRTCDemo.
BUG=webrtc:4742
Review URL: https://codereview.webrtc.org/1257043004
Cr-Commit-Position: refs/heads/master@{#9699}
2015-08-11 13:50:27 +00:00
..
2015-08-11 13:50:27 +00:00
2015-08-11 13:50:27 +00:00
2015-01-20 21:36:13 +00:00
2015-07-23 19:50:59 +00:00
2015-07-01 20:34:42 +00:00
2015-08-11 08:33:27 +00:00
2015-08-06 11:00:20 +00:00
2015-07-22 09:32:04 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-07-01 20:34:42 +00:00
2015-07-01 20:34:42 +00:00
2015-05-29 15:52:44 +00:00
2015-07-01 20:34:42 +00:00
2015-08-11 09:44:58 +00:00
2015-08-11 09:44:58 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-03-04 13:04:54 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-01-20 21:36:13 +00:00
2015-07-03 08:36:22 +00:00
2015-07-03 08:36:22 +00:00
2015-02-12 09:24:25 +00:00
2015-07-16 20:43:27 +00:00
2015-07-16 20:43:27 +00:00
2015-01-20 21:36:13 +00:00
2015-08-11 11:13:00 +00:00
2015-07-16 20:43:27 +00:00
2015-01-20 21:36:13 +00:00
2015-06-16 07:53:32 +00:00
2015-06-16 07:53:32 +00:00
2015-01-20 21:36:13 +00:00
2015-06-23 16:50:50 +00:00
2015-06-23 16:50:50 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-02-17 13:54:42 +00:00
2015-07-23 13:02:45 +00:00
2015-07-23 13:02:45 +00:00
2015-03-12 21:38:19 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2015-07-23 13:02:45 +00:00
2015-07-23 13:02:45 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2014-07-01 18:38:28 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 11:13:00 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 11:13:00 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-07-13 19:19:42 +00:00
2015-02-12 09:24:25 +00:00
2015-02-12 09:24:25 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2015-01-20 21:36:13 +00:00
2015-01-20 21:36:13 +00:00
2015-03-04 13:04:54 +00:00
2014-08-13 17:26:08 +00:00
2015-04-20 12:03:00 +00:00
2014-07-29 17:36:52 +00:00
2015-08-05 10:26:01 +00:00
2015-06-22 22:06:50 +00:00
2015-06-22 22:06:50 +00:00
2015-08-07 16:48:22 +00:00
2015-08-07 16:48:22 +00:00
2015-01-20 21:36:13 +00:00
2015-07-03 08:36:22 +00:00
2015-02-17 13:54:42 +00:00
2015-03-04 13:04:54 +00:00
2015-02-17 13:54:42 +00:00
2015-03-02 11:33:41 +00:00
2015-02-17 13:54:42 +00:00
2015-03-12 21:38:19 +00:00
2015-05-28 09:43:45 +00:00
2015-01-20 21:36:13 +00:00
2015-03-12 21:38:19 +00:00
2015-03-12 21:38:19 +00:00
2015-08-11 11:13:00 +00:00
2015-08-11 11:13:00 +00:00
2015-01-20 21:36:13 +00:00
2015-08-11 11:13:00 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 08:33:27 +00:00
2015-08-11 11:13:00 +00:00
2015-08-11 08:33:27 +00:00