Commit Graph

1601 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
37aa05bfba Bug 906990: Part 14. Catch exceptions thrown by getStats, since this can fail in fairly innocuous circumstances. Also, do a better job of error reporting when the stats API is used on a closed PeerConnection. r=jib 2014-01-09 16:03:19 -08:00
Byron Campen [:bwc]
6196c7af59 Bug 906990: Part 13. Get local/remote candidates separately, instead of grabbing them from candidate pairs (means we can get candidates before pairing happens). r=ekr 2013-11-13 13:49:33 -08:00
Byron Campen [:bwc]
2a0a056731 Bug 906990: Part 12. Report statistics from all components when the MediaStreamTrack is not specified. r=ekr, r=jib 2014-01-14 08:48:27 -08:00
David Keeler
e035c31de9 bug 957368 - standardize and simplify nsNSSShutDownObject implementations r=cviecco r=briansmith 2014-01-14 09:28:43 -08:00
Ryan VanderMeulen
3c83f654a4 Backed out changesets bb7097d12256, 5e6c7217e92a, and 6779278f87df (bug 884573) and changeset 30e1a793fbf9 (bug 878941) for Cpp unit test failures. 2014-01-14 11:43:48 -05:00
Martin Thomson
b62295b3c1 Bug 884573 - Add a=identity support for sipcc. r=abr 2014-01-08 11:55:04 -08:00
Ryan VanderMeulen
dc3963f749 Backed out changesets f04c846c7492, 9bc5c5a8554e, and a4f2af4617da (bug 906990) for WebRTC mochitest failures.
CLOSED TREE
2014-01-13 10:53:40 -05:00
Byron Campen [:bwc]
5f879bcd8d Bug 906990: Part 14. Catch exceptions thrown by getStats, since this can fail in fairly innocuous circumstances. Also, do a better job of error reporting when the stats API is used on a closed PeerConnection. r=ekr, r=jib 2014-01-09 16:03:19 -08:00
Byron Campen [:bwc]
4fcc56263b Bug 906990: Part 13. Get local/remote candidates separately, instead of grabbing them from candidate pairs (means we can get candidates before pairing happens). r=ekr 2013-11-13 13:49:33 -08:00
Byron Campen [:bwc]
964f17db7e Bug 906990: Part 12. Report statistics from all components when the MediaStreamTrack is not specified. r=ekr 2014-01-10 13:21:39 -08:00
Mike Shal
4502a19cf7 Bug 875013 - Remove VPATH in media/libvpx; r=joey 2014-01-09 14:43:29 -05:00
Byron Campen [:bwc]
8e4818a4cb Bug 957236 - Fix infinite loop on win32 when network interfaces contain a '.'. r=ekr 2014-01-09 09:11:35 -08:00
Edwin Flores
ed3d2608a0 Bug 953394 - Force OMXCodec to output a sane colour format on Android 4.4 and above r=doublec 2014-01-09 14:54:57 +13:00
Edwin Flores
0cfe5a3801 Bug 953394 - Android imports needed for bug 953394 r=doublec
* Added some android::Vector, android::VectorImpl method definitions to link
  against.
 * Updated android::Vector and android::VectorImpl headers to 4.4 as using
  headers from 4.1 crashed 4.4 devices but not vice versa.
2014-01-09 14:54:57 +13:00
Jeff Walden
3b63a7625e Bug 938092 - Building with gcc4.5 fails if both --enable-webrtc and --enable-tests. r=tterribe 2014-01-02 20:31:52 -06:00
Byron Campen [:bwc]
c2e0c9df8c Bug 786234 - Part 1: Set up the interface we need with sipcc to get the information to build filters. r=abr 2013-12-19 17:00:56 -08:00
Byron Campen [:bwc]
67cf4e6936 Bug 950990 - NrIceCtx::ice_completed is fired even on failed contexts, so do not mark such contexts as completed. r=abr 2013-12-17 11:57:13 -08:00
Byron Campen [:bwc]
701fabb2a3 Bug 949708 - Dump RLogRingBuffer on test failures in ice_unittest. r=ekr 2014-01-03 13:36:37 -08:00
Wes Kocher
9ad9413521 Merge b2g-inbound to m-c 2014-01-06 17:16:48 -08:00
Star Cheng
d5e150280b Bug 940177 - Refill the queues before starting playback in order to avoid racing with refills started by SetPlayState on OpenSLES ndk threads. r=kinetik 2014-01-06 18:21:19 +08:00
Adrian Cruceru
3571530a8b Bug 923468 - Safety patch for race condition. r=ekr 2014-01-06 12:40:03 -05:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Martin Thomson
aeb321b6eb Bug 946348 - Refactor fingerprint handling. r=abr 2014-01-02 10:50:14 -05:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Ms2ger
6c7c16c6b2 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Ehsan Akhgari
fab7ab125f Bug 940708 - Part 6: Exclude one more file for Linux ASAN builds
--HG--
extra : rebase_source : 95c28f6d4b32685bb291bff1085fb28915e2b1df
2013-12-20 13:27:50 -05:00
Ehsan Akhgari
f8de52f769 Bug 940708 - Part 5: Exclude more files from unified builds because of name clashes on RCSSTRING; r=gps
--HG--
extra : rebase_source : 551ec846a9bd266a0ff42d2344cbae41ffeaf29f
2013-12-19 12:08:31 -05:00
Mike Hommey
b926b6603c Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
--HG--
extra : rebase_source : b4a4fd21c65851e8e9377218ec19181f5f86e8b8
2013-12-18 15:40:03 +09:00
Ehsan Akhgari
97f008c4da Backed out 4 changesets (bug 940708) for ASAN bustage
Backed out changeset 8b081bf3d16c (bug 940708)
Backed out changeset 8d1da29cee34 (bug 940708)
Backed out changeset aedcac877ab0 (bug 940708)
Backed out changeset d4aec392a165 (bug 940708)

--HG--
extra : rebase_source : dec5c491a2233dfe7fe2153559e01313d3583a33
2013-12-20 13:05:29 -05:00
Ehsan Akhgari
b4b0176513 Bug 940708 - Part 5: Exclude more files from unified builds because of name clashes on RCSSTRING; r=gps
--HG--
extra : rebase_source : c5df6642d1bca37ba49e5cdb82f5d48b21e2fa87
2013-12-19 12:08:31 -05:00
Mike Hommey
9c50b72a25 Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
--HG--
extra : rebase_source : db1315634af0cab9cd47ff38ad0fac703c04f452
2013-12-18 15:40:03 +09:00
Glenn Randers-Pehrson
f24970936b Bug 832390 - Enable arm optimization with libpng version 1.6.7. r=glandium 2013-12-20 11:37:47 -05:00
Wes Kocher
9a7416c000 Merge m-c to inbound 2013-12-19 19:51:23 -08:00
Wes Kocher
3326bf6cf4 Merge inbound to m-c 2013-12-19 18:58:45 -08:00
EKR
95c5f8b91d Bug 952102 - Fix VideoConduit unit tests. r=jesup
DONTBUILD
2013-12-19 09:31:35 -05:00
Ryan VanderMeulen
d6868c558c Backed out changeset 2504e03f6eec (bug 952102) for landing with the wrong bug number. 2013-12-19 11:09:57 -05:00
EKR
84635ed10b Bug 952103 - Fix VideoConduit unit tests. r=jesup 2013-12-19 09:31:35 -05:00
Adam Roach [:abr]
1fce516c99 Bug 784491 - Part 1: Add constraints to addStream r=jib 2013-12-18 13:54:23 -06:00
Ryan VanderMeulen
1eac82ddf7 Backed out changeset cffe18264682 (bug 946348) for Windows bustage. 2013-12-19 12:37:46 -05:00
Martin Thomson
8a19e6a171 Bug 946348 - Refactoring fingerprint handling. r=abr 2013-12-19 11:42:19 -05:00
Ehsan Akhgari
1fb6966cb7 Bug 940708 - Code changes required to build webrtc in unified mode; r=jesup 2013-12-19 11:34:42 -05:00
Byron Campen [:bwc]
bd456fefab Bug 942950: Avoid calling done_cb in the wrong order, or multiple times. r=ekr,abr 2013-12-12 13:58:02 -08:00
Edwin Flores
66181fe3a2 Bug 866080 - Use Android I420ColorConverter in OMX plugin r=sotaro,doublec 2013-12-17 11:58:16 +13:00
Paul Adenot
7ef2bfd8c8 Bug 950026 - Bail out when we don't get an expected return value from AudioClient::IsFormatSupported, instead of asserting. r=kinetik
This will fall back to our own channel mapping code, instead of trying to use
the platform's.
2013-12-13 18:11:06 +01:00
Mike Hommey
17ee6448a3 Followup for bug 939890 and bug 949334: remove now irrelevant comments. r=me. DONTBUILD 2013-12-14 14:00:53 +09:00
Mike Hommey
0f2cce4150 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Mike Hommey
d01174e7c5 Bug 939890 - Don't build iLBC/G722/iSAC audio codecs for webrtc. r=jesup 2013-12-12 17:19:27 -05:00
Ryan VanderMeulen
c7ce80e17d Merge inbound to m-c. 2013-12-13 16:15:52 -05:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Ralph Giles
f7cb990c9d Bug 949713 - Remove unused typedef to fix problems with unified builds on some systems. r=cpearce 2013-12-12 15:08:09 -08:00
Paul Adenot
2dc49f94bd Bug 947431 - Be more robust when getting the preferred sample rate when using the OpenSL backend. r=kinetik
--HG--
extra : rebase_source : a55d98b9ce2cc6a9c2559d9589984faf8063c301
2013-12-12 18:35:39 +01:00
Jan-Ivar Bruaroey
e3a1374818 Bug 908695 - Collect pipelines on main, dispatch to STS for stats. r=jesup 2013-12-11 23:42:12 -05:00
Ethan Hugg
465b591764 Bug 901560 - Datachannel no longer make second ICE component r=abr 2013-08-30 12:51:05 -07:00
Mike Hommey
049b105f14 Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps 2013-12-12 23:41:05 +09:00
Mike Hommey
255ad3e210 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Jan Gerber
ab594184a1 Bug 949146 - libvpx MOZ_VP8_ENCODER cleanup. r=giles DONTBUILD 2013-12-11 12:56:00 -08:00
Jan Gerber
7aabed94cc Bug 947979 - Update update.py to keep unified mode. r=giles DONTBUILD 2013-12-11 12:50:00 -08:00
Byron Campen [:bwc]
d88af6c938 Bug 906990 - Part 11: Fix bug where the |selected| field on a candidate pair statistic was never set. r=ekr 2013-11-08 16:45:39 -08:00
Ehsan Akhgari
36f94a0cf0 Bug 947979 - Build parts of media/libvpx in unified mode; r=rillian 2013-12-11 09:40:07 -05:00
Jan Gerber
5408cfe16e Bug 947954 - vpx_config.c is not used. r=kinetik 2013-12-09 17:23:59 +01:00
Jan Gerber
d0473243b8 Bug 947160 - No need to split encoder sources anymore. r=kinetik 2013-12-09 04:49:00 -08:00
Jan Gerber
489b0b45a4 Bug 947160 remove MOZ_VP8_ENCODER. r=kinetik
- Encoder is always built, remove MOZ_VP8_ENCODER.
  - Rename MOZ_VP8* to MOZ_VPX*
  - Enable multi-res encoding via libvpx configure.
2013-12-06 05:16:00 -08:00
Martin Stransky
f09c774110 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Ryan VanderMeulen
5bad48704a Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Carsten "Tomcat" Book
45f6bd17d4 Backed out changeset 85196889c598 (bug 945042) PGO Test Bustage 2013-12-09 13:00:59 +01:00
Carsten "Tomcat" Book
08cd56d88e merge b2g-inbound to mozilla-central 2013-12-09 09:32:02 +01:00
Carsten "Tomcat" Book
2810be48a5 merge mozilla-inbound to mozilla-central 2013-12-09 09:02:29 +01:00
Mike Hommey
43fe8673a0 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Jan-Ivar Bruaroey
1c2768f09e Bug 908695: Add Packets/Bytes-sent/received to webrtc stats API r=jesup DONTBUILD 2013-12-07 20:31:56 -05:00
Randell Jesup
d93114caa8 Backout 2bb7e7192ced for landing with wrong bug number rs=backout DONTBUILD 2013-12-07 23:45:21 -05:00
Jan Beich
7e3140e740 Bug 947862 - Initialize RealTimeClock on BSDs. r=jesup 2013-12-09 21:07:46 +01:00
Byron Campen [:bwc]
b615e8a360 Bug 946733. Simplify turn client ctx lifecycle. r=ekr, martin 2013-12-05 16:08:54 -08:00
Jan-Ivar Bruaroey
958335a5be Bug 902003: Add Packets/Bytes-sent/received to webrtc stats API r=jesup 2013-12-07 20:31:56 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Suhas
ae0c133e9b Bug 932845 - Support hints for non gUM mediastreams. r=jesup 2013-12-08 21:44:32 -05:00
Randall Barker
b11db7ebaa Bug 932295 - Android video capture should autofocus. r=gcp 2013-12-08 21:42:06 -05:00
Byron Campen [:bwc]
b03c6dfced Bug 938857. Don't prune candidates once pairing has started r=ekr,abr 2013-11-22 17:47:38 -08:00
Jon Coppeard
b00e269c5d Bug 942928 - Fix test code link error when build with GenerationalGC r=glandium 2013-12-07 12:49:02 +00:00
Randell Jesup
523a95d999 Bug 947429: add prefs that let us disable gum video and peerconnection video r=jib 2013-12-06 18:43:02 -05:00
Phil Ringnalda
9c587812e8 Back out d5d23d937ffc (bug 947429) on suspicion of breaking gaia-ui-test 2013-12-06 19:50:54 -08:00
Randell Jesup
52d3b0d094 Bug 947429: add prefs that let us disable gum video and peerconnection video r=jib 2013-12-06 18:43:02 -05:00
Mike Hommey
9fef236b4e Bug 947453 - Remove media/libogg/src/moz.build. r=mshal 2013-12-07 07:47:55 +09:00
EKR
c52aafea3d Bug 906968 - Add support for TURN TCP. r=abr
--HG--
rename : media/mtransport/third_party/nICEr/src/stun/nr_socket_turn.h => media/mtransport/third_party/nICEr/src/stun/nr_socket_buffered_stun.h
2013-12-06 10:20:19 -08:00
Jan Gerber
31fca20085 Bug 918550 - Update libvpx to 1.3.0 r=glandium,cpearce
This updates our in-tree copy of libvpx to the
v1.3.0 git tag (2e88f2f2ec777259bda1714e72f1ecd2519bceb5)
libvpx 1.3.0 adds support for VP9. VP9 support is built
but not yet exposed with this commit.

Our update.sh script is replaced with update.py that can
update the build system to a given git commit.
 - checkout out upstream git
 - create platform dependend config files
 - add/remove changed libvpx files
 - update moz.build
 - warn about new build categories in libvpx
2013-12-06 03:19:00 -08:00
Byron Campen [:bwc]
5995475f5b Bug 942940 - Fix a potential memory leak. r=abr 2013-12-03 16:11:29 -08:00
Byron Campen [:bwc]
ef5c3539d0 Bug 942940 - Fix bug where a destroyed peerreflexive candidate could be left in the component list if candidate pair creation/insertion failed for some reason. r=abr 2013-11-25 10:37:21 -08:00
Ralph Giles
0591310ec5 Bug 945419 - Update libopus to 1.1 final. r=cpearce
The code change only affects the opus custom modes which we do
not use, so this commit effectively just changes the version number.
2013-12-04 14:00:00 -08:00
Ralph Giles
42eafefa2c Bug 945419 - Fix fixed-point opus stereo encode regression. r=jmspeex. 2013-12-02 15:00:00 -08:00
Ralph Giles
6db2c6175b Bug 945419 - Use upstream opus git version format. r=derf
We only want tags which match the release naming convention,
and --dirty is very important for catching local changes.
2013-12-02 14:59:00 -08:00
Masatoshi Kimura
c143473f29 Bug 896704 - Remove the MSVC exemption for FAIL_ON_WARNINGS in media/mtransport. r=abr 2013-12-05 21:41:04 +09:00
Max Jonas Werner
85df465604 Bug 892148 - Make DTLS fingerprint accessible from JS r=abr 2013-12-04 15:36:00 -06:00
Glenn Randers-Pehrson
3f09818199 Bug 938740 - Update libpng to version 1.6.7. r=jmuizelaar 2013-12-04 08:01:34 -05:00
Jan-Ivar Bruaroey
9db34a4384 Bug 944854 - Avoid triggering harmless assertion on PeerConnectionObserver weakref. r=abr 2013-12-03 09:02:07 -05:00
Shian-Yow Wu
fc563255ca Bug 919979 - Crash when calling WebrtcVideoConduit::SendVideoFrame() with very small resolution. r=derf 2013-12-04 13:34:59 +08:00
Byron Campen [:bwc]
8c112bef97 Bug 942958 - Fix bug where a failure to populate the foundation of a peerreflexive candidate would result in an incorrect error return from nr_ice_peer_peer_rflx_candidate_create. r=ekr 2013-11-25 13:13:05 -08:00
Chris Peterson
a53c8d1c18 Bug 944977 - Part 2: Build media/libvorbis in unified mode. r=tterribe
--HG--
extra : rebase_source : d7015035cc349a3e2c51187aa1d76d8375134cbf
2013-12-01 11:58:23 -08:00
Chris Peterson
4390d8125a Bug 944977 - Part 1: Backport _vorbis_window_get() function signature from libvorbis r19028. r=tterribe
--HG--
extra : rebase_source : 5d2ca61540e6625f6938808e171093449596c132
2013-12-02 19:38:19 -08:00
Ralph Giles
d5fc7150b3 Bug 944506 - Update libopus/update.sh for DEFINES in moz.build. r=derf DONTBUILD
Bug 874266 moved the preprocessor defines to moz.build but didn't
make the corresponding change to the update script.
2013-11-28 14:11:00 -08:00
Jan Gerber
d4cfe0793f Bug 763495 - Update libvpx source to 1.2.0. r=cpearce,glandium
This updates our in-tree copy of libvpx to match the 1.2.0 git
tag. All but one of the patches we were carrying are in this
upstream version. Our update.sh script should copy the new
files needed but will not remove the old ones for you.

Runtime cpu detection was rewritten upstream. We now generate
per-platform headers for this and include the correct one from
a vpx_rtcd.h wrapper like we were already doing for vpx_config.h

This revision includes improved assembly optimizations and should
be faster on all platforms.

Includes work by Jan Gerber and Ralph Giles.

--HG--
rename : media/libvpx/vp8/common/arm/neon/save_neon_reg.asm => media/libvpx/vp8/common/arm/neon/save_reg_neon.asm
rename : media/libvpx/vp8/common/arm/armv6/vp8_mse16x16_armv6.asm => media/libvpx/vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm
rename : media/libvpx/vp8/common/arm/neon/vp8_mse16x16_neon.asm => media/libvpx/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm
rename : media/libvpx/vp8/encoder/x86/x86_csystemdependent.c => media/libvpx/vp8/encoder/x86/vp8_enc_stubs_mmx.c
rename : media/libvpx/vpx_config_arm-linux-gcc.c => media/libvpx/vpx_config_armv7-android-gcc.c
rename : media/libvpx/vpx_config_arm-linux-gcc.h => media/libvpx/vpx_config_armv7-android-gcc.h
2013-11-29 06:02:00 -08:00
Mike Hommey
06d6d3c5cf Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00