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

3087 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce fa0f746b0c Bug 1156131 - Use correct DLL on WinVista, 7, and 8 for WMF decoding in gmp-clearkey. r=edwin 2015-04-20 20:07:24 +12:00
Jean-Yves Avenard 0e46a78213 Bug 1154683: Fix potential size overflow. r=kentuckyfriedtakahe 2015-04-20 14:35:45 +10:00
Ralph Giles 9e2e27bfb6 Bug 1154972 - Don't remove upstream libvpx repo. r=kinetik
From df2e0cd12753c147a3bd59f300c507a8246bcd52 Mon Sep 17 00:00:00 2001
This speeds up incremental updates from upstream, or debugging
update script issues.

Note that this changes the behaviour of the update script without
the --commit argument. Previously that would do a fresh clone and
one would get the lastest upstream default branch. Now without a
specific --commit argument, it will re-use an existing checkout
if one is in tree, so take care to update the repo's HEAD to what
you want first.
2015-04-15 13:45:50 -07:00
Ralph Giles 74d8beefd7 Bug 1148639 - Disable unified build for libvpx. r=kinetik
From 79bdcf3f30dd70c3fe95fc6e5adb2f8961e640fd Mon Sep 17 00:00:00 2001
This fixes a build problem with the most recent import on msvc.
In general upstream doesn't support our method of concatenating
source files to speed up compilation. Rather than hand-maintaining
a list of exceptions and risking silent mis-compiles, it's better
just to compile every module individually.
2015-04-15 13:43:17 -07:00
Ralph Giles 177b274c46 Bug 1148639 - Update libvpx. r=kinetik
From b40321d9379faaa62fa16d6d412098fca115042d Mon Sep 17 00:00:00 2001
Result of running ./update.py --ndk ~/android/android-ndk-r9 --commit
afad1a84c15b9af8298a37c0fa449e0af40931fd
2015-03-27 14:56:04 -07:00
Ralph Giles c536fc79d4 Bug 1148639 - Update libvpx import script and patches. r=kinetik
From 3f94fd4fc68971f0dc2148aa19b4e146262d15af Mon Sep 17 00:00:00 2001
Matched against upstream commit afad1a84c1.
2015-03-27 14:38:35 -07:00
Ethan Hugg c15300721e Bug 1150609 Patch 3 - WebRTC enable tmmbr unittest changes. r=jesup 2015-04-06 11:57:27 -07:00
Ethan Hugg 2080d8e2fa Bug 1150609 Patch 2 - WebRTC enable tmmbr r=jesup 2015-04-08 22:17:08 -07:00
Ethan Hugg 9b5e6e9b9b Bug 1150609 Patch 1 WebRTC SDP - add tmmbr to offer. r=jesup 2015-04-02 10:36:14 -07:00
Paul Adenot af76d0abc7 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
EKR e4fc5c1d1c Bug 1151080: Rewrite NR_async_timer_set(0) to use direct dispatch. r=mt 2015-04-16 06:33:49 -07:00
Felix Janda 19a724ba1d Bug 1151202 - libstagefright: Fix compilation for systems without <sys/cdefs.h>. r=cpearce
--HG--
extra : rebase_source : 984a06e3228614fcd25561e15d54c5c3bda836e6
2015-02-05 22:26:24 +01:00
Jean-Yves Avenard 52a7a65989 Bug 1153094: Rename LargeDataBuffer and DataBuffer object. r=cpearce
This causes conflicts with webRTC libraries that use those names already. The
linker appears to get it wrong and calls the destructor of the wrong class.

--HG--
extra : rebase_source : 809221de3e5bde540bd40406f061f3865e4c4f00
2015-04-15 15:27:38 +10:00
Matthew Gregan 63eaf4e78b Bug 1144199 - Require multiple consecutive timeouts to accumulate before triggering timeout error handling in libcubeb's WASAPI backend; this avoids spurious timeout errors triggered by system sleep/wake cycles. r=padenot 2015-04-11 13:24:52 +12:00
Jean-Yves Avenard 4623f4873e Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Jean-Yves Avenard 378df808cf Bug 1153049: Part3. Using AudioInfo/VideoInfo object. r=cpearce
This remove all remaining references to stagefright/MP4 specific objects.

--HG--
extra : rebase_source : 0f34f7851c0f22532dffb88c32ac83ebb962a7cc
2015-04-14 15:16:32 +10:00
Jean-Yves Avenard ea02e1a1f5 Bug 1152658: Use MediaRawDataWriter to access MediaRawData::mCrypto. r=cpearce
--HG--
extra : rebase_source : 20332ef7e99c0183d219c0b1b739aae24f35d907
2015-04-14 15:15:46 +10:00
Brian Smith 8110c760aa Bug 1122900: Make libyuv compile with MSVC 2015, r=rjesup.
MSVC 2015 CTP 6 refuses to compile the code with these, and MSVC
already aligns functions at 16 byte boundaries in its normal
configuration.

--HG--
extra : rebase_source : a8efaedcae38677ef286ed423450ad70e020ab32
2015-03-31 08:34:30 -10:00
Chris Pearce c7b1e2eadc Bug 1143278 - Support IYUV and I420 in gmp-clearkey on Windows, as Win 7 Enterprise N's H.264 decoder doesn't output I420. r=edwin 2015-04-13 13:39:56 +12:00
Chris Pearce 4ffa422c6e Bug 1143278 - Use a different CLSID to instantiate the H264 decoder MFT in gmp-clearkey, as Win 7 Enterprise N requires that. r=edwin 2015-04-13 13:39:53 +12:00
Chris Pearce bdd3e51ab8 Bug 1143278 - Add more null checks in gmp-clearkey's decoders. r=edwin 2015-04-13 13:39:49 +12:00
Chris Pearce e61fe5c00d Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-04-13 13:39:46 +12:00
Chris Double 9f5a6dea5a Bug 1148203 - Fix build errors with combinations of enable/disable of ffmp4/ffmpeg/eme - r=cpearce,ted
Fixes build error with  all three disabled. Prevents other combinations
that cause build errors by detecting them at configure time and displaying
an error message.
2015-04-13 11:07:14 +12:00
Jean-Yves Avenard 1a95012eb4 Bug 1153097: Use 32 bits int to compare frequencies. r=rillian
Also potentially fix out of bound memory access.
2015-04-12 18:22:07 +10:00
Landry Breuil 4acbe13c9a Bug 911450: sndio webrtc audio backend, build integration bits r=jesup 2015-04-10 21:36:54 +02:00
Jan-Ivar Bruaroey 6a0efb770a Bug 1153056 - Fix about:webrtc to not blank on zero allocated PeerConnections. r=jesup 2015-04-10 08:40:17 -04:00
Ryan VanderMeulen 23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Randall Barker 3263a9649b Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup
--HG--
extra : rebase_source : 97215946f8152cc8df425449b7052b0b365ab0e9
2015-04-09 09:15:00 -04:00
Dragana Damjanovic 9441d5b1f1 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Juan Gomez 74d291470d Bug 1087161 - Upgrading B2G toolchain to gcc-4.9
* Fixed some -Werror=format issues by making function-style castings

--HG--
extra : rebase_source : e9677c42819a8e95008bb3e97b97b47eff915021
2015-04-09 18:13:39 +02:00
Jean-Yves Avenard aa270b640c Bug 1152652: Part1. Use mStandardMozillaStyle for crypto classes. r=edwin 2015-04-09 21:14:56 +10:00
Jean-Yves Avenard e6858f0af5 Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce. 2015-04-09 21:14:55 +10:00
Jean-Yves Avenard a441d92aa3 Bug 1150853: Part1. Create MediaRawData object type. r=cpearce
This object extends MediaData and will be used to contain demuxed compressed
data.
2015-04-09 21:14:55 +10:00
Brian O'Keefe 9a791e9e69 Bug 852814 - Move the last remaining EXTRA_DSO_LDOPTS to moz.build. r=gps
--HG--
extra : rebase_source : d842c4a5805ad2180ff2d0110d95be40daf28a59
2015-03-30 10:32:10 -04:00
Felix Janda b63df9d2bd Bug 1130709: Make __BEGIN_DECLS and __END_DECLS explicit r=bwc
--HG--
extra : rebase_source : 121e13410be1f60a135227f9f60ad98b7c7d62d4
2015-02-07 11:18:52 +01:00
Byron Campen [:bwc] 455ab40d32 Bug 1151139: Simplify how we choose which streams to gather stats from. r=mt
--HG--
extra : rebase_source : 2430615575dcfcc2a4d3aa31b12e54f0f356bfe8
2015-04-03 17:27:57 -07:00
Byron Campen [:bwc] da2ef8fa74 Bug 1150966: Check whether |streams_| is null on stats methods in NrIceMediaStream. r=drno
--HG--
extra : rebase_source : 38f61e496d3b2ad7d7a0c72e141490deaa04b538
extra : source : ab93f4716296c85ce4953ee87be1bfa728a7cbb9
2015-04-03 11:13:44 -07:00
Jean-Yves Avenard dfb7ffd7e5 Bug 1147744: Part2. Properly calculate cropping value. r=k17e
If chroma_format_idc isn't defined, chroma_format_idc shall be inferred to be
equal to 1 (4:2:0 chroma format).
Also, ignore nonsensical cropping values as per spec.
2015-04-08 14:26:38 +10:00
Jean-Yves Avenard cb95c32927 Bug 1147744: Part1. Round down display size. r=k17e 2015-04-08 14:26:35 +10:00
Randell Jesup bab336bd5b Bug 1152016: suppress fprintf(stderr)'s from jpeg in MJPEG decode r=pkerr 2015-04-07 22:55:48 -04:00
Randell Jesup 08cbc9d8e1 Bug 1151628: re-enable MJPEG in libyuv (especially for getUserMedia) r=glandium 2015-04-07 08:54:20 -04:00
Glenn Randers-Pehrson f7c2380ce0 Bug 1147909 - Part 1 - (libpng) Update embedded libpng to version 1.6.17. r=jmuizelaar
--HG--
extra : rebase_source : 84db9860c2d53302de2298aa650050711fe3b4dc
2015-03-30 21:23:00 +02:00
Jean-Yves Avenard d7cb635d09 Bug 1151378: Part3. Fix constness and remove use of reference to refcounted ptr. r=k17e 2015-04-07 20:33:18 +10:00
Jean-Yves Avenard 1d47a88bf2 Bug 1151378: Part2. Remove libstagefright depencies from Crypto config. r=edwin 2015-04-07 20:33:18 +10:00
Jean-Yves Avenard f17c6eb49e Bug 1151378: Part1. Remove of now unused code path. r=k17e
libstagefright is now only used to read the metadata.
2015-04-07 20:33:18 +10:00
Jean-Yves Avenard c74f6b186a Bug 1145926: Part1. Refactor AVCC wrapper. r=cpearce
Add support for future handling of audio remuxing before conversion.
2015-04-07 20:33:17 +10:00
Jean-Yves Avenard 37d978104c Bug 1151360: Allow playback of extended AAC profile audio track. r=k17e 2015-04-07 20:33:17 +10:00
Jean-Yves Avenard 7a51dcf194 Bug 1149278: Limit box reads to resource length. r=k17e
Also, add a safeguard where we will never attempt to read a mp4 box over 32MiB
2015-04-07 20:33:16 +10:00
Chris Pearce 1fa249bfb8 Bug 1150437 - Make gmp-clearkey consistently Apache2 licensed. r=edwin,jwwang,kentuckyfriedtakahe 2015-04-03 09:08:27 +13:00
Byron Campen [:bwc] a892b4a703 Bug 1149838: Do not suppress onnegotiationneeded before the first offer/answer. r=mt
--HG--
extra : rebase_source : 488491dfe91fd7cd179dc898d9d7733e49d9368f
2015-04-01 08:51:32 -07:00
David Major 3fe1b09e45 Bug 1137614: Align the mvsadcost array to work around a possible compiler issue. r=rillian
--HG--
extra : rebase_source : 4b2b582099cd04c8d4913a34d090801c3880905a
2015-04-07 04:32:46 +12:00
Martin Thomson bc958b8830 Bug 996238 - ALPN support for WebRTC. r=ekr
--HG--
extra : transplant_source : %8A2%AA%AA%A2G%5C%FF%F6%B8%9C%AA%EDI%D9%CE%0Cs%C7%C7
2015-04-01 11:21:06 -07:00
Martin Thomson 9521b41410 Bug 996238 - Reformat gtest_utils.h. r=ekr
--HG--
extra : transplant_source : %60%1EVr%11%DB%8FaI%0A%F7%89%89%E6%BD%5B%84%A4%C6%99
2015-04-01 11:21:06 -07:00
Brian Smith 0c89cfc24d Bug 1150357: Remove libstagefright's stdbool.h to fix MSVC 2015 CTP 6 build, r=cpearce
MSVC 2013 and later already provide a real stdbool.h. libstagefright's
stdbool.h breaks the build in MSVC 2015 CTP 6 because MSVC 2015's internal
headers #include <stdbool.h> expecting it to be the real thing.

--HG--
extra : rebase_source : a7cd3deef2aa3b0f890a4ca3180831b1fb0dfaf4
2015-04-01 18:49:24 -10:00
Sotaro Ikeda 806c406d91 Bug 1143694 - Care about gralloc YV12 stride r=jesup 2015-04-02 09:28:11 -07:00
Peter Van der Beken 83b03d9a6f Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup.
--HG--
extra : rebase_source : 7010b6a0d5f3efc1ee749f836a37905f250d7cc6
2015-02-10 11:48:29 +01:00
Matthew Gregan d3ddab98fb Bug 1134977 - Release IAudioStreamVolume when closing WASAPI stream. Refixes bug 1109802. r=padenot 2015-04-02 10:08:07 +13:00
Carsten "Tomcat" Book edb10212b3 Backed out changeset 3fce22efb76e (bug 996238) for suspicion of causing Linux CPP Test Bustage on a CLOSED TREE 2015-04-01 16:14:59 +02:00
Carsten "Tomcat" Book 01ab4b3b16 Backed out changeset 9ee10cfc0489 (bug 996238) 2015-04-01 16:14:10 +02:00
Martin Thomson bf9ce7cb44 Bug 996238 - ALPN support for WebRTC. r=ekr
--HG--
extra : transplant_source : %FE%FEZ%EBAA%0A73%28%AAO%2C%E1%E7%CF%A4%BC%5EB
2015-03-31 16:01:52 -07:00
Martin Thomson 5eb8a74765 Bug 996238 - Reformat gtest_utils.h. r=ekr
--HG--
extra : transplant_source : %D5G%1D%2BK%D3%24%01%A6%92%A5%E6q%9A%88%F5%CA98%D9
2015-03-31 16:01:51 -07:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Byron Campen [:bwc] f195a6006a Bug 1149298 - Part 3: Fire end of candidates signal when StartGathering has nothing to do, and only call StartGathering once per offer/answer. r=drno
--HG--
extra : rebase_source : bad9c9e8b4d83225c2cdfaa807fd034f0b70e4c8
2015-03-30 16:32:51 -07:00
Byron Campen [:bwc] f940cd6f59 Bug 1149298 - Part 2: When destroying a candidate, ensure that the ice_ctx doesn't continue waiting for it to init. r=drno
--HG--
extra : rebase_source : a6b549f6f6bb133af4d39a4c8870b4eedab65c8a
2015-03-30 15:22:28 -07:00
Byron Campen [:bwc] 3ff500ee41 Bug 1149298 - Part 1: Test cases. r=drno
--HG--
extra : rebase_source : a29be5c74c4bddfe672159b0de12a61e8540b9df
2015-03-30 15:46:49 -07:00
EKR c73f1f40f5 Bug 1149240 - Write unit test for no digests. r=mt
--HG--
extra : rebase_source : 1ac334948a5c9499c1055370ad9d8ec5b7ec4432
2015-03-30 11:09:59 -07:00
Nils Ohlmeier [:drno] 45829fba5b Bug 1148572: improve H264 renegotiation handling. r=jesup 2015-03-30 20:48:28 -07:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Byron Campen [:bwc] 1980f2402d Bug 1146529 - Part 2: Rework part 1 to not rely on std::vector<UniquePtr>, since that is not supported by our buildconfig yet. r=jesup
--HG--
extra : rebase_source : 14fa34f5ef6c3903393aea476aac90d71e7f4991
2015-03-27 15:16:23 -07:00
Byron Campen [:bwc] 619037dc2c Bug 1146529 - Part 1: Allow codecs to be "strongly preferred", and set this bit on H264 hardware codecs. r=jesup
--HG--
extra : rebase_source : 91215aff24d46112eca1f38c22d693c67e74e752
2015-03-25 14:55:58 -07:00
Randell Jesup 17af11b276 Bug 1147857: followup patch to continue BuildStats cleanup r=jib 2015-03-28 21:45:42 -04:00
Byron Campen [:bwc] 7815340c0a Bug 1147919 - Part 2: Lowercase fingerprint alg before comparing. r=drno
--HG--
extra : rebase_source : 705510958ffa4703d06d7f86e3120602cf71ddc9
2015-03-27 13:26:16 -07:00
Byron Campen [:bwc] 90856f0abb Bug 1147919 - Part 1: Make sure content gets an error callback when it does not use a fingerprint algorithm we support. r=drno
--HG--
extra : rebase_source : c0898ebcd15f5c694fdf09c85f8288976a721046
2015-03-26 10:39:07 -07:00
Byron Campen [:bwc] c24085b44b Bug 1146462: Close ICE transports when m-sections are disabled. r=drno
--HG--
extra : rebase_source : eee309eccf681f2ef606fb1e78ab6c04f59befd0
2015-03-23 16:56:08 -07:00
Byron Campen [:bwc] f67ba290dd Bug 1148004: Test case for media-level fingerprint attribute, as well as session-level fallback. r=jesup
--HG--
extra : rebase_source : a8c6bfaf41ae2608fc739216bc24a4c642bee8b5
2015-03-26 10:59:18 -07:00
Randell Jesup d8c68a04b7 Bug 1147857: be careful about WebRTC stats query creation r=jib 2015-03-27 15:52:56 -04:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Byron Campen [:bwc] fbe7de3c74 Bug 1147400: Do not check mid in answer if not present. r=drno
--HG--
extra : rebase_source : f48afdbd058da77b204ddb03270c856ed753cdb3
extra : amend_source : 2cf2fbf3c62ebf6ad070cb25933e20c6f5fdf8db
2015-03-25 09:18:59 -07:00
Edwin Flores d888a5c88f Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores 46cbfd3c6b Bug 1147689 - Pass the session ID(s) of an encrypted frame into EME CDMs - r=cpearce 2015-03-26 22:57:36 +13:00
Jean-Yves Avenard b5404f62e0 Bug 1145815: Do not report discontinuities less than 35ms. r=k17e
--HG--
extra : rebase_source : eb8fa50d7036ceae23756e10d0ad815605aae3f8
2015-03-25 22:32:21 +11:00
Matt Woodrow 500d1b3448 Bug 1145037 - Remove invalid assertion in MoofParser. r=ajones
--HG--
extra : rebase_source : 9a2b2b0f588fd9a7730e050306417b64725a2e94
2015-03-26 12:57:58 +13:00
Ethan Hugg 76ac0daed4 Bug 1144912 - WebRTC Screenshare has own default FPS r=jib 2015-03-23 19:17:07 -07:00
Martin Storsjö 5b69c33e9b Bug 1143491: Parse all trun boxes in MP4 fragments, not only the first one. r=jya 2015-03-23 11:39:27 +02:00
Jean-Yves Avenard 04753af547 Bug 1146222: use nsAutoCString to store mimetype string. r=karlt
We use a nsAutoCString as the mimetype is typically less than 64 characters
and prevent a heap allocation (and the unecessary fragmentation linked to it)
2015-03-24 14:45:17 +11:00
Paul Kerr [:pkerr] c929586054 Bug 1100508: Easily capture about:webrtc page data for a bug reports. r=jib, r=mikedeboer 2015-03-23 12:37:30 -07:00
Byron Campen [:bwc] 2cfb5c47e3 Bug 1144962 - Part 3: Remove more unused code, and some outdated comments. r=mt
--HG--
extra : rebase_source : 7d94440be9ec7a36a80a824813642bcd3dc9b2c2
2015-03-19 14:05:44 -07:00
Byron Campen [:bwc] 5a1643f581 Bug 1144962 - Part 2: Remove some wrapper code in sipcc r=mt
--HG--
extra : rebase_source : a01a74c2939abf0f8e01c4e24692ab31077fbdb4
2015-03-18 16:19:26 -07:00
Byron Campen [:bwc] a6fc4b3ed2 Bug 1144962 - Part 1: Delete most setters in sipcc. r=mt
--HG--
extra : rebase_source : e88c3a864960b7645932e44956c339725c23acfd
2015-03-17 16:28:06 -07:00
Byron Campen [:bwc] 5b9dd54ac4 Bug 1141779: Fix H264 negotiation when level-asymmetry-allowed is not specified, and some cleanup. r=jesup
--HG--
extra : rebase_source : f0322abc1a8c7660c10bd66749590c4e5dcab325
2015-03-10 17:35:50 -07:00
Ehsan Akhgari b8c700cc25 Bug 1146204 - Build libopus in unified mode; r=cpearce 2015-03-23 02:31:41 -04:00
Edwin Flores f99988363e Bug 1145405 - Add shutdown checks to main thread dispatches in ClearKey CDM - r=cpearce 2015-03-23 07:59:42 +13:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Byron Campen [:bwc] bdab9279f3 Bug 1144933: Only check that remote candidate is loopback in TestLoopbackOnlySortOf. r=drno
--HG--
extra : rebase_source : 5aa4a534b2b3462b3a752b331db2e94bca877e0d
2015-03-18 16:34:50 -07:00
Byron Campen [:bwc] 8bde4d5178 Bug 1144432 - Part 4: Unbust signaling_unittests r=mt
--HG--
extra : rebase_source : d03fdc5a26734dac9e2d1750ba8a00652144fce0
2015-03-18 14:56:19 -07:00
Byron Campen [:bwc] 81caf6fcbe Bug 1144432 - Part 3: Disable unused m-sections in answer, and fix a null ptr bug. r=mt
--HG--
extra : rebase_source : bc560785fe24f6a3f5ee973880fc9989f1b1bc20
2015-03-18 14:55:36 -07:00
Byron Campen [:bwc] e3708a8bd3 Bug 1144432 - Part 2: Allow mid to change in renegotiation, check that mid doesn't change in answer, and disable some checking when the m-section was previously disabled. r=mt
--HG--
extra : rebase_source : d30168d73f9a911aa31773a3ccf3383739125a92
2015-03-18 14:52:24 -07:00
Byron Campen [:bwc] e714980d71 Bug 1144432 - Part 1: Test-case r=mt
--HG--
extra : rebase_source : beb69a21893be09452b6a207f525f618bc9a4f37
2015-03-17 17:23:20 -07:00
Jean-Yves Avenard c6184f39cb Bug 1145517: Part2. Follow exactly ITU H.264 7.3.1. r=cpearce
We wouldn't have properly handled sequence of more than two zeros and 0x03.
2015-03-20 19:44:39 +11:00
Jean-Yves Avenard 8dc876b17b Bug 1145517: Properly skip the NAL's emulation prevention byte. r=cpearce
Fix typo.
If a sequence of 0x000003 is found, the 0x03 byte is to be skipped.
2015-03-20 18:39:11 +11:00
Matthew Gregan e0c1488a4c Bug 1143968 - Allow a cubeb_stream in error to be stopped without triggering a fatal assert. r=padenot 2015-03-18 15:23:19 +13:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Boris Zbarsky d0ebde3bb7 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Alexandre Ratchov 22ad88b8fa Bug 1144087 - "Audio glitches on OpenBSD caused by rounding errors." r=kinetik 2015-03-18 12:19:00 +01:00
Byron Campen [:bwc] d799e4b5c3 Bug 1141749: Prevent collisions in local SSRCs. r=mt
--HG--
extra : rebase_source : f28488aa956b8eb33a6b812e1f88ec9623132f93
2015-03-10 13:54:34 -07:00
Byron Campen [:bwc] 320d5f8bf7 Bug 1097142: Remove sdp_copy_attr_fields and some other unused functions. r=mt
--HG--
extra : rebase_source : 363f4c9f0d13bd890fdffd6fa83f0cf79d29b93a
2015-03-17 15:48:29 -07:00
Jean-Yves Avenard 8749413e81 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e
--HG--
extra : rebase_source : 8d02111faf03bdbcd854ee4c0118919bc18253af
2015-03-18 14:10:57 +11:00
Christoph Kerschbaumer 8998afc8f6 Bug 1144263 - Update remaining calles of newChannel to newChannel2 in media/webrtc (r=byron) 2015-03-17 14:20:14 -07:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Daniel Holbert 3b00e54dbd Bug 1143823 part 3: Make PeerConnectionMedia::PerformOrEnqueueIceCtxOperation() take a raw pointer instead of a nsRefPtr. r=bwc 2015-03-17 09:29:17 -07:00
Daniel Holbert fca4e2056d Bug 1143823 part 2: Make PeerConnectionCtx::queueJSEPOperation take a raw pointer instead of a nsRefPtr. r=bwc 2015-03-17 09:29:17 -07:00
Jean-Yves Avenard c93f86dbea Bug 1100210: Mark MPEG2 Layer 1,2,3 audio as MP3. r=k17e
Extract data from ESDS atom's objectTypeIndication
2015-03-17 16:42:47 +11:00
Jean-Yves Avenard ddd2384f4e Bug 1143516: Ignore SPS's aspect ratio if value is nonsensical. r=cpearce 2015-03-17 16:42:02 +11:00
Matthew Gregan 7395e6dd6c Bug 1142746 - Make unexpected SL_PLAYEVENT_HEADATMARKER notification non-fatal. r=brsun 2015-03-17 13:30:40 +13:00
Ryan VanderMeulen 0f541272f0 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes.
--HG--
extra : rebase_source : 26d25e99c5b375f4e7a440638f897c9ae3b10e94
2015-03-16 15:04:51 -04:00
Paul Adenot 10f63e4d13 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Paul Adenot e95766a93b Bug 1141781 - Grip the VideoFrameContainer when queing a call to invalidate in the MediaStreamGraph. r=roc 2015-03-16 18:12:36 +01:00
Karina Li 60b4c34dcf Bug 1143556 - Set screen sharing mode or video mode for GMP plugin r=jesup 2015-03-16 14:27:28 +08:00
Jean-Yves Avenard e939a4d7a8 Bug 1139271: Part3. Only consider a Box to be available if entire content is available. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard 306c482476 Bug 1139271: Part2. Ignore partial moof. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard f907f6cb3d Bug 1139271: Part1. Add logging when encountering invalid atoms. r=k17e 2015-03-16 23:08:55 +11:00
Bobby Holley ca9369a50d Bug 1141785 - Force all audio samples to be keyframes. r=k17e 2015-03-15 21:29:55 -07:00
Chris Peterson df594b2b0d Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Phil Ringnalda 571ce099b4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Chris Pearce 151f899496 Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13:00
Byron Campen [:bwc] f06b0305e8 Bug 1141652: Simplify RTCP bundle filtering to only filter for receive pipelines, based only on the SR SSRC. r=jesup
--HG--
extra : rebase_source : fa0f2603cd8ffd72a79ef4185b830664e82293ba
2015-03-12 09:08:13 -07:00
Byron Campen [:bwc] ab30f80690 Bug 1136252 - Part 6: Extend timeouts for RTP/RTCP, until bug 1137948 can be fixed. r=mt
--HG--
extra : rebase_source : 1711785774baef8a91b5a0df13e21576887645c8
2015-03-06 15:16:39 -08:00
Byron Campen [:bwc] c9db00156b Bug 1136252 - Part 5: Fix bug where candidates could be trickled before setRemote during renegotiation. r=mt
--HG--
extra : rebase_source : 45e085c338afc7670e9ea9f73c60291f0965cfa1
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] b60b6ef28e Bug 1136252 - Part 4: Remove/consolidate code in signaling_unittests. Includes removing most SDP checks, since that belongs in jsep_session_unittest. r=mt
--HG--
extra : rebase_source : 404cadd9d484a1665bbf269950d32de6b49931f3
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] e76afb6880 Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt
--HG--
extra : rebase_source : 6b8520268248eace23bd046b5a353f2f35401fd4
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] 55e37fd806 Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt
--HG--
extra : rebase_source : 3925bbf3893e01f2b464eb2aa8dab9f9619a0943
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] dbbe9296e9 Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt
--HG--
extra : rebase_source : cae8bff0a69665eaf2f5532293e8fa25d2178e23
2015-03-06 15:16:38 -08:00
Nils Ohlmeier [:drno] 88fadaa33d Bug 1136051 - component_insert_pair statrs checks only while we are still checking or haven't started pairing; r=bwc 2015-03-13 13:01:28 +01:00
Phil Ringnalda 47752f8090 Back out 1ee5457afe8c (bug 1142433) for frequent w-p-t-3 failures
CLOSED TREE
2015-03-12 20:28:14 -07:00
Jean-Yves Avenard e08bc83ae4 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e
--HG--
extra : rebase_source : c6e68f8c0510a4449f77cebbbfcc39ae4fbd24c3
2015-03-13 09:42:28 +11:00
Karina Li 635891f77c Bug 1138320 - Set screensharing mode or video mode for WebRTC video sources r=jesup 2015-03-12 14:14:29 +08:00
Jean-Yves Avenard adf3e336a3 Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.

--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard 06ae6e08e7 Bug 1128381: Part2. Properly extract extradata from AVC1 sample. r=rillian
--HG--
extra : rebase_source : a67173bfcc4184211ab0b90e3b7634b1730288d5
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard b54607fb46 Bug 1128381: Part1. Don't assert on empty extra_data. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : abb00650dc676d413d761f45085241df6a6cdd81
2015-03-12 11:07:19 +11:00
Sotaro Ikeda ccf07f5419 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey d132e36539 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Byron Campen [:bwc] 6fb59a4364 Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Ryan VanderMeulen d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Sotaro Ikeda 80cec56356 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Byron Campen [:bwc] d8c62b90a3 Bug 1140635: Remove |magic_num| fields from sipcc.
--HG--
extra : rebase_source : 33058033dedf71951bc4d8f435425c18ec875565
2015-03-06 15:58:53 -08:00
Byron Campen [:bwc] 662eee2c7e Bug 1140089: Call SetPullEnabled on all streams in PCMedia when offer/answer concludes. r=jesup
--HG--
extra : rebase_source : 4fce2dc54b67a04b3d9836bfc05baeb000257f8b
2015-03-06 14:37:11 -08:00
Wes Kocher d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann 9823b29ee9 Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Chris Pearce 0dc4e2d797 Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 19:46:20 +13:00