Граф коммитов

3630 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 0909da6121 Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno
--HG--
extra : rebase_source : 7a7b4d0481561a71aed0f3fa46aceaf297afefcc
2015-09-02 15:06:58 -05:00
Jean-Yves Avenard a0d1bf988d Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-09-12 19:57:15 +10:00
Jean-Yves Avenard ccb0cb109c Revert "Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe"
This reverts commit 757c4bd76326
2015-09-12 16:57:43 +10:00
Jean-Yves Avenard 2842b5f002 Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-09-12 16:47:30 +10:00
Johannes Pfrang 025fee3612 Bug 1202266 - Suppress '-Wformat-security' in libstagefright CXXFLAGS. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : a93c2b3648b6dd14bf0a679fa241e8780c693780
2015-09-10 09:49:00 +02:00
Ralph Giles a54711a5f4 Bug 1202677 - Reject mp4 streams with short avc chunks. r=gerald 2015-09-08 14:03:44 -07:00
Paul Kerr [:pkerr] 931b933075 Bug 1030324: Remove VP8 encoder resize work around. r=rjesup
The VP8 encoder was re-initialized completely when the frame size changed
instead of calling the vpx_enc_config_set() method. The work around is not
longer needed.
2015-09-08 11:02:40 -07:00
Matthew Gregan d608d9a310 Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf 2015-09-08 11:44:45 +12:00
Ralph Giles bd0011b79c Bug 1187076 - Warn at end of SPS buffers. r=jya
Previously we asserted if we tried to read past the end
of a buffer in parsing H.264 SPS headers. This only affected
debug builds, but the failures were reported as crashes in
automated testing.

Therefore, commute the assert to a warning and silently accept
bad data of this type. The read is safe with the first assert
removed because of the subsequent check, and a similar one in
the parent class.
2015-09-08 21:46:22 -07:00
Nicholas Nethercote 24cd9d5226 Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.

--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
2015-09-09 04:57:44 -07:00
Byron Campen [:bwc] feb3886659 Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno
--HG--
extra : transplant_source : %A0%B1z%00%7E%0B3n%C5%0A%15%5E%E5%15M%AD%CF%01n%D8
2015-09-04 10:21:12 -05:00
Gerald Squelart 14790add1a Bug 1187067 - Added gtests using the bug's test file, running simple checks and many parsing runs to catch parser crashes. r=rillian 2015-09-04 07:07:00 +02:00
Gerald Squelart 6666b45098 Bug 1187067 - Null-check mLastTrack before dereferencing it - r=rillian 2015-09-03 00:58:00 +02:00
Michael Froman 5b41dcab91 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
--HG--
extra : transplant_source : %A4P%E5%0CuZ%DE%86%D2%C5u%3FhV%DBe%A9%CD%BC%8C
2015-09-01 16:40:00 -05:00
Michael Froman 4d7947ace5 Bug 1008792 - Check for valid pointer before using. r=bwc
--HG--
extra : transplant_source : %5E%08%E9.%109b%25e%97%0C%ED%5D%3F%2A1/%93%8A%B0
2015-09-01 11:52:43 -05:00
Gerald Squelart f40848d246 Bug 1201404 - Implement minimal gtests to exercise the MPEG4 parser - r=rillian 2015-09-03 00:05:00 +02:00
Byron Campen [:bwc] 379ef453c3 Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno
--HG--
extra : transplant_source : Y%C5%23%21%80%3B%AD%98%F2%23%C2pU%3E0%82%11%16%13%B2
2015-09-02 14:27:07 -05:00
Pavlo 9704fc6569 Bug 1037997 - Added possibility to choose monitors during screen capturing. r=florian,jesup
--HG--
extra : rebase_source : 6b2476d5c03dffa27c8a5c570ec1392d332b81d2
2015-09-03 07:24:00 +02:00
Ralph Giles 03b4683f2c Bug 1186715 - Add diagnostic asserts. r=k17e 2015-08-19 10:33:13 -07:00
Byron Campen [:bwc] 929bf0a871 Bug 1094447 - Use UDP/TLS/RTP/SAVPF for audio/video m-lines. r=drno
--HG--
extra : transplant_source : 7%D7%A9%81H%CCF%BD%29%3E%16%94%F2%CE%3E%8FD%A0%A5%99
2015-09-01 17:15:30 -05:00
Nils Ohlmeier [:drno] 03ad9c30eb Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc
--HG--
extra : transplant_source : %60%C8%88-%E0%F2%9F%3FMn%A8%7C%3Ah%94s%D2%99%2AX
2015-08-28 13:22:45 -07:00
Paul Adenot 2e5e264e67 Bug 901633 - Part 16 - Remove another allocation in the sending side. r=jesup
--HG--
extra : rebase_source : 1bf54b42e91ad549e33fbe163097cff83085dde1
2015-09-01 14:26:14 +02:00
Paul Adenot 5d3591994f Bug 901633 - Part 15 - Remove an allocation on the sending side, out of the packetizer. r=jesup
--HG--
extra : rebase_source : c0fae0eb11531618e9f99e094082ef4ca30cff44
2015-09-01 14:26:13 +02:00
Paul Adenot c0fd8df08b Bug 901633 - Part 11 - Add an API in webrtc.org's output mixer to get the output channel count. r=jesup
--HG--
extra : rebase_source : 15ca543bb0a7f3a0b79ab10531613cee605b3e7b
2015-09-01 14:25:48 +02:00
Paul Adenot db0807f658 Bug 901633 - Part 10 - Change the receiving side of the MediaPipeline so that it can detect and handle stereo. r=jesup
--HG--
extra : rebase_source : ec1f808a2417524d484821656430c21268dd05a7
2015-08-12 14:43:51 +02:00
Paul Adenot a84ad7251d Bug 901633 - Part 9 - Make the necessary changes to VoEExternalMediaImpl::ExternalRecordingInsertData so that it the number of channels is forwarded down the webrtc.org code. r=jesup
--HG--
extra : rebase_source : 02a2e46f75db29f9333e1d36e462903e95d4c49b
2015-08-11 13:49:29 +02:00
Paul Adenot 9ab78935d7 Bug 901633 - Part 8 - Use our new generic packetizer in the MediaPipeline so that we can packetize stereo easily. r=jesup
--HG--
extra : rebase_source : 1c58f04c05f169b17ace9190c1430589edcd992c
2015-08-11 13:49:29 +02:00
Paul Adenot badc346628 Bug 901633 - Part 5 - Make MediaPipeline downmix and properly convert audio for webrtc.org code. r=jesup
This means converting to int16, interleaving, and down-mixing to stereo (or
keeping it to mono if it's already mono of course).

--HG--
extra : rebase_source : 48278718869613b2072b6d2d20765771221948a9
2015-07-29 18:39:56 +02:00
Edwin Flores e12b94321f Bug 1185388 - Limit the number of cores used by WMF in ClearKey CDM - r=cpearce 2015-09-01 17:31:48 +12:00
Matthew Gregan 4a3512acbf Bug 1199794 - Add NULL checks to avoid crashing during media playback if the audio device removed. r=padenot
--HG--
extra : rebase_source : fc390ed0cd902c2195cdaf8c151fcbe69050beb3
2015-08-28 19:13:00 -04:00
Paul Adenot bc630a1430 Bug 1190676 - Part 5 - Fix consumers: PeerConnection. r=jesup
--HG--
extra : rebase_source : 5aa0bc3c233ee842cd983a0cd2c338bced1376db
2015-08-25 10:29:50 +02:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson 6b261a1c9e Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
Anthony Jones bf71b3c4f9 Bug 1180101 - Skip four bytes when we hit a zero length box; r=jya 2015-08-26 18:12:59 +12:00
Andreas Pehrson 834ece7e25 Bug 1198107 - Destroy VP8 encoder context before re-initing on resolution change to avoid leaking memory. r=jesup
--HG--
extra : transplant_source : Uv%0F7%E5N%C2%21%15b%5CF%12%E9%EE%B2%EE%D9%FB%D5
2015-08-25 16:55:28 +08:00
Jan Gerber c7721c8d82 Bug 1073319 - Enable AVX2 for libvpx on linux (libvpx). r=rillian
--HG--
extra : rebase_source : f7bd1cad5cab8c51a87be437923c63c2483dac3e
2015-07-16 02:38:00 -07:00
Jan Gerber 1db34826a1 Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian
--HG--
extra : rebase_source : f3b1532895359fbe6ed2fd7fa7283fd1e6c815d8
2015-07-16 02:37:00 -07:00
Jacek Caban 8f93a52f18 Bug 1197282 - Include <atomic> in VideoDecoder.h. r=cpearce 2015-08-25 12:40:20 +02:00
Matthew Gregan bd4557d750 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Ethan Hugg afda08fc27 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 da63388633 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan 7de719b648 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan cea13e8bed 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 52219f5e5c Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan 5faa47f98e 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] 26ca64d0a9 Bug 1142964 - Fix ICE tiebreaker on Windows. r=bwc
--HG--
extra : transplant_source : %7E%1E%92%E1%EC%C4_9%5B%7B%92xV%90%B6e%835%0D%23
2015-08-21 10:35:28 -07:00
Byron Campen [:bwc] ed6e1ea6f6 Bug 1193495 - Part 2: Maintain clones of supported codecs for each level, and do necessary checking to prevent payload-type clashes. r=mt
--HG--
extra : transplant_source : 5%1Bz%17%E5%3B%C0Y%CA%BC%C3%0D%DE%93%E8%D4%EC%BA3r
2015-08-12 10:00:28 -05:00
Byron Campen [:bwc] 6f6e632428 Bug 1193495 - Part 1: Test case. r=mt
--HG--
extra : transplant_source : %0D%D9%F1%FC%B5%17%E0e%3B%17%0F%2Bvp%12%BE%D1%09l%16
2015-08-12 10:00:28 -05:00
Jan Gerber 8237145d30 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-21 12:01:41 +02:00
Jan Gerber 0cdc2ac683 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] 2e1a4f0fea Bug 1194385 - Add new unit tests which demonstrate the current behavior. r=bwc
--HG--
extra : rebase_source : 9098108ce25f030714138f7be1e10c2285aa6eb1
2015-08-13 12:05:40 -07:00
Nils Ohlmeier [:drno] 8d4c72128b Bug 1194019 - New defaults for gather tests. r=bwc
--HG--
extra : rebase_source : 8c94cd28e969aa540cf103eca74fe50b8e1995dd
2015-08-14 14:52:06 -07:00
Chris Peterson 95c97656a8 Bug 1195186 - Build media/pocketsphinx in unified mode. r=kdavis 2015-08-18 00:13:49 -07:00
Jean-Yves Avenard 1a98b5d4e0 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 af3e91f01a 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 600ae4f2bf 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 b40f92546f 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 06a7ff715e Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-08 09:34:39 +02:00
Jan Gerber 49a21989b2 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 e42ca2d177 Bug 1181651: Replace use of stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-08-20 20:54:59 +10:00
Sebastian Hengst 944b95cdee 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 20ed0b8c7c Bug 1181651: Replace use of stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-08-20 16:57:07 +10:00
Matthew Gregan c953f0aca1 Bug 1195058 - Handle pa_context_new returning NULL in OOM situations. r=padenot 2015-08-18 12:34:15 +12:00
Edwin Flores 970d4a0c2b Bug 1195939 - Flush decode queue on Reset() in gmp-clearkey - r=cpearce 2015-08-19 15:06:36 -07:00
Ryan VanderMeulen 10835ff78b Backed out changeset 18f274867bcc (bug 1195939) for Windows EME test failures.
CLOSED TREE
2015-08-18 23:06:55 -04:00
Edwin Flores 1c281c3c56 Bug 1195939 - Flush decode queue on Reset() in gmp-clearkey - r=cpearce
--HG--
extra : rebase_source : 50f989518611a723342193837fac89a9c2d9e14f
2015-08-18 13:48:38 -07:00
Matthew Gregan 63b1424f7e 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 33527c7e40 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 186b001e2e 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 c98b4c65b1 Bug 1194951 - Suppress warnings in third-party code: pocketsphinx and sphinxbase. r=kdavis 2015-08-10 23:01:25 -07:00
Nils Ohlmeier [:drno] fe493d428a Bug 1037618 - Relax candidate verification for TCP. r=bwc
--HG--
extra : rebase_source : 0cd791b27dde34b3a0bc6aeecf4c098211e7fbae
2015-08-10 16:31:12 -07:00
David Major 9397fd91e0 Bug 1193546: Fix the way that webrtc requests warnings-as-errors. r=glandium f=jesup
--HG--
extra : rebase_source : c9a574c2e10a40d5e7464f6145a764549f804145
2015-08-13 11:58:01 -04:00
Randell Jesup efb47b11df Bug 1189040: add a whitelist for network interfaces to use with ICE/webrtc r=ekr 2015-08-12 19:45:36 -04:00
EKR e92a0a38f4 Bug 1189041 - Add option to only gather addresses for default route. r=bwc 2015-08-12 10:53:15 -04:00
Randell Jesup 48627b966e 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 7edae5b348 Bug 1188376: Split Hello Telemetry values from general WebRTC r=jib 2015-08-11 15:15:06 -04:00
Byron Campen [:bwc] 938df396a8 Bug 1173601 - Add a=simulcast support. r=mt
--HG--
extra : rebase_source : 9f4697a1924a92ac25766e9e5f971f676bd526b4
2015-08-06 14:59:55 -05:00
Glenn Randers-Pehrson 9fe5fa0e72 Bug 1192522 - Update libpng/LICENSE to mention two files that are MPL-licensed. r=jrmuizel
--HG--
extra : rebase_source : 766ed23368ab46018e7c178752a8ff9bc509f592
2015-08-08 08:04:00 -04:00
Ryan VanderMeulen c0f04387c3 Merge fx-team to m-c. a=merge 2015-08-11 10:52:41 -04:00
Chris Peterson 0683fe9207 Bug 1192587 - Build media/libav in unified mode. r=qDot 2015-08-06 19:39:26 -07:00
Chris Peterson 1ac0c01da7 Bug 1192586 - Suppress warnings in third-party library media/libav. r=qDot 2015-08-02 22:31:00 -07:00
Mark Capella b865699f7f Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen
--HG--
rename : mobile/android/base/mozglue/JNITarget.java => mobile/android/base/annotation/JNITarget.java
rename : mobile/android/base/mozglue/RobocopTarget.java => mobile/android/base/annotation/RobocopTarget.java
rename : mobile/android/base/mozglue/WebRTCJNITarget.java => mobile/android/base/annotation/WebRTCJNITarget.java
2015-08-10 19:19:51 -04:00
Paul Kerr [:pkerr] 32c999755c 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 8e674f7ed3 Bug 1187775 - skip host and reflexive ICE candidates if relay-only. r=bwc
--HG--
extra : transplant_source : d%FBJ%BB%8B%BA%C8S%EE%C8%EB%8E%C3%9B%E9wA%8A%A8%86
2015-08-05 08:22:55 -04:00
Jan-Ivar Bruaroey 3a173c04fa Bug 1187775 - Plumb RTCConfiguration.iceTransportPolicy down to NrIceCtx. r=smaug, r=bwc
--HG--
extra : transplant_source : %8D%E4%F6%CCY%D4M%9E8%21%2A%13Wz%88%D4d%02v4
2015-07-30 10:11:52 -04:00
Jean-Yves Avenard 8c8e3b2a70 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] 453ddf7598 Bug 1189961 - added DNS AAAA convertion to nICEr transport addr. r=bwc
--HG--
extra : transplant_source : %10-Ak%B73AZ%D2%EA%CA%7B%98%40%EB%2A%EA%B7%0B%C2
2015-07-31 18:18:02 -07:00
Byron Campen [:bwc] bfdeba6014 Bug 1173599 - a=imageattr support. r=mt
--HG--
extra : transplant_source : Tem%D2%C5%8B%DF%F5%21%A9%80%97%D9U%D4%7E0%ED%F4E
2015-07-30 14:45:51 -05:00
Aryeh Gregor 80ea0a3e53 Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
--HG--
rename : dom/bindings/OwningNonNull.h => xpcom/base/OwningNonNull.h
2015-08-05 15:28:27 +03:00
Andre Natal 012af21e63 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] 928cc0e5e5 Bug 1190720 - only check IP version for STUN server IPs. r=bwc
--HG--
extra : transplant_source : %90%D2%EA%A8%91%18%2C%3A%87Fz%EF%09%DE%28%11%22%B5%94Q
2015-08-03 23:38:36 -07:00
Nils Ohlmeier [:drno] 62de0a691c Bug 1190615 - Skip non-UDP STUN servers for UDP sockets. r=bwc
CLOSED TREE

--HG--
extra : amend_source : c1d99bee2b35bd585e0b8905f14e3fd935e26e72
extra : transplant_source : %A8f%FC%B78D%823%F57%8B%91%CF%BF%C8%EC%84%DA4%B5
2015-08-03 16:26:20 -07:00
EKR 1fe487642d Bug 1178349 - Enable ice_unittests on desktop linux on CI. r=bwc
CLOSED TREE

--HG--
extra : amend_source : 03121b8bd5dce3777cd1dea62fbb260501831afc
extra : transplant_source : %C4V%D5%7E%17h%DE%9F%EB%95%C7%3B%A1%AE%E5%B6%DE%D1A%F6
2015-08-04 06:07:55 -07:00
Jean-Yves Avenard fdad9271bf Bug 1185115 - Ensure we have enough memory to allocate required capacity. r=kentuckyfriedtakahe
CLOSED TREE

--HG--
extra : amend_source : d3104ef74195446962f52d1328b75f62484bf3f1
2015-08-04 13:43:17 -04:00
Byron Campen [:bwc] f017a69bcd Bug 1142105 - Part 3: Extract more SDP-related functionality out of JsepSessionImpl, and some readability improvements. r=mt
--HG--
extra : rebase_source : ecf05d79d34920fdf6aa773332cd53cd736cfea8
2015-07-29 13:10:24 -05:00
Ryan VanderMeulen ff5375610d Backed out changeset 62561970f611 (bug 1178349) for Android crashes.
CLOSED TREE
2015-08-03 15:34:17 -04:00
EKR 80bdca1457 Bug 1178349 - Re-enable ice_unittest on Linux. r=drno
--HG--
extra : rebase_source : 5375d2e560a8952063dd1508a19552c22110c553
2015-08-01 07:22:12 -07:00
EKR 8ccbc8476f Bug 1177921 - Fix typo in STUN server name. r=drno
--HG--
extra : rebase_source : 89ba451be66a180fc9d024a261d5928b0b8b0ddd
2015-08-01 06:03:35 -07:00
Nils Ohlmeier [:drno] ec3ba81d1e Bug 1189198 - don't start STUN transactions with a protocol mis-match. r=mtseng
--HG--
extra : rebase_source : 9c51c1395dc99a19ae32ba79a54f8129f2166ae6
2015-07-31 11:23:26 -07:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
JW Wang 48d9740581 Bug 1189866 - revert code that accidentally got into bug 1187817 patch 5. r=me. 2015-08-01 13:58:39 +08:00
JW Wang 17e42272cd 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 5988d4015d 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 b2e8611aaa 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] 910b8d14f3 Bug 1187472 - only log UDP and TCP candidate gathering failures. r=bwc
--HG--
extra : rebase_source : 44b6b6f2c99c93695ee9711ffdb9caf05dddffe2
2015-07-24 14:01:11 -07:00
Wes Kocher 1ca8b1de87 Merge b2ginbound to central, a=merge 2015-07-29 20:19:12 -07:00
Jessica Jong 11d3d9a5a3 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] 6c5f643b27 Bug 1142105 - Part 2: Move some stuff from JsepCodecDescription into /sdp r=mt
--HG--
extra : rebase_source : 068ff0ea6c8c2e373a6e1b7f703a2a62b98a5cbe
2015-07-23 16:55:08 -05:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Ehsan Akhgari e36f5e1a38 Bug 1188212 - Fix more constructors in media; r=cpearce 2015-07-28 08:53:33 -04:00
Glenn Randers-Pehrson a39ceed4a2 Bug 1186977 - Update embedded libpng to version 1.6.18. r=jmuizelaar 2015-07-26 20:26:00 +02:00
Gian-Carlo Pascutto f6d0d49348 Bug 1186657. r=jesup,nchen 2015-07-28 08:55:06 +02:00
Jean-Yves Avenard 7cb5a3857f 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 89e5d96fae Bug 1186718 - Ensure ESDS have valid size. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 7040d05738365d164bb0891130d04a16daa273cc
2015-07-27 16:25:17 -04:00
Jean-Yves Avenard e0264d1f80 Bug 1185115 - Ensure we have enough memory to allocate required capacity. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 1a83126a3081c4d2b5d5a1d900b3a8a65c5016dd
2015-07-27 11:27:34 -04:00
Ryan VanderMeulen 4f09769d88 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Wes Kocher 8f5503c1c0 Merge m-c to fx-team, a=merge 2015-07-24 13:48:31 -07:00
Wes Kocher c835884065 Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Qiang Lu b3eee8c12c Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel
--HG--
extra : amend_source : f7d209e2dd0bdb9a67c563b5bd2d51da4af56ba8
extra : histedit_source : d8226f7240c5d19d9d2f08f9fc07a83e158505a2%2Cde0d48144261c643fcb23c0f7756906aeded1708
2015-07-24 12:45:55 -07:00
Xidorn Quan 8af3ab8b39 Bug 1186784 followup - Fix bustage on CLOSED TREE
--HG--
extra : source : f960cf576fabd6347a513a8c38f27d4150b416a9
2015-07-25 00:08:40 +10:00
Xidorn Quan 219d742057 Bug 1186784 - Disable snprintf definition in libav on VC2015. r=glandium
--HG--
extra : source : 03d4ebfe2c987137c006e18ca7787d246d3826a9
2015-07-24 23:06:50 +10:00
Nils Ohlmeier [:drno] 0012786ede Bug 1186339 - skip STUN/TURN servers with non-matching IP versions for TCP sockets. r=bwc
--HG--
extra : transplant_source : %3E%0E8%D9%D8%A4%03J%E42%AE%0C%3D%C0o%84%D7%40dl
2015-07-22 10:54:11 -07:00
Nils Ohlmeier [:drno] 05aa617f65 Bug 1185198 - use port 9 for TCP active candidates. r=bwc
--HG--
extra : transplant_source : %A1E%BEA%E6%60%E6%BE%12%CD%E6%04%F0%0C%DF%FB/%D2%28%80
2015-07-22 16:51:38 -07:00
Jessica Jong 1b76db0a26 Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi
--HG--
extra : commitid : AFRfgLTfJL1
2015-07-24 10:41:15 +08:00
Nathan Froyd 7f2b10d2e9 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 8393a2233e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book de3872af29 Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage 2015-07-21 08:42:54 +02:00
Alfredo Yang 23c919b20e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-20 19:25:00 +02:00
Wes Kocher 9d698325fd Merge m-c to inbound, a=merge 2015-07-24 13:47:28 -07:00
Byron Campen [:bwc] 4671f1556a Bug 1182289: Clean up dispatches in WebrtcGmpVideoEncoder/Decoder. r=jesup, a=abillings
--HG--
extra : rebase_source : 0dd07ceb55830a323e17d7ca86794c07cc5ba375
2015-07-14 09:20:28 -05:00
Jan-Ivar Bruaroey c49c2b6556 Bug 1184426 - Unprefix RTCIceCandidatePairStats.priority (formerly mozPriority). r=bwc, r=smaug
--HG--
extra : transplant_source : %5C%F5Yk%F3%90A%99%89%0F%0AW%CB-%1333FTQ
2015-07-15 22:43:37 -04:00
Andreas Pehrson b9055642ac Bug 1173654 - Part 4: Add detailed logging and asserts to MediaPipeline::ProcessVideoChunk. r=bwc
--HG--
extra : transplant_source : %24Z%EB%0B%AEB%B5y%F5%AB%7C%D0%00%AE%BDl%E0M%FD%B3
2015-07-16 09:30:39 +08:00
Andreas Pehrson 249cffa06e Bug 1173654 - Part 3: Attempt to GetDataSurface() and convert if sending pure I420 fails. r=bwc, r=jesup
--HG--
extra : transplant_source : %FB%3C%FEV%BA%D0N%D7%402%DB%A4%B6j%FBD%08%1F%B4%3F
2015-07-16 09:30:23 +08:00
Andreas Pehrson 0c0baa6962 Bug 1173654 - Part 2: Use namespaces in MediaPipeline.cpp. r=bwc
--HG--
extra : transplant_source : %F24P%F6%25%D2%EC%0D%FC%B2QNT%12%B2%BFX%C2%2C%A2
2015-07-16 09:30:12 +08:00
Nils Ohlmeier [:drno] 812df4ccca Bug 1183985: Fixed WebRTC socket leak on Linux. r=bwc
--HG--
extra : commitid : 8QALoykXJwH
extra : rebase_source : a47d2c9fd1cd5a8f4f0c1abfadf9946d6a0562f1
2015-07-15 00:19:47 -07:00
Martin Thomson 83db5b6014 Bug 1184226 - Suppressing received packets when disabled, r=ekr
--HG--
extra : commitid : Ff35Nhfz0A1
2015-07-15 13:03:01 -07:00
Martin Thomson edcb9d055e Bug 1184226 - Disabling write on shutdown, r=ekr
--HG--
extra : commitid : 9u0Wd9Hh0Pu
2015-07-15 12:23:10 -07:00
Martin Thomson 3f8ac8f5ec Bug 1184226 - Updating transportlayerdtls logging levels, r=ekr
--HG--
extra : commitid : 60ANY3TKI6I
2015-07-15 12:23:10 -07:00
Byron Campen [:bwc] 3f60bf5a1c Bug 1142105 - Part 1: Move SDP helper code functions out of JsepSessionImpl and into a separate class. r=mt
--HG--
extra : rebase_source : 110730f8e85083142b9b705d290c262b8895c72a
extra : histedit_source : 3d3b55d239e0dbf4780f52634b46f004149ca6a2
2015-07-02 10:04:36 -07:00
Jean-Yves Avenard 81ace05809 Bug 1144107 - Part 4: Prevent assert when hitting EOS. r=kentuckyfriedtakahe
this would occur if we attempt to read exactly the end of the array.
2015-07-14 09:21:27 -04:00
Jean-Yves Avenard 95bf127594 Bug 1144107 - Part 3: Prevent int overflow in sort. r=kentuckyfriedtakahe 2015-07-14 09:21:27 -04:00
Jean-Yves Avenard 76090b241e Bug 1144107 - Part 2: Prevent uin32_t overflow. r=kentuckyfriedtakahe 2015-07-14 09:21:27 -04:00
Jean-Yves Avenard 03d7a25152 Bug 1144107 - Part 1: Mark tracks with no samples table as invalid. r=kentuckyfriedtakahe 2015-07-14 09:21:27 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Kyle Machulis e78a8160bc Bug 1157768 - libav FFT dummy functions for Windows PGO/NoOpt builds; r=glandium 2015-07-10 14:34:07 -07:00
Kyle Machulis 17cc1532fc Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-10 14:34:07 -07:00
Kyle Machulis 98622f963e Bug 1157768 - Minimal libav files for using libav fft; r=padenot 2015-07-10 14:34:06 -07:00
Gerald Squelart 0cf2393949 Bug 1182363 - Added missing 'else' to prevent wrong error logging. r=edwin 2015-07-09 18:22:00 +02:00
Randell Jesup c87c478f4f Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Wes Kocher b561edb7f4 Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Randell Jesup 3ea92ed1e2 Bug 1181265 - wallpaper over windows (driver?) returning null ptr to GetStreamCaps r=pkerr 2015-07-09 14:23:58 -04:00
Kyle Machulis 1d49a2f906 Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-09 09:07:52 -07:00
Kyle Machulis dbc18c46d6 Bug 1157768 - Minimal libav files for using libav fft; r=padenot 2015-07-09 09:07:52 -07:00
Julian Seward 5c9cd6704d Bug 1137169 - Uninitialised value uses related to mozilla::dom::WebAudioUtils::SpeexResamplerProcess. r=rjesup.
--HG--
extra : rebase_source : 868317b702597783f155f93e0029acf896f017a6
2015-07-08 20:11:52 +02:00
Chris Pearce e811a7d2e6 Bug 1181436 - Use 'gmp-api/' prefix consistently in includes in gmp-clearkey. r=gerald 2015-07-08 17:12:47 +12:00
Kyle Machulis 23445a5b80 Bug 1176300 - Add soundtouch factory functions for DLL memory handling on windows; r=padenot 2015-07-07 21:17:09 -07:00
Kyle Machulis 793be989a7 Bug 1176300 - Update libsoundtouch to patched r222; r=padenot 2015-07-07 21:17:09 -07:00
Kyle Machulis 59edeb16c7 Bug 1176300 - Move libsoundtouch to lgpllibs; r=glandium 2015-07-07 21:17:09 -07:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Robert O'Callahan 680664fafe Bug 1143575. Add RefBase #include to stagefright stubs. r=cpearce
--HG--
extra : commitid : wcsOwklXjp
extra : rebase_source : 8c4973bc7c8c032dc1c28b4525ca0fca998a1989
2015-05-12 15:36:19 +12:00
Martin Thomson 0401014a7f Bug 1172785 - Switch to ECDSA for MTI suites, r=ekr
--HG--
extra : commitid : BV7RgOzWYvf
extra : rebase_source : 8f74bf40b69029b1aeee1dbc708872a8d0488656
2015-07-06 10:40:04 -07:00
Martin Thomson 8fd488c3ef Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr
--HG--
extra : commitid : DAyJQljGuGT
extra : rebase_source : 5a5e3baad12dcea9c3020d1716d41c409e3614f8
2015-07-06 10:40:04 -07:00
Byron Campen [:bwc] ecf78bfe78 Bug 1180311 - Add null check to ifa_addr. r=ekr
--HG--
extra : rebase_source : 61eb93695a2e4f478055515302b696d93dc68256
2015-07-03 14:10:16 -07:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Byron Campen [:bwc] d276234312 Bug 1112692: BundlePolicy support, and support for more than one BUNDLE group. r=mt, r=smaug
--HG--
extra : rebase_source : 1c5116634398337ad0816a29409224b612b9749c
extra : amend_source : 250d02fc24b39702f1f963178f7de5c9e8f60e89
extra : source : 9293d87a19f9f96ab6ae957f9ff40123e853c584
2015-06-12 14:27:08 -07:00
Ralph Giles 8931994bd3 Bug 1179885 - Update rust mp4parser gtest. r=k17e
Switch to stdio for reading the file snippet. I can't figure
out how to cleanly read a minimum subset into a vector with
ifstream. Previously we were asking it to read zero bytes,
so the argument validation in read_box_from_buffer() was
rejecting the data without trying to parse it.

With this and the v0.0.9 changes to catch eof, we can remove
the expected fail on the street.mp4 test.
2015-07-02 14:12:14 -07:00
Ralph Giles 7e60c406ad Bug 1179885 - Update rust mp4parser to v0.0.9. r=k17e
Source from https://notabug.org/rillian/mp4parse-rust

Modified to use byteorder as a local mod instead of an
extern crate, per bug 1175322.
2015-07-02 14:12:13 -07:00
Byron Campen [:bwc] 97d45626f1 Bug 797262 - IPV6 support for webrtc. r=drno
--HG--
rename : media/webrtc/trunk/webrtc/base/ifaddrs-android.cc => media/mtransport/third_party/nICEr/src/stun/ifaddrs-android.c
extra : rebase_source : a929d159e8e7b39a2bfe3d431395caa838f75a54
2015-04-22 15:02:50 -05:00
Byron Campen [:bwc] 73bf6da5c9 Bug 980609: Do not assert that TURN TCP client contexts can't fail before attempting to allocate. r=ekr
--HG--
extra : rebase_source : 24bcbf50e03a19a5f09ef3e39a5c3c285c73322b
2014-03-07 15:29:09 -08:00
Byron Campen [:bwc] deed219594 Bug 971357: Log STUN responses at INFO instead of DEBUG. r=ekr
--HG--
extra : rebase_source : 58291fe1ea5c807eff63982dfab4fe8f37289030
2014-02-11 17:27:45 -08:00
Byron Campen [:bwc] 85e5c38741 Bug 1035428: Re-register writeable callback after partially servicing the send queue. r=drno 2014-07-07 14:25:23 -07:00
Jan Gerber 0741d70e20 Bug 1178215 - Update libvpx. r=rillian
Update libvpx to e67d45d4ce92468ba193288b59093fef0a502662
* * *
Bug 1178215 - Bump clobber for libvpx file renames. r=me

--HG--
rename : media/libvpx/vp8/common/x86/variance_impl_mmx.asm => media/libvpx/vp8/common/x86/vp8_variance_impl_mmx.asm
rename : media/libvpx/vp8/common/x86/variance_mmx.c => media/libvpx/vp8/common/x86/vp8_variance_mmx.c
rename : media/libvpx/vp8/common/x86/variance_sse2.c => media/libvpx/vp8/common/x86/vp8_variance_sse2.c
rename : media/libvpx/vp9/common/arm/neon/vp9_avg_neon.c => media/libvpx/vp9/common/arm/neon/vp9_convolve_avg_neon.c
rename : media/libvpx/vp9/common/arm/neon/vp9_avg_neon_asm.asm => media/libvpx/vp9/common/arm/neon/vp9_convolve_avg_neon_asm.asm
rename : media/libvpx/vp9/encoder/x86/vp9_dct32x32_avx2.c => media/libvpx/vp9/encoder/x86/vp9_dct32x32_avx2_impl.h
rename : media/libvpx/vp9/encoder/x86/vp9_dct32x32_sse2.c => media/libvpx/vp9/encoder/x86/vp9_dct32x32_sse2_impl.h
rename : media/libvpx/vp9/encoder/x86/vp9_dct_impl_sse2.c => media/libvpx/vp9/encoder/x86/vp9_dct_sse2_impl.h
rename : media/libvpx/vp9/encoder/arm/neon/vp9_sad4d_neon.c => media/libvpx/vpx_dsp/arm/sad4d_neon.c
rename : media/libvpx/vp8/common/arm/armv6/vp8_sad16x16_armv6.asm => media/libvpx/vpx_dsp/arm/sad_media.asm
rename : media/libvpx/vp9/encoder/arm/neon/vp9_sad_neon.c => media/libvpx/vpx_dsp/arm/sad_neon.c
rename : media/libvpx/vp8/common/arm/armv6/vp8_variance16x16_armv6.asm => media/libvpx/vpx_dsp/arm/variance_media.asm
rename : media/libvpx/vp9/encoder/vp9_sad.c => media/libvpx/vpx_dsp/sad.c
rename : media/libvpx/vp9/encoder/x86/vp9_highbd_sad4d_sse2.asm => media/libvpx/vpx_dsp/x86/highbd_sad4d_sse2.asm
rename : media/libvpx/vp9/encoder/x86/vp9_highbd_sad_sse2.asm => media/libvpx/vpx_dsp/x86/highbd_sad_sse2.asm
rename : media/libvpx/vp9/encoder/x86/vp9_highbd_variance_impl_sse2.asm => media/libvpx/vpx_dsp/x86/highbd_variance_impl_sse2.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad4d_intrin_avx2.c => media/libvpx/vpx_dsp/x86/sad4d_avx2.c
rename : media/libvpx/vp9/encoder/x86/vp9_sad4d_sse2.asm => media/libvpx/vpx_dsp/x86/sad4d_sse2.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad_intrin_avx2.c => media/libvpx/vpx_dsp/x86/sad_avx2.c
rename : media/libvpx/vp8/common/x86/sad_mmx.asm => media/libvpx/vpx_dsp/x86/sad_mmx.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad_sse2.asm => media/libvpx/vpx_dsp/x86/sad_sse2.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad_sse3.asm => media/libvpx/vpx_dsp/x86/sad_sse3.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad_sse4.asm => media/libvpx/vpx_dsp/x86/sad_sse4.asm
rename : media/libvpx/vp9/encoder/x86/vp9_sad_ssse3.asm => media/libvpx/vpx_dsp/x86/sad_ssse3.asm
rename : media/libvpx/vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c => media/libvpx/vpx_dsp/x86/variance_impl_avx2.c
rename : media/libvpx/vp8/common/x86/variance_impl_mmx.asm => media/libvpx/vpx_dsp/x86/variance_impl_mmx.asm
2015-06-29 23:07:20 +02:00
Jan Gerber c186adf8ce Bug 1178215 - update update.py for new libvpx r=rillian
libvpx dropped vpx_mem_set_functions,
only use it if an external libvpx
is used and still has it.

update update.py
add vpx_dsp_rtcd.h
rebase disable_pthread_on_mingw.patch
add vp9_filter_restore_aligment.patch
drop msvc2015.patch
2015-06-29 23:06:04 +02:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd 085aa479e6 Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable.  In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ralph Giles c9aa6b2fac Bug 1177029 - Use stdint.h instead of cstdint. r=kinetik
Clang can't find this on my MacOS X machine.
2015-06-24 00:23:00 -07:00
Jan Gerber 78a6145196 Bug 1176730: Don't use pthread for libvpx in mingw builds. r=rillian
Based on a patch by Jacek Caban.

--HG--
extra : rebase_source : 29b8f1100720d729d4ae0058add5a64ebc1f9a19
2015-06-23 02:19:00 -07:00
Matthew Gregan ac2b9444ba Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Jean-Yves Avenard 3f6934ace6 Bug 1174577: P1. Have Init segment range only include the first moov. r=kentuckyfriedtakahe 2015-06-19 16:45:15 +10:00
Nils Ohlmeier [:drno] 2e746f9a3a Bug 891551 - Part 11: fix a couple of issues from part 5. r=bwc 2015-06-18 23:02:38 -07:00
Nils Ohlmeier [:drno] ce7a04b4f0 Bug 891551 - Part 10: added user pref to turn of ICE TCP. r=mt 2015-06-18 23:02:33 -07:00
Nils Ohlmeier [:drno] 2ca1bfcdb2 Bug 891551 - Part 9: ignore initial socket connect failures during gathering. r=jesup 2015-06-18 23:02:25 -07:00
Peter Tatrai 72a87d1ac6 Bug 891551 - Part 8: Increase and make backlog value configurable. r=bwc 2014-06-12 07:25:00 -07:00
Byron Campen [:bwc] fedbd732d1 Bug 891551 - Part 7: Fix some intermittent failures in multi_tcp_socket_unittest. r=ekr 2014-06-09 15:04:42 -07:00
"Peter Tatrai ext:(%22) ae531cc1ad Bug 891551 - Part 6: Add log dumper to multi_tcp_socket_unittest. r=bwc 2014-06-03 08:44:59 +02:00
"Peter Tatrai ext:(%22) 6d354a80da Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup 2014-04-23 10:15:25 +02:00
Jan Gerber d37a938d00 Bug 1151175 - Update libvpx to 1.4.0. r=rillian
vp9_thread.c has changed directories, which mach doesn't handle
properly, resulting in "No rule to make target" for the old source
file path.

Bump clobber for libvpx file renames.

--HG--
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vp8/common/arm/neon/dequantizeb_neon.c
rename : media/libvpx/vp8/common/x86/loopfilter_block_sse2.asm => media/libvpx/vp8/common/x86/loopfilter_block_sse2_x86_64.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_avg_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_avg_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_convolve8_avg_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_convolve8_avg_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_convolve8_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_convolve8_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_copy_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_copy_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct16x16_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct16x16_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct16x16_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct16x16_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct32x32_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct32x32_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct32x32_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct32x32_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct4x4_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct4x4_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct4x4_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct4x4_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct8x8_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct8x8_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct8x8_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct8x8_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_16_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_16_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_4_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_8_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_reconintra_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_reconintra_neon_asm.asm
rename : media/libvpx/vp9/decoder/vp9_thread.h => media/libvpx/vp9/common/vp9_thread.h
rename : media/libvpx/vp9/encoder/vp9_vaq.h => media/libvpx/vp9/encoder/vp9_aq_variance.h
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vp9/encoder/vp9_ethread.h
rename : media/libvpx/vp8/encoder/psnr.h => media/libvpx/vp9/encoder/vp9_skin_detection.h
rename : media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3.asm => media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
rename : media/libvpx/vp8/encoder/psnr.h => media/libvpx/vpx/internal/vpx_psnr.h
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vpx/src/vpx_psnr.c
extra : rebase_source : 82ccda936f3d40e8e960c35174e25483ed88726a
2015-06-17 20:46:25 +02:00
Jan Gerber b9d4195fdb Bug 1151175 - Update libvpx update.py for 1.4.0. r=rillian
--HG--
extra : rebase_source : b894a524b169c410a0c76bfead0f8d447a424347
2015-06-17 20:43:46 +02:00
Gerald Squelart f4ccd23df1 Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce
--HG--
extra : rebase_source : d6e510b5e081d581524a38a684a9cc677a5bde34
2015-06-11 22:05:00 +02:00
Adrian Cruceru b6bd5b4c75 Bug 881742: Fix null-deref on OOM (or bad allocation size due to corrupted video) in webrtc upstream code r=jesup 2015-06-18 00:06:36 -04:00
Ralph Giles 074f872aa1 Bug 1175322 - Add gtests for rust mp4 metadata parser. r=k17e
Add a null buffer test.
Add a street.mp4 test.

We have trouble parsing gizmo.mp4, and the dom/media/gtest
already exposes the file, which is confusing since we apparently
can't have duplicates in TEST_HARNESS_FILES.

The street.mp4 test always fails because we don't catch
the eof in the rust code.
2015-06-16 15:52:00 -07:00
Ralph Giles dbec6e99b1 Bug 1175322 - Import byteorder crate. r=k17e
This is the source of Andrew Gallant's byteorder crate,
used end the MIT license.

It has been slightly modified to re-export the new sub-module
so it can be built as a mod inside our MP4Metadata crate since
we don't currently support crate dependencies.
2015-06-16 15:51:00 -07:00
Ralph Giles 35b5a70f29 Bug 1175322 - Import mp4parse v0.0.8 source. r=k17e
Source from https://notabug.org/rillian/mp4parse-rust
2015-06-16 15:50:00 -07:00
Ralph Giles 83d61e2787 Bug 1174356 - Add missing MediaData include. r=jya
Needed for separate compilation of MP4Metadata.h in unit tests.

--HG--
extra : rebase_source : 13d6298ff6a5e6706ab42a8d6fe2cadb15dba631
2015-06-15 08:53:00 -07:00
Nathan Froyd 2c0ec52c9a Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr 2015-05-05 16:21:37 -04:00
Andreas Pehrson 791226a885 Bug 1172397 - Check for Conduit/Type mismatch on every frame. r=jesup, r=bwc
--HG--
extra : rebase_source : 3855bb01e52fec665fc4dbcffda9247191349e77
2015-06-08 14:43:48 +08:00
Matthew Gregan bf4e15de86 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot
--HG--
extra : rebase_source : 344380ef08d44983c745bea5cee792140ca7ca66
2015-05-14 18:33:23 +12:00
Birunthan Mohanathas 2d96c72f58 Bug 1174220 - Part 2: Use MediaByteBuffer instead of MediaLargeByteBuffer. r=jya
All MediaLargeByteBuffer calls already include the `mozilla::fallible`
parameter so we can safely replace MediaLargeByteBuffer with MediaByteBuffer.
2015-06-14 21:37:13 -07:00
Ted Mielczarek 5d19fb925a bug 1171143 - Fix iOS capture build. r=jesup
--HG--
extra : commitid : C2USxBeZe6F
extra : rebase_source : d217dcc4ab9dc6a9b36934e69f62291e22469b79
2015-02-28 19:47:07 -05:00
Ted Mielczarek f29254de56 bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr
--HG--
extra : commitid : IzeeeUXXL9N
extra : rebase_source : 7f5d4d505327989abffde752b99bc62a497f6c77
2015-02-27 12:37:42 -05:00
Ted Mielczarek 1c8dfe9741 bug 1171072 - make libcubeb build on iOS. r=kinetik
--HG--
extra : commitid : R5mXVfavLL
extra : rebase_source : 61121b45801e46597047006e9c72e8702a3b0792
2015-02-06 14:50:40 -05:00
Byron Campen [:bwc] 63565e6168 Bug 1170683: Do a better job in copying previous transport parameters into new offers/answers. r=mt
--HG--
extra : rebase_source : f263b9ad0bce2928a13584f374018d94cd6144ba
extra : amend_source : 8476404611746d25e7f1bbf34c6c1ec5077f9af6
2015-06-02 17:15:40 -07:00
Ralph Giles fce6dd199a Bug 1173396 - Restore libvpx alignment patch. r=kinetik
The crash in vp8_diamond_search_sadx4 is reproducing again
so it looks like switching off unified build didn't fix
this.

--HG--
extra : rebase_source : 60517f781a17b3b26eec38d11bcc6a355ac09369
2015-06-10 09:31:00 -07:00
Andreas Pehrson ffc3d7735d Bug 1169125 - Part 2: Use UniquePtr for scoped delete of yuv data in MediaPipeline. r=bwc
--HG--
extra : rebase_source : 4a66d6946479adb7d0574448e2204e63f388b698
extra : histedit_source : c7c0824f3ed1f02db24a1792b10ea7315b6e46e6
2015-06-09 13:31:34 +08:00
Andreas Pehrson f76298db5c Bug 1169125 - Part 1: Allow sending any DataSourceSurface-backed image over WebRTC and fix failure cases. r=bwc
--HG--
extra : rebase_source : c4a9d4fb40d1ea2aefe3be7bfa864998dc2062fa
extra : histedit_source : d7909e28671d1b965798e7e040a8fdc51309585f
2015-06-09 13:31:22 +08:00
Jean-Yves Avenard bc7bec465a Bug 1171330: P14. Add ContainerParser::FirstCompleteMediaHeader() method. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 6adaf84ce44a6024b5eb40672f3d8d9bb107432d
2015-06-11 16:27:15 +10:00
Jean-Yves Avenard 584ec04c52 Bug 1171330: P1. Add ContainerParser::MediaSegmentRange() method. r=kentuckyfriedtakahe
And add abilities to MoofParser to indicate if a media segment is complete.
In MP4 a media segment is made of a moof atom followed by one (or more) mdat
atoms.

--HG--
extra : rebase_source : 0b0db48d55462025d9d45bf9b3bbdbc806b0e7a8
2015-06-11 15:49:49 +10:00
Byron Campen [:bwc] dc3971b1c9 Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
--HG--
extra : rebase_source : 1ca1bb919526b3a4e091022e5aba04140efc9c90
extra : source : d354fa12177226f079090cc34277aaf1016e23fa
2015-06-10 15:27:12 -07:00
Birunthan Mohanathas 94f1cfa658 Bug 968520 - Add mozilla::fallible to more FallibleTArray calls. r=froydnj
This calls were already fallible due to their type (FallibleTArray). This
commit merely makes that fact visible at the call site.
2015-06-10 14:30:41 -07:00
Jean-Yves Avenard 8b436991f9 Bug 1171067: Part2. Properly hande box size marked as 0. r=kentuckyfriedtakahe
This indicates that the box goes to the end of the file.
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard 884ee68615 Bug 1171067: Properly read 64bits header's size. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Jean-Yves Avenard cb1a613e49 Bug 1168040: P3. MP4 dts must use the same timeline as pts. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Jean-Yves Avenard 9a7876feb4 Bug 1168040: Part2. Properly handle MP4 time offset in MoofParser. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Jean-Yves Avenard 34ab4962db Bug 1168040: Part1. Properly handle MP4 starting offset. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Jean-Yves Avenard c2533f75f1 Bug 1171629: Use fallible array to store MP4 samples index. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Randell Jesup b11b15ef82 Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc 2015-06-05 20:27:38 -04:00
Phil Ringnalda dc5fc60307 Back out 08acee81ae64 (bug 1132318) for assertion failures in mochitest-3 media tests
CLOSED TREE
2015-06-05 19:41:53 -07:00
Randell Jesup 7ee6dd1764 Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc 2015-06-05 20:27:38 -04:00
Wes Kocher 8f17e389c4 Merge m-c to inbound, a=merge 2015-06-05 16:03:46 -07:00
Wes Kocher 12f2b44c0e Merge b2ginbound to central, a=merge 2015-06-05 16:02:54 -07:00
Randell Jesup e512e96a61 Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc 2015-06-05 15:16:45 -04:00
Wes Kocher 8ab478043e Backed out changeset 2cb094627289 (bug 822129) for cppunittest orange 2015-06-05 14:16:56 -07:00
Randell Jesup b3489b0ab1 Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc 2015-06-05 15:16:45 -04:00
Benjamin Chen e787022dbd Bug 1165963 - Fix regression by bug 1104643: Detect "over compensation" and reset the anchor. r=padenot 2015-06-02 17:27:09 +08:00
Randell Jesup 3fa2a3d032 Bug 1158372: clean up windows CreateCapabilityMap for video capture r=dmajor 2015-06-05 09:18:35 -04:00
Eugen Sawin e03391c07e Bug 1166779 - Rebase MP3 demuxer on MediaDataDemuxer interface. r=kinetik
--HG--
rename : media/libstagefright/binding/MP3TrackDemuxer.cpp => dom/media/MP3Demuxer.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MP3TrackDemuxer.h => dom/media/MP3Demuxer.h
extra : rebase_source : 1cbc9b841cdba57e9d72c00f6c6ec95eebb3b371
2015-06-05 14:34:19 +02:00
Kelly Davis 719b4d05a4 Bug 1171082 - Now _WIN32_WINNT is defined to 0x0400 only if it is not defined, 0x0400 is the minimal version. Also modified update.sh to do this. r=smaug
--HG--
extra : rebase_source : c9d7ed52725c4945a982756909756a1d25e2d835
2015-06-04 21:45:00 +02:00
Chris Pearce 461ef61358 Bug 1169129 - Test that an EME GMP can instantiate a plugin before report we support that keySystem. r=edwin 2015-06-05 21:55:51 +12:00
Chris Pearce c02d6f7096 Bug 1169129 - Change GMP*Parent::ParentId() to a more consistent GMP*Parent::GetPluginId(). r=edwin 2015-06-05 21:55:51 +12:00
Byron Campen [:bwc] e3ac40f6ed Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt
--HG--
extra : rebase_source : 3f19bb04da92360959430d0eaee1ba1e031a1cba
2015-05-22 11:11:37 -07:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm 61e7ce5adb Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-03 15:22:37 -07:00
Eric Rahm b28e274194 Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-03 15:22:36 -07:00
Eric Rahm f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Kelly Davis efd14d0ad6 Bug 1051146 - Part 7: Introduce update scripts for Pocketsphinx and Sphinxbase code. r=smaug 2015-05-26 02:45:00 -04:00
Kelly Davis 966d7398dc Bug 1051146 - Part 3: Introduce build system changes for the new Pocketsphinx and Sphinxbase code. r=smaug, r=gps 2015-05-27 21:39:00 -04:00
Kelly Davis cf2086cef2 Bug 1051146 - Part 2: Introduce the new Pocketsphinx and Sphinxbase code with no build integration. r=smaug, r=gerv 2015-05-21 22:18:00 -04:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Randell Jesup 1ec8ff3771 Bug 1159489: WebRTC bitrate limits for video depend on input resolution and framerate r=pkerr 2015-06-02 02:49:37 -04:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm 75c3b99398 Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-01 22:17:28 -07:00
Eric Rahm 39e425f2b7 Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-01 22:17:27 -07:00
Eric Rahm 141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm 60f0fb5be4 Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-01 14:31:00 -07:00
Eric Rahm fff19cfe67 Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-01 14:31:00 -07:00
Eric Rahm dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Chris Peterson db36559368 Bug 1170059 - Fix -Wunreachable-code clang warnings in webrtc/signaling. r=jesup 2015-05-31 19:38:34 -07:00
EKR a1e8188e8d Bug 1169498 - Minor comment fix for NrIceCtx::Create(). r=bwc
--HG--
extra : rebase_source : c603203bcee96782587bc7d0053687a823749642
2015-05-28 18:57:19 -07:00
Randell Jesup 556337fa7c Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent 2015-05-29 10:14:14 -04:00
Randell Jesup 2b068009de Bug 1145354: Add SingletonThreadHolder for media/mtransport, and use it for mtransport IPC IO r=bwc
(also includes Bug 1109338: Part 4 r=bwc)
2015-05-29 10:13:33 -04:00
Botond Ballo e517cc3f1e Bug 1166583 - Move chromium's MakeTuple function into namespace 'base' to avoid conflicts with mozilla::MakeTuple. r=froydnj
--HG--
extra : source : 2258a91d5781efe8e1d5f92f64ff173412705274
2015-05-09 21:09:40 -05:00
Byron Campen [:bwc] 6ba5c58d31 Bug 1165129: Allow JS to reorder codecs in a local answer. Also means that we'll take the ordering more seriously when we see multiple codecs in a remote answer. r=jesup
--HG--
extra : rebase_source : 85a7b15e4492bdadca4cc5d4cec61b9f08106017
2015-05-14 16:05:36 -07:00
Birunthan Mohanathas 180b572edb Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas 470bd9148f Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Jan Gerber fcaed6e591 Bug 1168732 - Update libnestegg to pick up nestegg_track_codec_data_count fix for Opus handling. r=kinetik 2015-05-28 14:24:28 +12:00
Mike Hommey 806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Byron Campen [:bwc] e38fb6ec6f Bug 1165520: Negotiate rtcp-fb r=jesup
--HG--
extra : rebase_source : 108cc130bf5596cbda38765d74d57c306d0f3591
2015-05-15 12:19:19 -07:00
Botond Ballo 2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Gerald Squelart 3c9a325b39 Bug 1207909 - p2: Fixed a warning (uninitialized 'err') and typo - r=jya 2015-09-30 07:37:00 +02:00
Gerald Squelart 1866c4d412 Bug 1207909 - p1: Fixed ALOGV statement - r=jya 2015-09-30 07:36:00 +02:00
Nils Ohlmeier [:drno] cdfa84b6c4 Bug 1207451 - removed framing from multi_tcp API. r=bwc
--HG--
extra : transplant_source : %F9%C6%02H%9B%97%C0%2C%AC%07%F4%F6%99%25%09%0D%B6%11b%A1
2015-09-19 12:12:15 -07:00
Phil Ringnalda 49dd872168 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo 9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Andreas Pehrson 02fa145844 Bug 1166183 - Reset PipelineListener's flag after ReplaceTrack(). r=bwc 2015-05-21 13:35:29 +08:00
Paul Adenot 1b3f8ecaa4 Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-21 13:35:29 +08:00
Jean-Yves Avenard 53af195bf0 Bug 1163227: Part7. Never do blocking read if we don't have data. r=kentuckyfriedtakahe 2015-05-25 15:09:16 +10:00
Byron Campen [:bwc] 559db058ce Bug 1167306: Fix preprocessor goof that disabled the load manager and some preference handling. r=jesup
--HG--
extra : rebase_source : 76ee86f2f4e1258171ac10df29b6fabdb9c6bc6d
2015-05-21 13:45:55 -07:00
Byron Campen [:bwc] 1fec8cf0e8 Bug 952145: Rollback support r=mt, r=smaug
--HG--
extra : rebase_source : c5615117716ca907d61b4b7c7eeff71e926821bd
2015-03-19 17:32:51 -07:00
Byron Campen [:bwc] 9fce2db2f1 Bug 1160280: Put ssrc attributes in recvonly m-sections. r=ekr
--HG--
extra : rebase_source : a3ebef685837b0d46ffbc9a922e54131f73ae902
2015-04-30 13:03:16 -07:00
Byron Campen [:bwc] 0e88735a95 Bug 1167274 - Do the right thing when accessing the proxyinfo fails for some reason. r=mt
--HG--
extra : transplant_source : B%08%22MrF%7F2%2C%F6%E47%EE%14%C5a%3FlI%84
2015-05-21 10:42:05 -07:00
Byron Campen [:bwc] d0e1de5361 Bug 818640 - Test that using dynamic payload types < 96 works. r=mt
--HG--
extra : transplant_source : %B0D%5D%EC%B2%3D%AC%A4%3B%0B%E1%7E%AC%10%96%AB%F9M%83%A1
2015-05-14 15:54:21 -07:00
Nathan Froyd 3e13ec018f Bug 1116905 - part 1 - remove dependence on implicit conversion from T* to TemporaryRef<T>, non-gfx changes; r=ehsan 2015-04-30 15:17:08 -04:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Ryan Nath 907168a1cb Bug 1142757 - Deallocate |inbuf| in the appropriate place to prevent memory leaks and close file streams of |inFile| and |outFile|. r=bwc
--HG--
extra : rebase_source : 117002bd9a156a6e88bad662513919ceba34d85c
2015-05-19 12:25:00 -04:00
Byron Campen [:bwc] 9a2385f3e8 Bug 1164575 - Log SDP in SetLocalDescription. r=mt
--HG--
extra : rebase_source : 0ee34962b137156d9abc7056193820d4954a0605
2015-05-13 11:25:35 -07:00
Carsten "Tomcat" Book 2597593ce1 Backed out changeset c163ecde3b7f (bug 1166183) for m3 - m4 and dt4 test bustage on a CLOSED TREE 2015-05-20 16:09:20 +02:00
Paul Adenot ea8fe53dae Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-19 10:26:47 +02:00
Carsten "Tomcat" Book f45b94e7c0 Backed out changeset de34ec0570a3 (bug 1103824) for bc3 test failures on a CLOSED TREE 2015-05-20 11:01:07 +02:00
Matthew Gregan 2022d9d511 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot 2015-05-20 13:22:38 +12:00
Mike Hommey 48bd7f52ac Bug 1165654 - Cleanup how libjpeg-turbo assembly build variables are set. r=mshal
Most notably, always set LIBJPEG_TURBO_AS if LIBJPEG_TURBO_ASFLAGS is set.
2015-05-20 09:44:33 +09:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
David Major dc759e14b2 Bug 1119072: Backed out ce3638e6a659 since it's no longer needed with VS2015RC. rs=cpearce
--HG--
extra : rebase_source : e9569023f28c44293c5dc68da7cceb88aea8b49f
2015-05-18 16:25:21 -04:00
Carsten "Tomcat" Book 1c4b6045f0 Backed out changeset 92c8a78a2c09 (bug 1166183) for perma timeouts in test_peerConnection_replaceTrack.html on a CLOSED TREE 2015-05-19 13:19:00 +02:00
Paul Adenot df001b202b Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-19 10:31:59 +02:00
Gervase Markham 809e5ded8b Bug 1076906 - Fix license headers for some WebRTC files, and provide LICENSE file. r=rjesup
--HG--
extra : rebase_source : 5a542989c21e0942c98b9eef5eaa1fccde59ca46
2015-05-18 08:24:00 +02:00
Matthew Gregan 1232fe7f4d Backed out changeset dd1417716d76 (bug 1103824) for Android issues. CLOSED TREE. 2015-05-19 17:08:18 +12:00
Matthew Gregan fdadda8555 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot 2015-05-14 18:33:23 +12:00
Birunthan Mohanathas 735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Gerald Squelart b724b82073 Bug 1163505 - PtrVector should disallow copies to prevent premature&double deletions - r=bwc
--HG--
extra : rebase_source : 5570d4f5f5cb25c791f327ff9e5b97777b04da9b
2015-05-17 16:19:00 +02:00
Byron Campen [:bwc] 17ed939ed8 Bug 1164197 - Fix bad logging statement in sdp_parse_attr_rtr. r=mt
--HG--
extra : transplant_source : %E4O%8C%D19%AAr%B4%80%A8%89%2C%D0%8Dk%17A%E8%0C%FD
2015-05-13 13:00:22 -07:00
Byron Campen [:bwc] 643ed33a07 Bug 1164582 - Report an error when the appdata portion of a webrtc msid is missing. r=mt
--HG--
extra : transplant_source : %85%F8H%F3%C1N6%BD%9E%BC%D3o%27%A3Z%FE%8A%1BL%17
2015-05-13 11:54:06 -07:00
Ryan VanderMeulen ac41674587 Backed out changeset 41f03ff16f47 (bug 1163505) for bustage. 2015-05-17 18:57:48 -04:00
Gerald Squelart dffe6345e3 Bug 1163505 - PtrVector should disallow copies to prevent premature&double deletions. r=bwc 2015-05-11 00:38:00 -04:00
Byron Campen [:bwc] f9f4736778 Bug 1155965 - Part 2: Verify that CreateOffer/Answer has been called when SetLocal is called. r=drno
--HG--
extra : transplant_source : %D4%EE%03Mx%8F%B0%F7%F9%5C%B8%0FDz%94%E4%AD%7D0%9C
2015-04-20 09:59:54 -05:00
Byron Campen [:bwc] e6cb58f6fa Bug 1155965 - Part 1: Test-cases. r=drno
--HG--
extra : transplant_source : %1B_6%01N%7BV%C9%C2%FDi%85%A5%B5%CF%C87%E08%F8
2015-05-13 13:54:14 -07:00