tommi@webrtc.org
5af41aabae
Fix uninitialized variable. If FindConstraint() returns false, we check |value| in two places and at that point, it can hold an uninitialized value. Caught by Linux Memcheck builder.
...
http://chromegw.corp.google.com/i/client.webrtc/builders/Linux%20Memcheck/builds/3351/steps/libjingle_peerconnection_unittest/logs/0A34BA777AB03D08
TBR=perkj@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/43579004
Cr-Commit-Position: refs/heads/master@{#8611}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8611 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-05 08:42:13 +00:00
guoweis@webrtc.org
bbce5efaa6
Turn on IPv6 for WebRTC as default as required before ramping the experiment to 30%.
...
BUG=
R=juberti@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=8582
Committed: https://code.google.com/p/webrtc/source/detail?r=8607
Review URL: https://webrtc-codereview.appspot.com/43529004
Cr-Commit-Position: refs/heads/master@{#8609}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8609 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-05 04:39:07 +00:00
guoweis@webrtc.org
d43b2c098d
Revert "Turn on IPv6 for WebRTC as default as required before ramping the experiment to 30%."
...
This reverts commit 86c33e3a94f51f8e4b4f305708ec327786ad3794.
TBR=guoweis@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/47409004
Cr-Commit-Position: refs/heads/master@{#8608}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8608 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-05 04:03:44 +00:00
guoweis@webrtc.org
86c33e3a94
Turn on IPv6 for WebRTC as default as required before ramping the experiment to 30%.
...
BUG=
R=juberti@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=8582
Review URL: https://webrtc-codereview.appspot.com/43529004
Cr-Commit-Position: refs/heads/master@{#8607}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8607 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-05 03:40:48 +00:00
jiayl@webrtc.org
61e00b0bca
Create a in-memory DTLS identity store that keeps a free identity generated in the background.
...
BUG=4241
R=pthatcher@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=8576
Committed: https://code.google.com/p/webrtc/source/detail?r=8581
Review URL: https://webrtc-codereview.appspot.com/37889004
Cr-Commit-Position: refs/heads/master@{#8605}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8605 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 22:18:18 +00:00
tommi@webrtc.org
92f4018d80
Start using std::map for Values in the statscollector. This is in preparaton for more work which will cut down on the string copying work we do.
...
Rename "AddValue" methods to AddXxx where Xxx is the type being added. Moving forward, we'll support those types natively without conversion to string.
Normalizing the extraction code to have fewer places that add the same stats and data driven additions to reports instead of multiple call sites.
BUG=2822
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/47369004
Cr-Commit-Position: refs/heads/master@{#8597}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8597 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 15:25:44 +00:00
kjellander@webrtc.org
14665ff7d4
Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro
...
Clang version changed 223108:230914
Details: e144d30..6fdb142
/tools/clang/scripts/update.sh
Removes the OVERRIDE macro defined in:
* webrtc/base/common.h
* webrtc/typedefs.h
The majority of the source changes were done by running this in src/:
perl -0pi -e "s/virtual\s([^({;]*(\([^({;]*\)[^({;]*))(OVERRIDE|override)/\1override/sg" `find {talk,webrtc} -name "*.h" -o -name "*.cc*" -o -name "*.mm*"`
which converted all:
virtual Foo() OVERRIDE
functions to:
Foo() override
Then I manually edited:
* talk/media/webrtc/fakewebrtccommon.h
* webrtc/test/fake_common.h
Remaining uses of OVERRIDE was fixed by search+replace.
Manual edits were done to fix virtual destructors that were
overriding inherited ones.
Finally a build error related to the pure virtual definitions of
Read, Write and Rewind in common_types.h required a bit of
refactoring in:
* webrtc/common_types.cc
* webrtc/common_types.h
* webrtc/system_wrappers/interface/file_wrapper.h
* webrtc/system_wrappers/source/file_impl.cc
This roll should make it possible for us to finally re-enable deadlock
detection for TSan on the buildbots.
BUG=4106
R=pbos@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/41069004
Cr-Commit-Position: refs/heads/master@{#8596}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8596 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 13:04:54 +00:00
pbos@webrtc.org
058b1f17ac
Remove GetReceiveBandwidthEstimatorStats.
...
Removes unnecessary non-standard stats that we don't really make use of.
BUG=
R=pthatcher@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/47379004
Cr-Commit-Position: refs/heads/master@{#8588}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8588 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 08:55:16 +00:00
guoweis@webrtc.org
fc2f146af2
Revert "Turn on IPv6 for WebRTC as default as required before ramping the experiment to 30%."
...
This reverts commit bbbdeed2bff31777ca7d298d17336fe94626f5b3.
TBR=juberti@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/41109004
Cr-Commit-Position: refs/heads/master@{#8585}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8585 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 04:50:41 +00:00
pthatcher@webrtc.org
7bea1ffe77
Expose negotiated ciphers through stats API.
...
Use the new internal API to expose the negotiated SRTP/SSL ciphers
through the stats API.
This is a follow-up to https://webrtc-codereview.appspot.com/37209004 .
BUG=3976
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35169004
Cr-Commit-Position: refs/heads/master@{#8584}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8584 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 01:38:49 +00:00
jiayl@webrtc.org
be77872d2c
Revert "Create a in-memory DTLS identity store that keeps a free identity generated in the background."
...
Breaking Chromium FYI.
TBR=pthatcher@webrtc.org
This reverts commit 369f68255ffd3d6f3e449e0defeae820cefd4f29.
BUG=4241
R=pthatcher@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=8576
Review URL: https://webrtc-codereview.appspot.com/37889004
Review URL: https://webrtc-codereview.appspot.com/47389004
Cr-Commit-Position: refs/heads/master@{#8583}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8583 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-04 00:19:16 +00:00
guoweis@webrtc.org
bbbdeed2bf
Turn on IPv6 for WebRTC as default as required before ramping the experiment to 30%.
...
BUG=
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/43529004
Cr-Commit-Position: refs/heads/master@{#8582}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8582 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 23:27:41 +00:00
jiayl@webrtc.org
369f68255f
Create a in-memory DTLS identity store that keeps a free identity generated in the background.
...
BUG=4241
R=pthatcher@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=8576
Review URL: https://webrtc-codereview.appspot.com/37889004
Cr-Commit-Position: refs/heads/master@{#8581}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8581 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 23:14:18 +00:00
jiayl@webrtc.org
8ad96605c1
Revert "Create a in-memory DTLS identity store that keeps a free identity generated in the background."
...
Test failure: http://chromegw/i/client.webrtc/builders/Linux32%20Release/builds/3557
This reverts commit df512cc8b73ff519dcdf63a2603ab312d3443402.
TBR=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/41089004
Cr-Commit-Position: refs/heads/master@{#8579}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8579 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 20:35:34 +00:00
jiayl@webrtc.org
df512cc8b7
Create a in-memory DTLS identity store that keeps a free identity generated in the background.
...
BUG=4241
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/37889004
Cr-Commit-Position: refs/heads/master@{#8576}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8576 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 16:42:21 +00:00
perkj@webrtc.org
a1c9803e32
Fix crash in setPictureSize on Galaxy Nexus.
...
This cl tries to find the best supported pictureSize before setting it.
BUG=4197
R=magjed@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/45419004
Cr-Commit-Position: refs/heads/master@{#8571}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8571 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 10:54:21 +00:00
perkj@webrtc.org
1d82813961
Reland "Fix CVO in androidvideocapturer".
...
This cl was originally revieved in https://webrtc-codereview.appspot.com/40759004/
Patchset 2 adds a unittest for VideoFrame::Reset with and without the apply_rotation flag set.
BUG=4145
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/42559004
Cr-Commit-Position: refs/heads/master@{#8564}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8564 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-03 06:44:40 +00:00
perkj@webrtc.org
60f9d6f959
Revert "Add default implementation to VideoSourceInterface."
...
Chrome test mock has been updated so VideoSourceInterface can now be pure virtual again. This reverts commit ed8d52378c43a7a93e0d2ca586486ca06db9eabe.
R=magjed@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/45399004
Cr-Commit-Position: refs/heads/master@{#8551}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8551 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-02 11:33:41 +00:00
tommi@webrtc.org
afa6d16a05
Add a ToString() method to StatsReport::Value.
...
This is an interface change only at this point which will be followed up by a matching change in Chromium that removes the dependency on the 'value' member variable. Once that's been done, I'll add native support for non-string types in the Value class.
R=magjed@webrtc.org
BUG=2822
Review URL: https://webrtc-codereview.appspot.com/40139004
Cr-Commit-Position: refs/heads/master@{#8550}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8550 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-02 11:28:35 +00:00
aluebs@webrtc.org
73acc15c69
Revert 8538 "Reland "Fix CVO in androidvideocapturer."""
...
> Reland "Fix CVO in androidvideocapturer.""
> This reverts commit b8bcf8cbbf84971e2ae26d91659afdc58617b054.
> after I fixed a rebase mistake. The fix is the delta between patchset 1 and 2.
>
> The original cl was reviewed here:
> https://webrtc-codereview.appspot.com/40759004/
>
> TBR=magjed@webrtc.org
>
> BUG=4145
>
> Review URL: https://webrtc-codereview.appspot.com/45409004
TBR=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/44439004
Cr-Commit-Position: refs/heads/master@{#8539}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8539 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 23:27:41 +00:00
perkj@webrtc.org
3a93e33c56
Reland "Fix CVO in androidvideocapturer.""
...
This reverts commit b8bcf8cbbf84971e2ae26d91659afdc58617b054.
after I fixed a rebase mistake. The fix is the delta between patchset 1 and 2.
The original cl was reviewed here:
https://webrtc-codereview.appspot.com/40759004/
TBR=magjed@webrtc.org
BUG=4145
Review URL: https://webrtc-codereview.appspot.com/45409004
Cr-Commit-Position: refs/heads/master@{#8538}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8538 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 20:19:16 +00:00
perkj@webrtc.org
b8bcf8cbbf
Revert "Fix CVO in androidvideocapturer."
...
This reverts commit 02ed57bf9d12a959d5ec139b3fc49170d16b5f30.
https://webrtc-codereview.appspot.com/40759004/
Reason- breaks tests after rebase.
TBR=magjed@webrtc.org
BUG=4145
Review URL: https://webrtc-codereview.appspot.com/39349004
Cr-Commit-Position: refs/heads/master@{#8537}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8537 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 19:48:15 +00:00
perkj@webrtc.org
02ed57bf9d
Fix CVO in androidvideocapturer.
...
This add bool apply_rotation to WebrtcVideoFrame::Init and removes the need for WebrtcVideoFrame::SetRotation.
BUG=4145
R=guoweis@webrtc.org , pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/40759004
Cr-Commit-Position: refs/heads/master@{#8536}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8536 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 19:10:45 +00:00
perkj@webrtc.org
41d8fda12d
VideoCapturerAndroid allocates direct buffers so that the frame buffers can be used in C++ without a copy. However byte[] array = ByteBuffer.array() seems to point to the beginning of the underlaying buffer and that is what the camera fills. But it turns out that ByteBuffer.arrayOffset() returns an offset and it seems like the pointer returned by jni->GetDirectBufferAddress(j_frame). This cl reverts back to pass the byte[] to c++ and use jni->GetByteArrayElements to get the address of the buffer.
...
R=glaznev@webrtc.org , magjed@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35349004
Cr-Commit-Position: refs/heads/master@{#8535}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8535 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 18:51:18 +00:00
guoweis@webrtc.org
21ad37528e
Ensure we set the right attrib for correct shader
...
When using oesProgram, we still specify the yuvProgram for setting shader attributes. This should be changed to the correct shader program.
BUG=
R=glaznev@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/45379004
Cr-Commit-Position: refs/heads/master@{#8533}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8533 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-27 18:12:20 +00:00
magjed@webrtc.org
f09e7b8a4f
WebRtcVideoFrame: DCHECK exclusive ownership for non-const pixel access
...
Add some const safety by DCHECK(HasOneRef()) in non-const GetYPlane. This CL also replaces all incorrect non-const calls with const calls for pixel data access in cricket::VideoFrame. It's easy to call the non-const version of e.g. GetYPlane by mistake, even if only const-access is needed. For example:
const scoped_ptr<cricket::VideoFrame> foo;
const uint8_t* y = foo->GetYPlane();
will actually call the non-const version of GetYPlane.
R=mflodman@webrtc.org , perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/39079004
Cr-Commit-Position: refs/heads/master@{#8507}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8507 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-25 14:50:19 +00:00
hbos@webrtc.org
1e64263b90
Thread-safe ChannelManager.GetSupportedFormats, used by VideoSource
...
VideoSource was using VideoCapturer's GetSupportedFormats in a non-thread safe manner.
Now this is handled to (new method) ChannelManager.GetSupportedFormats.
BUG=
R=perkj@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/42079004
Cr-Commit-Position: refs/heads/master@{#8495}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8495 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-25 09:50:22 +00:00
perkj@webrtc.org
112f127170
Refactor how VideoCapturerAndroid delivers frames and is stopped.
...
With this cl, video buffers are now allocated using direct buffers.
These buffers are guaranteed to live as long as the capturer is running.
We can now post frames in c++ from the Java thread to the c++ worker thread and let c++ post the buffers back when it has finished
processing them.
This cl also reverts back to make Stop asynchronouse so that it is guaranteed that the c++ worker thread is not used and no frames are delivered to VideoCapturerAndroid after Stop completes.
BUG=4318
TESTED= On a N5, N6, N9 and Samsung device.
R=glaznev@webrtc.org , magjed@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/43369004
Cr-Commit-Position: refs/heads/master@{#8493}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8493 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-25 09:20:43 +00:00
glaznev@webrtc.org
a4623d26d7
Fix H.264 HW decoding for Qualcomm KK devices.
...
- Qualcomm H.264 HW decoder on KK and older requires
a few video frames before it can generate output. Increase
maximum allowed pending frames for H.264 decoder to 30.
Plus changes in the logging to track decoder buffers
timestamps.
R=wzh@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36319004
Cr-Commit-Position: refs/heads/master@{#8490}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8490 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-25 00:03:21 +00:00
lally@webrtc.org
348072845a
Swap decl-terms from juberti@ review.
...
Cr-Commit-Position: refs/heads/master@{#8487}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8487 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:21:13 +00:00
lally@webrtc.org
3630085df1
Tested equiv classes of DTLS/SCTP.
...
Cr-Commit-Position: refs/heads/master@{#8486}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8486 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:22 +00:00
lally@webrtc.org
91d52305ac
Renamed string and test.
...
Cr-Commit-Position: refs/heads/master@{#8485}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8485 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:21 +00:00
lally@webrtc.org
c7848b7fd1
Added a separate DTLS/SCTP test.
...
Cr-Commit-Position: refs/heads/master@{#8484}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8484 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:20 +00:00
lally@webrtc.org
a747093334
After another round of reviews.
...
Cr-Commit-Position: refs/heads/master@{#8483}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8483 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:19 +00:00
lally@webrtc.org
9616196c38
Merging definitions of IsSctp.
...
Cr-Commit-Position: refs/heads/master@{#8482}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8482 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:18 +00:00
lally@webrtc.org
12aa8a68f9
Post-rebase.
...
Cr-Commit-Position: refs/heads/master@{#8481}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8481 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:20:17 +00:00
lally@webrtc.org
1730869596
Added raw SCTP to IsSctp.
...
Cr-Commit-Position: refs/heads/master@{#8480}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8480 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:19:32 +00:00
lally@webrtc.org
871b1c373a
Review comments -- added IsSctp()
...
Cr-Commit-Position: refs/heads/master@{#8479}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8479 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:19:31 +00:00
lally@webrtc.org
d7b6165483
Made DTLS/SCTP equivalent to UDP/DTLS/SCTP when comparing session descs in tests.
...
Cr-Commit-Position: refs/heads/master@{#8478}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8478 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:19:30 +00:00
lally@webrtc.org
ec97c6516f
Attempt on read-only acceptance of -12.
...
Cr-Commit-Position: refs/heads/master@{#8477}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8477 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 20:19:29 +00:00
phoglund@webrtc.org
a30f007e45
Fixing incorrect memset in mock class.
...
I got a linker warning, and I could see the memset was clearly
incorrect since the arugment order should be ptr, value, size_t.
BUG=None
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35269004
Cr-Commit-Position: refs/heads/master@{#8473}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8473 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 13:43:22 +00:00
phoglund@webrtc.org
a5de951b37
Make Options public and not package access in pc factory.
...
I realized I had accidentally made the Options struct package private,
which means no client can actually use it.
BUG=4181
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35279004
Cr-Commit-Position: refs/heads/master@{#8472}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8472 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-24 13:42:20 +00:00
pkasting@chromium.org
d324546ced
Misc. cleanup split out of https://webrtc-codereview.appspot.com/37699004/ :
...
* Move constants into the files/functions that use them
* Declare variables in the narrowest scope possible
* Use correct (expected, actual) order for gtest macros
* Remove unused functions
* Untabify
* 80-column limit
* Avoid C-style casts
* Prefer true typed constants to "enum hack" constants
* Print size_t using the right format macro
* Shorten and simplify code
* Other random cleanup bits and style fixes
BUG=none
TEST=none
R=henrik.lundin@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36179004
Cr-Commit-Position: refs/heads/master@{#8467}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8467 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-23 21:29:45 +00:00
glaznev@webrtc.org
b28474c7a0
Add H.264 HW encoder and decoder support for Android.
...
- Allow to configure MediaCodec Java wrapper to use VP8
and H.264 codec.
- Save H.264 config frames with SPS and PPS NALUs and append them to every key frame.
- Correctly handle the case when one encoded frame may generate several output NALUs.
- Add code to find H.264 start codes.
- Add a flag (non configurable yet) to use H.264 in AppRTCDemo.
- Improve MediaCodec logging.
R=wzh@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/43379004
Cr-Commit-Position: refs/heads/master@{#8465}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8465 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-23 17:44:58 +00:00
perkj@webrtc.org
2ad3bb17a7
Reland patch for Switch default color format to YV12 on Android.
...
The new since the previous patch is that we ignore all resolutions with width % 16 != 0
since they are not tightly packed.
http://developer.android.com/reference/android/graphics/ImageFormat.html#YV12
R=glaznev@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36269004
Cr-Commit-Position: refs/heads/master@{#8459}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8459 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-23 11:15:23 +00:00
jlmiller@webrtc.org
804eb46806
Change default from GICE to ICE5245 for SDP offers
...
BUG=4299
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34289004
Cr-Commit-Position: refs/heads/master@{#8440}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8440 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-20 02:20:19 +00:00
pbos@webrtc.org
1ed6224eaf
Revert r8430 "Remove dead stats from Video{Sender,Receiver}Info."
...
This breaks compilation outside this codebase that needs to have it
removed before.
BUG=4322
TBR=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/42009004
Cr-Commit-Position: refs/heads/master@{#8432}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8432 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-19 13:57:43 +00:00
pbos@webrtc.org
8ad05b7628
Remove dead stats from Video{Sender,Receiver}Info.
...
These stats are neither filled nor plumbed further and might as well be
removed (as proven by how easy they were to remove).
BUG=
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/39219004
Cr-Commit-Position: refs/heads/master@{#8430}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8430 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-19 13:00:46 +00:00
perkj@webrtc.org
3db042e2f0
Stop AndroidVideoCapturer asynchronously.
...
The purpose is to avoid a deadlock between the C++ thread calling Stop and the Java thread that provides video frames.
BUG=4318
R=glaznev@webrtc.org , magjed@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35249004
Cr-Commit-Position: refs/heads/master@{#8425}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8425 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-19 08:44:17 +00:00
jiayl@webrtc.org
254840692e
Add empty files to implement a in-memory DTLS identity store without breaking Chromium build.
...
BUG=4241
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36199004
Cr-Commit-Position: refs/heads/master@{#8424}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8424 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-18 23:58:44 +00:00