Commit Graph

3396 Commits

Author SHA1 Message Date
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Chris Peterson
1361a2ef8e Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
Anthony Jones
adae7ab07f Bug 1180101 - Skip four bytes when we hit a zero length box; r=jya 2015-08-26 18:12:59 +12:00
Andreas Pehrson
6d8c5356b2 Bug 1198107 - Destroy VP8 encoder context before re-initing on resolution change to avoid leaking memory. r=jesup 2015-08-25 16:55:28 +08:00
Jan Gerber
b045b2738e Bug 1073319 - Enable AVX2 for libvpx on linux (libvpx). r=rillian 2015-07-16 02:38:00 -07:00
Jan Gerber
b8500322f0 Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian 2015-07-16 02:37:00 -07:00
Jacek Caban
06e0168155 Bug 1197282 - Include <atomic> in VideoDecoder.h. r=cpearce 2015-08-25 12:40:20 +02:00
Matthew Gregan
5f6fe686a4 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Ethan Hugg
e2ca5bd69b Bug 1191301 - Re-enable the use of media.navigator.video.use_tmmbr pref. r=bwc 2015-08-24 09:31:38 -07:00
Matthew Gregan
4cc0d5c816 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
875c5146ca Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
a24e2c354a Backed out 2 changesets (bug 1136360)
Backed out changeset 004f6db9c2dd (bug 1136360)
Backed out changeset 9b568fb8d447 (bug 1136360)
2015-08-24 13:25:57 +12:00
Matthew Gregan
bde4f17812 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
ded84ad3b6 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Nils Ohlmeier [:drno]
5bfe29f992 Bug 1142964 - Fix ICE tiebreaker on Windows. r=bwc 2015-08-21 10:35:28 -07:00
Byron Campen [:bwc]
d38599b7ea Bug 1193495 - Part 2: Maintain clones of supported codecs for each level, and do necessary checking to prevent payload-type clashes. r=mt 2015-08-12 10:00:28 -05:00
Byron Campen [:bwc]
1eb877cd34 Bug 1193495 - Part 1: Test case. r=mt 2015-08-12 10:00:28 -05:00
Jan Gerber
fd164253c9 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-21 12:01:41 +02:00
Jan Gerber
75948bf379 Bug 1192226 - Enable libvpx size limit in update.py. r=rillian
Bounds match those in VideoUtils.h.
2015-08-08 09:28:52 +02:00
Nils Ohlmeier [:drno]
86ffea1d7c Bug 1194385 - Add new unit tests which demonstrate the current behavior. r=bwc 2015-08-13 12:05:40 -07:00
Nils Ohlmeier [:drno]
90a3950d0c Bug 1194019 - New defaults for gather tests. r=bwc 2015-08-14 14:52:06 -07:00
Chris Peterson
81884462f6 Bug 1195186 - Build media/pocketsphinx in unified mode. r=kdavis 2015-08-18 00:13:49 -07:00
Jean-Yves Avenard
cdfe186b45 Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe
A typical non-fragmented mp4 would have the ftyp atom located at the beginning of the mp4 and the moov at the end. We would to calculate the location of the metadata by spanning the byte range of the two atoms.
As such, we would typically allocate an amount of memory equivalent to the size of the mp4.

Instead we now reconstruct the metadata to only have the ftyp and moov atoms contiguously.
2015-08-21 15:35:31 +10:00
Jean-Yves Avenard
c9a46a7f39 Revert "Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe"
This reverts commit 73156610be5f
2015-08-21 14:48:23 +10:00
Jean-Yves Avenard
e1fba5fbd6 Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe
A typical non-fragmented mp4 would have the ftyp atom located at the beginning of the mp4 and the moov at the end. We would to calculate the location of the metadata by spanning the byte range of the two atoms.
As such, we would typically allocate an amount of memory equivalent to the size of the mp4.

Instead we now reconstruct the metadata to only have the ftyp and moov atoms contiguously.
2015-08-21 13:10:34 +10:00
Wes Kocher
69cc711f92 Backed out 2 changesets (bug 1192226) for vpx_config bustage
Backed out changeset 92d172a5d403 (bug 1192226)
Backed out changeset 4e7adb955673 (bug 1192226)
2015-08-20 11:19:03 -07:00
Jan Gerber
6e5667a0d5 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-08 09:34:39 +02:00
Jan Gerber
459a5389b3 Bug 1192226 - Enable libvpx size limit in update.py. r=rillian
Limits match those in VideoUtils.h.
2015-08-08 09:28:52 +02:00
Jean-Yves Avenard
f5501e1b78 Bug 1181651: Replace use of stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-08-20 20:54:59 +10:00
Sebastian Hengst
ef3f7fd399 Backed out changeset 966aa9c1ca25 (bug 1181651) for build bustage. r=backout on a CLOSED TREE 2015-08-20 09:28:55 +02:00
Jean-Yves Avenard
d2dc2b3c27 Bug 1181651: Replace use of stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-08-20 16:57:07 +10:00
Matthew Gregan
5c6f79720b Bug 1195058 - Handle pa_context_new returning NULL in OOM situations. r=padenot 2015-08-18 12:34:15 +12:00
Edwin Flores
c5d9bab270 Bug 1195939 - Flush decode queue on Reset() in gmp-clearkey - r=cpearce 2015-08-19 15:06:36 -07:00
Ryan VanderMeulen
5154150b31 Backed out changeset 18f274867bcc (bug 1195939) for Windows EME test failures.
CLOSED TREE
2015-08-18 23:06:55 -04:00
Edwin Flores
1206a92f28 Bug 1195939 - Flush decode queue on Reset() in gmp-clearkey - r=cpearce 2015-08-18 13:48:38 -07:00
Matthew Gregan
dad15223c7 Bug 1195061 - Correctly restore audio hardware mix format after attempting to use an alternative format. r=padenot 2015-08-18 10:59:14 +12:00
Mike Hommey
2b06635ca7 Bug 1194905 - Build libvpx neon code without -mthumb and -mfloat-abi=softfp. r=mshal
-mfloat-abi=softfp is hardcoding an ABI that may not match everything else
in Gecko, which is bound to fail. It's also unrelated to building NEON code.
-mthumb is also unrelated to building NEON code, and should be left as it
is for everything else.
Now, interestingly, we also have a VPX_ASFLAGS variable that just contains
the right things instead of hardcoding them in the moz.build, so just use
that instead.
2015-08-18 08:09:14 +09:00
Jean-Yves Avenard
68d25682a5 Bug 1194708: Properly find SPS NAL in some H264 streams. r=kentuckyfriedtakahe
With some encoding, we didn't detect the SPS. With AVC3 stream it would cause playback to never start on mac or linux (ffmpeg)
2015-08-17 10:28:37 +10:00
Chris Peterson
1fefafdced Bug 1194951 - Suppress warnings in third-party code: pocketsphinx and sphinxbase. r=kdavis 2015-08-10 23:01:25 -07:00
Nils Ohlmeier [:drno]
cf2b2a3775 Bug 1037618 - Relax candidate verification for TCP. r=bwc 2015-08-10 16:31:12 -07:00
David Major
7b70cf2306 Bug 1193546: Fix the way that webrtc requests warnings-as-errors. r=glandium f=jesup 2015-08-13 11:58:01 -04:00
Randell Jesup
facda89249 Bug 1189040: add a whitelist for network interfaces to use with ICE/webrtc r=ekr 2015-08-12 19:45:36 -04:00
EKR
08b6404747 Bug 1189041 - Add option to only gather addresses for default route. r=bwc 2015-08-12 10:53:15 -04:00
Randell Jesup
18d153a924 Bug 1188407: switch packetloss to a rate from total-packets-lost-per-update r=jib 2015-08-11 15:15:06 -04:00
Randell Jesup
56568c9dd8 Bug 1188376: Split Hello Telemetry values from general WebRTC r=jib 2015-08-11 15:15:06 -04:00
Byron Campen [:bwc]
b54068f4f0 Bug 1173601 - Add a=simulcast support. r=mt 2015-08-06 14:59:55 -05:00
Glenn Randers-Pehrson
f526f6d9d4 Bug 1192522 - Update libpng/LICENSE to mention two files that are MPL-licensed. r=jrmuizel 2015-08-08 08:04:00 -04:00
Ryan VanderMeulen
bd520da34d Merge fx-team to m-c. a=merge 2015-08-11 10:52:41 -04:00
Chris Peterson
23ba8736f9 Bug 1192587 - Build media/libav in unified mode. r=qDot 2015-08-06 19:39:26 -07:00
Chris Peterson
61228df275 Bug 1192586 - Suppress warnings in third-party library media/libav. r=qDot 2015-08-02 22:31:00 -07:00
Mark Capella
286196be2d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Paul Kerr [:pkerr]
822fac2f3f Bug 1188970: Fix usage of forward slash in constructing webrtc trace file path. r=rjesup
Replaced the chain of logic that attempted to determine the location of the temporary
directory with a call to nsDirectoryService.
Use nsIFile object to append file name to path in an OS independent manner.
2015-08-07 13:46:55 -07:00
Jan-Ivar Bruaroey
fd310e2cd0 Bug 1187775 - skip host and reflexive ICE candidates if relay-only. r=bwc 2015-08-05 08:22:55 -04:00
Jan-Ivar Bruaroey
fc835152ee Bug 1187775 - Plumb RTCConfiguration.iceTransportPolicy down to NrIceCtx. r=smaug, r=bwc 2015-07-30 10:11:52 -04:00
Jean-Yves Avenard
0375d28fb1 Bug 1190258: P1. Use getter to access MediaRawData mData and mSize member. r=cpearce 2015-08-06 18:48:44 +10:00
Nils Ohlmeier [:drno]
b447c7bb42 Bug 1189961 - added DNS AAAA convertion to nICEr transport addr. r=bwc 2015-07-31 18:18:02 -07:00
Byron Campen [:bwc]
999acf86c5 Bug 1173599 - a=imageattr support. r=mt 2015-07-30 14:45:51 -05:00
Aryeh Gregor
a3c0771347 Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj 2015-08-05 15:28:27 +03:00
Andre Natal
a81bfa37e9 Bug 1180113 - Introducing g2p algorithm inside pocketsphinx to allow out of dictionary words to be added to grammars. r=smaug
Signed-off-by: Andre Natal <anatal@gmail.com>
2015-08-05 00:33:00 +02:00
Nils Ohlmeier [:drno]
babb947cb3 Bug 1190720 - only check IP version for STUN server IPs. r=bwc 2015-08-03 23:38:36 -07:00
Nils Ohlmeier [:drno]
a1ebb7cb9b Bug 1190615 - Skip non-UDP STUN servers for UDP sockets. r=bwc
CLOSED TREE
2015-08-03 16:26:20 -07:00
EKR
941f84ef68 Bug 1178349 - Enable ice_unittests on desktop linux on CI. r=bwc
CLOSED TREE
2015-08-04 06:07:55 -07:00
Jean-Yves Avenard
4fbbd1bf55 Bug 1185115 - Ensure we have enough memory to allocate required capacity. r=kentuckyfriedtakahe
CLOSED TREE
2015-08-04 13:43:17 -04:00
Byron Campen [:bwc]
6cdf6622ab Bug 1142105 - Part 3: Extract more SDP-related functionality out of JsepSessionImpl, and some readability improvements. r=mt 2015-07-29 13:10:24 -05:00
Ryan VanderMeulen
ab5d403c27 Backed out changeset 62561970f611 (bug 1178349) for Android crashes.
CLOSED TREE
2015-08-03 15:34:17 -04:00
EKR
d0571a6cb5 Bug 1178349 - Re-enable ice_unittest on Linux. r=drno 2015-08-01 07:22:12 -07:00
EKR
555d75a25e Bug 1177921 - Fix typo in STUN server name. r=drno 2015-08-01 06:03:35 -07:00
Nils Ohlmeier [:drno]
230e7cef07 Bug 1189198 - don't start STUN transactions with a protocol mis-match. r=mtseng 2015-07-31 11:23:26 -07:00
Makoto Kato
e92450872e Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
JW Wang
eb7c15daf1 Bug 1189866 - revert code that accidentally got into bug 1187817 patch 5. r=me. 2015-08-01 13:58:39 +08:00
JW Wang
a24dc83e0c Bug 1187817. Part 5 - assert some code in the audio thread and don't enter the monitor. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
13ce72b0cf Bug 1189197 - enqueue a silent frame to kick off the buffer queue callbacks. r=kinetik. 2015-07-31 13:25:59 +08:00
Jean-Yves Avenard
c723b29dfe Bug 1183196: [MSE] P2. Do not ignore tracks other than the first one. r=kentuckyfriedtakahe
When used in the MP4ContainerParser, the MoofParser set the trackID as 0 ; indicating that all tracks are to be parsed. However it set later the trackID to the first one found, causing to ignore all following tracks.
2015-07-30 20:42:44 +10:00
Nils Ohlmeier [:drno]
db75795000 Bug 1187472 - only log UDP and TCP candidate gathering failures. r=bwc 2015-07-24 14:01:11 -07:00
Wes Kocher
13400e57d2 Merge b2ginbound to central, a=merge 2015-07-29 20:19:12 -07:00
Jessica Jong
2f99cbb771 Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
Byron Campen [:bwc]
4479ce2748 Bug 1142105 - Part 2: Move some stuff from JsepCodecDescription into /sdp r=mt 2015-07-23 16:55:08 -05:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Ehsan Akhgari
7904f7befa Bug 1188212 - Fix more constructors in media; r=cpearce 2015-07-28 08:53:33 -04:00
Glenn Randers-Pehrson
0f27729cfe Bug 1186977 - Update embedded libpng to version 1.6.18. r=jmuizelaar 2015-07-26 20:26:00 +02:00
Gian-Carlo Pascutto
0f4ab35c44 Bug 1186657. r=jesup,nchen 2015-07-28 08:55:06 +02:00
Jean-Yves Avenard
bb47ae29cd Bug 1186149: P1. Allow both first sample flags flag and sample flags simultaneously. r=kentuckyfriedtakahe 2015-07-28 14:11:04 +10:00
Jean-Yves Avenard
967a832978 Bug 1186718 - Ensure ESDS have valid size. r=kentuckyfriedtakahe 2015-07-27 16:25:17 -04:00
Jean-Yves Avenard
c9960234e9 Bug 1185115 - Ensure we have enough memory to allocate required capacity. r=kentuckyfriedtakahe 2015-07-27 11:27:34 -04:00
Ryan VanderMeulen
aaaf344ec6 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Wes Kocher
9f5fea3df8 Merge m-c to fx-team, a=merge 2015-07-24 13:48:31 -07:00
Wes Kocher
cdd5dfef2b Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Qiang Lu
bd33cc02a5 Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel 2015-07-24 12:45:55 -07:00
Xidorn Quan
e6a7e9240c Bug 1186784 followup - Fix bustage on CLOSED TREE 2015-07-25 00:08:40 +10:00
Xidorn Quan
4a16e0e16e Bug 1186784 - Disable snprintf definition in libav on VC2015. r=glandium 2015-07-24 23:06:50 +10:00
Nils Ohlmeier [:drno]
260c126a69 Bug 1186339 - skip STUN/TURN servers with non-matching IP versions for TCP sockets. r=bwc 2015-07-22 10:54:11 -07:00
Nils Ohlmeier [:drno]
42a62dacab Bug 1185198 - use port 9 for TCP active candidates. r=bwc 2015-07-22 16:51:38 -07:00
Jessica Jong
23c7232da8 Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi 2015-07-24 10:41:15 +08:00
Nathan Froyd
7fa89353a8 Bug 1186040 - use XPCOM refcounting macros instead of mozilla::RefCounted in WebrtcGlobalParent.h; r=jesup 2015-07-21 11:26:56 -04:00
Alfredo Yang
6a1fdeeabf Bug 1163486 - Remove MP4Reader. r=jya 2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book
e44524600a Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage 2015-07-21 08:42:54 +02:00
Alfredo Yang
0df19709d3 Bug 1163486 - Remove MP4Reader. r=jya 2015-07-20 19:25:00 +02:00
Wes Kocher
e36e0bf7a9 Merge m-c to inbound, a=merge 2015-07-24 13:47:28 -07:00
Byron Campen [:bwc]
eeda62f97a Bug 1182289: Clean up dispatches in WebrtcGmpVideoEncoder/Decoder. r=jesup, a=abillings 2015-07-14 09:20:28 -05:00
Jan-Ivar Bruaroey
0f248823bb Bug 1184426 - Unprefix RTCIceCandidatePairStats.priority (formerly mozPriority). r=bwc, r=smaug 2015-07-15 22:43:37 -04:00