21f7d6d2fe
WebRTCDemo: move the deletion of CritSect to end of the dtor to fix a crash in Android video renderer.
...
BUG=3368
TEST=Manual Test
Review URL: https://webrtc-codereview.appspot.com/21519005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6220 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-22 02:57:55 +00:00
f4c9444c65
VideoCaptureAndroid: stop referencing ViERenderer
...
To facilitate building video_capture's java code without video_render's java
code this reorganizes the local-preview hack to be driven by MediaEngine.
This is the "first step" in the linked bug.
BUG=3175
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/11349004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5865 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-08 22:55:07 +00:00
6c82e04cee
Android standalone: remove some usages of deprecated APIs and prevent further regressions.
...
Also:
- Fixed WebRTCDemo UI to say "SwitchToBack" at startup since default camera is front
- Rebuild WebRTCDemo APK when resources/layout/strings change
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2337004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4916 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-03 18:57:48 +00:00
4ca7d3f9fe
Replace MapWrapper with std::map<>.
...
MapWrapper was needed on some platforms where STL wasn't supported, we
now use std::map<> directly.
BUG=2164
TEST=trybots
R=henrike@webrtc.org , phoglund@webrtc.org , stefan@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2001004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4530 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-12 19:51:57 +00:00
5aa3f1b4c0
Include files from webrtc/.. paths in video_render/.
...
BUG=1662
R=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1782006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4334 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-12 08:12:08 +00:00
d900e8bea8
Proper spacing for end-of-namespace comments.
...
BUG=
R=mflodman@webrtc.org , tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1760006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-03 15:12:26 +00:00
546c91dc2e
Build all java files into jar for each module on Android
...
BUG=None
TEST=All java files in each module are built into jar and used by WebRTCDemo app
R=fischman@webrtc.org , niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1696004
Patch from Jeremy Mao <yujie.mao@intel.com >.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4284 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-01 17:52:39 +00:00
90cc3b95b7
Android opengles renderer: add thread sync to swap frame and draw native.
...
BUG=1616
TEST=Manual Test
R=fischman@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1738005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4281 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-28 23:53:11 +00:00
dd97ef4e28
Revert 4211 "Build all java files into jar for each module on An..."
...
Reason for revert: behold the meltdown of the "trunk" bots on http://build.chromium.org/p/chromium.webrtc.fyi/waterfall
Turns out that include in gyp is fraught with peril: https://code.google.com/p/gyp/wiki/InputFormatReference#Including_Other_Files
> Build all java files into jar for each module on Android
>
> BUG=
> R=fischman@webrtc.org , niklas.enbom@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/1636004
>
> Patch from Jeremy Mao <yujie.mao@intel.com >.
TBR=fischman@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/1660005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4222 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-12 17:39:29 +00:00
1374965680
Build all java files into jar for each module on Android
...
BUG=
R=fischman@webrtc.org , niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1636004
Patch from Jeremy Mao <yujie.mao@intel.com >.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4211 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-10 23:34:27 +00:00
34a77354a8
Removed unused class members to enable clang=1 android build.
...
BUG=https://code.google.com/p/webrtc/issues/detail?id=1275
TESTED=video_demo_apk builds with clang=1
R=niklas.enbom@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1605004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4160 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-04 00:37:21 +00:00
f2a97fc2b4
WebRTCDemo: handle stride!=width from first frame.
...
Previously only mid-stream frames handled stride!=width correctly.
BUG=1615
Review URL: https://webrtc-codereview.appspot.com/1304009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3821 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-10 23:21:10 +00:00
ddf94e71e5
WebRtc_Word32 -> int32_t in video_render/
...
BUG=314
Review URL: https://webrtc-codereview.appspot.com/1304006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3810 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-10 08:09:04 +00:00
f61e02c81f
Misc cleanups to webrtc/android code:
...
- Replace some deprecated calls/enums with their more modern equivalents.
- Clean up some usage of global data and/or hide it better
- Catch specific exceptions instead of Exception, and log the exception instead
of just its message.
- Random log message cleanups
- Added a build_with_libjingle gyp variable to mimic build_with_chromium for
when webrtc is built as part of a libjingle project but not part of chromium.
BUG=webrtc:1169
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1105010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3554 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-20 23:13:46 +00:00
b900721472
Fix OpenGL rendering of WebRTCDemo by accounting for stride != width.
...
BUG=998
Review URL: https://webrtc-codereview.appspot.com/936021
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3079 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-12 16:39:25 +00:00
06d72d881f
Add Android OWNER files
...
Message:
Add OWNER files so I can review and approve changes for Android.
I also should be owner for all .mk file, but it's OK for now,
please review.
BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/932016
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3069 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-09 17:51:55 +00:00
9841d92b8d
Reorganize modules/video_render.
...
The usual elimination of main/source etc.
Review URL: https://webrtc-codereview.appspot.com/929011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3027 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-31 05:22:11 +00:00