Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Issue 2938103002: ran git cl format webrtc/sdk/android/

Created:
3 years, 6 months ago by jpbrahma
Modified:
3 years, 4 months ago
Reviewers:
CC:
webrtc-reviews_webrtc.org, sakal
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

ran git cl format webrtc/sdk/android/ changed AUTHORS update aspect ratio when TextureView size is updated change pipRenderer to SurfaceViewRendered Added TextureViewRenderer class. This class uses a TextureView to render the video BUG=webrtc:7816

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -15 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/examples/androidapp/res/layout/activity_call.xml View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java View 4 chunks +4 lines, -3 lines 1 comment Download
M webrtc/sdk/android/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/api/org/webrtc/SurfaceViewRenderer.java View 1 chunk +1 line, -1 line 1 comment Download
A + webrtc/sdk/android/api/org/webrtc/TextureViewRenderer.java View 6 chunks +77 lines, -10 lines 3 comments Download

Messages

Total messages: 19 (15 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2938103002/1
3 years, 6 months ago (2017-06-14 23:12:57 UTC) #2
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-06-14 23:13:00 UTC) #4
jpbrahma
Added TextureViewRenderer class. This class uses a TextureView to render the video Updated AppRtc to ...
3 years, 6 months ago (2017-06-14 23:23:27 UTC) #11
sakal
3 years, 6 months ago (2017-06-16 07:47:02 UTC) #18
https://codereview.webrtc.org/2938103002/diff/1/webrtc/examples/androidapp/sr...
File webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
(right):

https://codereview.webrtc.org/2938103002/diff/1/webrtc/examples/androidapp/sr...
webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java:165: private
TextureViewRenderer fullscreenRenderer;
Please do not change this or make it a setting.

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
File webrtc/sdk/android/api/org/webrtc/SurfaceViewRenderer.java (right):

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
webrtc/sdk/android/api/org/webrtc/SurfaceViewRenderer.java:118: * @param
drawerParam   Custom drawer to use for this frame listener.
Please fix the formatting if you want to change this.

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
File webrtc/sdk/android/api/org/webrtc/TextureViewRenderer.java (right):

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
webrtc/sdk/android/api/org/webrtc/TextureViewRenderer.java:248:
adjustAspectRatio(surfaceWidth, surfaceHeight);
This doesn't change the surface size?

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
webrtc/sdk/android/api/org/webrtc/TextureViewRenderer.java:251: surfaceWidth =
surfaceHeight = 0;
We have to somehow reset the surface size

https://codereview.webrtc.org/2938103002/diff/1/webrtc/sdk/android/api/org/we...
webrtc/sdk/android/api/org/webrtc/TextureViewRenderer.java:259: private void
adjustAspectRatio(int videoWidth, int videoHeight) {
This method is not needed if you correctly call setLayoutAspectRatio, it set a
matrix that renders correctly on the surface.

Powered by Google App Engine
This is Rietveld 408576698