e6c9e88c18
Android: Add Size class.
...
The Camera1 and Camera2 API use different size types. Camera1 uses
android.hardware.Camera.Size while Camera2 uses android.util.Size.
android.util.Size is only available from Lollipop forward so this CL
adds a similar Size class in CaptureFormat.
The purpose of this CL is to have a common size type that can be reused
from both Camera1 and Camera2 helper functions such as
CameraEnumerationAndroid.getClosestSupportedSize().
BUG=webrtc:5519
Review-Url: https://codereview.webrtc.org/2066773002
Cr-Commit-Position: refs/heads/master@{#13181}
2016-06-17 08:02:10 +00:00
a44e72c44f
Call java SurfaceTextureHelper.dispose from the corresponding C++ destructor.
...
This makes it clearer that the C++ SurfaceTextureHelper owns its associated java object it.
In addition, arrange so that the SurfaceTextureHelper.stopListening
method (in java) can be called from any thread.
BUG=
Review-Url: https://codereview.webrtc.org/1988043002
Cr-Commit-Position: refs/heads/master@{#12941}
2016-05-27 07:28:05 +00:00
7d4a6c3208
Adds timeout for audio record thread in Java layer
...
BUG=b/28448866
R=magjed@webrtc.org
Review URL: https://codereview.webrtc.org/1933123002 .
Cr-Commit-Position: refs/heads/master@{#12590}
2016-05-02 09:01:02 +00:00
b6755ab6df
Revert of Adding thread timeout for audio recorer thread in Java (patchset #2 id:20001 of https://codereview.webrtc.org/1444313002/ )
...
Reason for revert:
Reverting since this fix might hide real issue and the reported root problem seems extremely rare.
Original issue's description:
> Adding thread timeout for audio recorer thread in Java
>
> BUG=NONE
>
> Committed: https://crrev.com/fd614c2149c7985bd83df809df71d0d60e5a8f74
> Cr-Commit-Position: refs/heads/master@{#10671}
TBR=magjed@webrtc.org ,tommi@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=NONE
Review URL: https://codereview.webrtc.org/1459123002
Cr-Commit-Position: refs/heads/master@{#10707}
2015-11-19 10:43:19 +00:00
fd614c2149
Adding thread timeout for audio recorer thread in Java
...
BUG=NONE
Review URL: https://codereview.webrtc.org/1444313002
Cr-Commit-Position: refs/heads/master@{#10671}
2015-11-17 12:28:33 +00:00
4cd053fe88
Only catch UnsatisfiedLinkError in Logging.java.
...
BUG=
Review URL: https://codereview.webrtc.org/1375913005
Cr-Commit-Position: refs/heads/master@{#10169}
2015-10-05 12:27:50 +00:00
4d47aa335c
Fallback to system log when webrtc tracing not enabled.
...
BUG=
R=glaznev@webrtc.org
Review URL: https://codereview.webrtc.org/1368053002 .
Cr-Commit-Position: refs/heads/master@{#10079}
2015-09-25 17:04:36 +00:00
4ba059d218
Remove custom handler since the logger already logs to console by default.
...
BUG=
R=glaznev@webrtc.org
Review URL: https://codereview.webrtc.org/1367523009 .
Cr-Commit-Position: refs/heads/master@{#10064}
2015-09-24 21:36:17 +00:00
ca14b2f065
Add system log fallback when native logging is unavailable.
...
BUG=
Review URL: https://codereview.webrtc.org/1354803002
Cr-Commit-Position: refs/heads/master@{#9989}
2015-09-18 11:32:34 +00:00
7754285f7c
Log to the webrtc log stream from webrtc/modules java code.
...
The purpose is to gather all webrtc logging in a single place and allow the app to redirect all webrtc logging to a single stream for offline debugging.
Moved Logging.java to webrtc/base to be shared by talk/ and modules/.
R=glaznev@webrtc.org , henrika@webrtc.org , magjed@webrtc.org , tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1335103004 .
Cr-Commit-Position: refs/heads/master@{#9959}
2015-09-16 23:20:48 +00:00