Commit Graph

3491 Commits

Author SHA1 Message Date
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
Felix Janda
b019cb9ceb Bug 1152185 - Include port/generic/include also for mtransport/test and webrtc/signaling/test. r=ekr 2015-04-16 23:03:11 +02:00
Byron Campen [:bwc]
605cc781a8 Bug 1096795 - Put a=rtcp in SDP when gathering ends. r=mt
--HG--
extra : transplant_source : %1D%A4%CD6S%E6%87G%D7%E9%05%3D%C1%23%1A%E5%D5_%17C
2015-05-08 15:52:41 -07:00
Ethan Hugg
a5589141de Bug 1164061 - Backout signaling unittest changes for tmmbr r=jesup 2015-05-12 09:15:00 -07:00
Ethan Hugg
9b0603bad4 Bug 1164061 - WebRTC - move TMMBR behind pref r=jesup 2015-05-12 08:33:48 -07:00
Ehsan Akhgari
187795741d Bug 1157057 - Rewrite the handling of the nsITimer object in nrappkitTimerCallback; r=ekr
This patch makes the code use smart pointers more for dealing with
the nsITimer object, and it also avoid an unneeded AddRef and
Release pair.
2015-05-15 08:39:54 -04:00
James Willcox
601efb29fe No bug, fix WebrtcMediaCodecVP8VideoCodec.cpp warnings 2015-05-14 14:52:09 -05:00
Eric Rahm
c2e607291d Bug 1164622 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=ekr
Avoid using a stringstream if the given log level is not enabled.
2015-05-14 10:13:24 -07:00
Eric Rahm
4d6eca8317 Bug 1164622 - Part 1: Remove instances of #ifdef PR_LOGGING in media. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Paul Kerr [:pkerr]
f47bc20645 Bug 1163859: Only update webrtc.debug prefs from gecko thread. r=rjesup 2015-05-13 21:08:30 -07:00
Eugen Sawin
04d593a1be Bug 1093815 - Remove ambiguous typedefs. r=kinetik
---
 media/libstagefright/binding/include/demuxer/TrackDemuxer.h    | 4 ++--
 media/libstagefright/binding/include/mp4_demuxer/DecoderData.h | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
2015-05-13 15:15:43 +02:00
Eugen Sawin
8597d299a4 Bug 1093815 - Add MP3 track demuxer. r=kinetik
---
 media/libstagefright/binding/MP3TrackDemuxer.cpp   | 755 +++++++++++++++++++++
 .../binding/include/mp4_demuxer/MP3TrackDemuxer.h  | 380 +++++++++++
 media/libstagefright/moz.build                     |   2 +
 3 files changed, 1137 insertions(+)
 create mode 100644 media/libstagefright/binding/MP3TrackDemuxer.cpp
 create mode 100644 media/libstagefright/binding/include/mp4_demuxer/MP3TrackDemuxer.h
2015-05-13 15:15:36 +02:00
Lee Salzman
4476c73a98 Bug 1159273 - Allow loading of tree cairo and system cairo at the same time. r=glandium 2015-05-13 12:04:03 +09:00
Nils Ohlmeier [:drno]
772e7d8a3f Bug 1087551: updated tests around addIceCandidate(). r=jib
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_addCandidateInHaveLocalOffer.html => dom/media/tests/mochitest/test_peerConnection_addIceCandidate.html
2015-05-12 00:05:24 -07:00
Landry Breuil
d3f772dac3 Bug 911450 - fix webrtc signaling tests build on OpenBSD. r=jesup r=rbarker r=glandium 2015-05-07 04:35:00 +02:00
Mike Hommey
fe90037862 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Mike Hommey
7c306bdc19 Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
Jean-Yves Avenard
0afcf75167 Bug 1159027: Part4. Include ftyp box when parsing init segment. r=kentuckyfriedtakahe 2015-05-11 20:57:37 +10:00
Jean-Yves Avenard
5ad333f5a3 Bug 1159027: Part2. Extend BufferStream to work with external buffer array. r=kentuckyfriedtakahe
Also make BufferStream::AppendBytes fallible
2015-05-11 20:54:59 +10:00
Jean-Yves Avenard
9c019c30fe Bug 1159027: Part1. Add MP4Metadata method to retrieve init segment byte range. r=cpearce 2015-05-11 20:54:54 +10:00
Benjamin Chen
ddc5295649 Bug 1104643 - Interpolate the audio clock by system clock if the qudio clock is not going forward. r=padenot
--HG--
extra : rebase_source : 819aaab5e8fe182399aaab31ad457819b206df8f
2015-05-05 16:00:14 +08:00
Matthew Gregan
a0d66e7bbc Bug 1161718 - Distinguish unknown track types from errors in libnestegg. r=rillian 2015-05-11 14:25:33 +12:00
Sebastian Hengst
cf952cc343 Backed out changeset 899c470e0275 (bug 1087551) for build bustage. r=bustage fix for CLOSED TREE 2015-05-09 10:34:24 +02:00
Nils Ohlmeier [:drno]
e175791a4b Bug 1087551: updated tests around addIceCandidate(). r=jib 2015-05-09 00:26:30 -07:00
Nils Ohlmeier [:drno]
f12185dda1 Bug 1131779: 403 on permission request no longer invalidates the whole TURN relay. r=bwc 2015-05-08 11:59:52 -07:00
Randell Jesup
b8c6846e13 Bug 1162251: Fix WebRTC jitter buffer ignoring partial frames if the packet holds a complete NAL r=ehugg a=prep for uplift (kwierso) 2015-05-07 20:05:20 -04:00
Paul Adenot
aa50589ab8 Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
Paul Adenot
2889bc140a Bug 926838 - [Part 5] Re-import Google's modifications. r=gerv 2015-05-04 17:19:03 +02:00
JW Wang
4b9241c11c Bug 926838 - [Part 3] Fix GCC compiler errors, text relocation and build errors on emulators. r=ehsan 2013-11-13 11:07:29 +08:00
JW Wang
d1d0330fc4 Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08:00
JW Wang
6c2a2d1f4e Bug 926838 - [Part 1] Add new files, and update license file. r=gerv,ehsan 2013-11-13 11:07:24 +08:00
Paul Kerr [:pkerr]
0fadb86c8f Bug 1161619: RunStatsQuery leak fix. r=jib 2015-05-06 13:01:59 -07:00
Byron Campen [:bwc]
a4c8fd6bef Bug 1161719: Fix bounds check in FilterSenderReport r=jesup
--HG--
extra : rebase_source : 80ae757a52db6e67f9fd8480b8f97e43c6f85db1
2015-05-05 15:10:25 -07:00
Byron Campen [:bwc]
930b423cd0 Bug 1161136: Ensure that mid is copied over before we disable answer m-sections. r=jesup
--HG--
extra : rebase_source : 71b259b55c8eee4e035d4bfc8ce9500e30ef07b3
2015-05-04 12:02:35 -07:00
Paul Kerr [:pkerr]
4aa9352d7d Bug 1159320: disable-webrtc builds fail after bug 1100502 applied. r=rjesup
--HG--
rename : media/webrtc/signaling/src/peerconnection/PWebrtcGlobal.ipdl => dom/media/webrtc/PWebrtcGlobal.ipdl
rename : media/webrtc/signaling/src/peerconnection/WebrtcGlobal.h => dom/media/webrtc/WebrtcGlobal.h
2015-05-06 09:29:33 -07:00
Chris Pearce
82d33ace6a Bug 1160914 - Use locks for gmp-clearkey threadsafe refcounting when std::atomic is not easily available. r=edwin 2015-05-06 11:40:42 +12:00
Chris Pearce
05f051d1ba Bug 1160914 - Make gmp-clearkey's decoders threadsafe refcounted, to handle DecodingComplete while GMPVideoHost::CreateFrame() is waiting. r=edwin 2015-05-06 11:40:40 +12:00
Carsten "Tomcat" Book
cd411ff6db Backed out changeset abc86341cd75 (bug 926838) for m3 test failures on a CLOSED TREE 2015-05-05 15:52:11 +02:00
Carsten "Tomcat" Book
7d3e843311 Backed out changeset 2456dfeb5f9c (bug 926838) 2015-05-05 15:51:38 +02:00
Carsten "Tomcat" Book
054b93ba40 Backed out changeset 041ed2e08168 (bug 926838) 2015-05-05 15:51:33 +02:00
Carsten "Tomcat" Book
4719e01a6e Backed out changeset 1ada6df926ba (bug 926838) 2015-05-05 15:51:22 +02:00
Carsten "Tomcat" Book
db887fe217 Backed out changeset 5b6ef91bfe01 (bug 926838) 2015-05-05 15:51:16 +02:00
Paul Adenot
18d2184244 Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
Paul Adenot
8fc50808d3 Bug 926838 - [Part 5] Re-import Google's modifications. r=gerv 2015-05-04 17:19:03 +02:00
JW Wang
075c139090 Bug 926838 - [Part 3] Fix GCC compiler errors, text relocation and build errors on emulators. r=ehsan 2013-11-13 11:07:29 +08:00
JW Wang
8e38326b48 Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08:00
JW Wang
6ec61a7bec Bug 926838 - [Part 1] Add new files, and update license file. r=gerv,ehsan 2013-11-13 11:07:24 +08:00
Byron Campen [:bwc]
e9be5ee0b5 Bug 1161317: Fix bug where sendonly video RTCP would be treated as outgoing RTP r=jesup 2015-05-05 02:51:18 -04:00
Wes Kocher
b7143cd0e7 Backed out changeset ddb936f4e78a (bug 1160914) for build bustage CLOSED TREE 2015-05-04 16:32:41 -07:00
Chris Pearce
b62f7d16fb Bug 1160914 - Make gmp-clearkey's decoders threadsafe refcounted, to handle DecodingComplete while GMPVideoHost::CreateFrame() is waiting. r=edwin 2015-05-05 11:21:55 +12:00
Mike Conley
97a46ed1e0 Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap
--HG--
extra : rebase_source : ef8893d470e437d93a44b393f595518acb411852
extra : source : ad87e781794d5bb5337feb6e2608730075a7f71e
extra : histedit_source : 91cbbdedc9273982d0eb6b3c58269c73e0f46f63
2015-05-04 15:40:29 -04:00
Randell Jesup
8736d254cc Bug 1161079: Fix VideoCodecStats to allow for collecting encoder and decoder stats r=jib 2015-05-04 14:51:24 -04:00
Ralph Giles
5326d8e3ee Bug 1159840 - Remove libvpx alignment patch. r=kinetik
Follow-up testing in suggests that the crash in vp8_diamond_search_sadx4
was caused by unified build breakage, so we may no longer need this.
2015-04-29 11:28:00 -07:00
Jean-Yves Avenard
556d935c52 Bug 1156689: Part9. Remove unused headers. r=kentuckfriedtakahe 2015-05-01 15:26:51 +10:00
Jean-Yves Avenard
06c5225d25 Bug 1156689: Part8. Use new MoofParser::HasMetadata in MP4Metadata. r=kentuckyfriedtakahe
This allows MP4Reader::ReadMetadata() to no be unecessarily blocking on partial
init segment.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
208ad93cf7 Bug 1156689: Part7. Add MoofParser::HasMetadata method. r=kentuckyfriedtakahe
Allows to check if we have a full MP4 metadata's atom available in our stream.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
a8026d01e4 Bug 1156689: Part6. Add ResourceStream class. r=kentuckyfriedtakahe
A Stream abstract over a MediaResource
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
0e53bf222b Bug 1156689: Part5. Add MP4Metadata class. r=kentuckyfriedtakahe
This allows to abstract the calls to libstagefright and allow future
replacement with our own code.
2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
6049519f68 Bug 1156689: Part2. Remove MP4 Index's libstagefright dependency. r=kentuckyfriedtakahe 2015-05-01 15:26:50 +10:00
Jean-Yves Avenard
e146d4940f Bug 1156689: Part1. Remove mp4_demuxer::TrackType. r=cpearce 2015-05-01 15:26:50 +10:00
Jacek Caban
3a45303395 Bug 1156131 - mingw cross compilation fixup. 2015-04-29 17:39:35 +02:00
Jean-Yves Avenard
84c09b9f81 Bug 1156891: Disable use of stagefright::String8::clear. r=kentuckyfriedtakahe
Some parts of stagefright::String8 aren't threadsafe as they make use of
static shared objects.
2015-04-29 15:38:16 +10:00
Jean-Yves Avenard
71b238d9f4 Bug 1149605: Avoid potential integers overflow. r=kentuckyfriedtakahe 2015-04-26 14:42:37 +10:00
Jean-Yves Avenard
cedf773d19 Bug 1158568: Fix potential size overflow. r=kentuckyfriedtakahe 2015-04-26 16:05:10 +10:00
Carsten "Tomcat" Book
b3ac5654ea Backed out changeset 1b04bf621858 (bug 1158568) for bustage on a CLOSED TREE 2015-04-28 15:39:41 +02:00
Carsten "Tomcat" Book
a4ebdec9ac Backed out changeset 87277085561a (bug 1149605) for bustage on a CLOSED TREE 2015-04-28 15:37:01 +02:00
Jean-Yves Avenard
d51ead79d5 Bug 1149605: Avoid potential integers overflow. r=kentuckyfriedtakahe 2015-04-28 22:28:41 +10:00
Jean-Yves Avenard
aa8f8fc0d2 Bug 1158568: Fix potential size overflow. r=kentuckyfriedtakahe 2015-04-28 22:27:13 +10:00
Paul Kerr [:pkerr]
26a44a8d8d Bug 1100502: about:webrtc e10s fix. Content and chrome connections are reported. r=rjesup 2015-04-21 15:29:18 -07:00
Ethan Hugg
770bb9731d Bug 1158627 - WebRTC return error if GetEmptyFrame returns null r=jesup 2015-04-26 13:13:46 -07:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Chris Pearce
85e09e9b88 Bug 1136360 - Backout 3920b67e97a3 to fix A/V sync regressions (bug 1148299 & bug 1157886). r=backout 2015-04-28 11:37:33 +12:00
Nathan Toone
a80a28725a Bug 1158931 - Fix static assertion compilation error; r=snorp
Move the destructor for WebrtcAndroidMediaCodec to be protected instead of public.
2015-04-27 14:43:25 -05:00
Boris Zbarsky
d36060dc11 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04:00
Qiang Lu
e037edf4f5 Bug 1106958 - Use android.media.MediaCodec for decoding in WebRTC stack. r=snorp, r=gcp, r=ted
--HG--
extra : rebase_source : 104976d4e5c82047f24d39f46ec3913e8c0aa6fd
2014-12-10 11:06:06 +08:00
Ralph Giles
735514249c Bug 1157962 - Update libvpx upstream repo reference. r=kinetik DONTBUILD
Google have changed the canonical repository url.
2015-04-23 16:33:13 -07:00
Randell Jesup
33ea7aa24c Bug 1157766: mismatched DataChannel initial channel size in JSEP database breaks adding channels r=bwc 2015-04-23 16:17:18 -04:00
Byron Campen [:bwc]
966e2c0ec1 Bug 1155089: Fix hazard analysis bustage on a CLOSED TREE. r=bustage 2015-04-22 10:18:33 -07:00
Andreas Pehrson
d1d704fa84 Bug 1155089 - Part 1: Reset |TrackID| for MediaPipelineTransmit::PipelineListener on replaceTrack(). r=bwc
--HG--
extra : rebase_source : 3ce3979f4b61ef204b468c244f03839b5c1bd3ed
2015-04-22 11:59:43 +08:00
Karl Tomlinson
4c56402d38 Bug 1156621 - Don't assume --without-system-nspr. r=glandium
--HG--
extra : rebase_source : 1e1535572d91718d494884eab4119e772df84768
2015-04-21 18:06:33 +12:00
Nathan Froyd
be6934841f Bug 1157290 - fix modeline in media/libstagefright/moz.build; r=me, DONTBUILD for comment-only fix 2015-04-22 11:24:10 -04:00
Byron Campen [:bwc]
ff33a93245 Bug 1152093: Perform case-insensitive comparisons for codec types. r=jesup
--HG--
extra : rebase_source : 73d87290b942ab7dd202cbd840fd4232eff043c3
2015-04-09 15:40:48 -07:00
Byron Campen [:bwc]
bd03e53251 Bug 1152137 - Part 2: Remove attributes that could not be initted properly instead of just freeing them. r=ekr
--HG--
extra : rebase_source : f6ca2ca980ae4c99d04baed3a3b7c1ab593ab31a
2015-04-08 16:18:39 -07:00
Byron Campen [:bwc]
0897a326eb Bug 1152137 - Part 1: Test case. r=ekr
--HG--
extra : rebase_source : aa6edff5a22fe8963715d79149bbb7e8ab19e694
2015-04-08 16:18:00 -07:00
Blake Wu
eeb2174b40 Bug 1153876 - Support MPEG-4 Codec, mp4v-es. r=jya. r=cpearce.
--HG--
extra : rebase_source : 596b37eab0d6d77c020b752212063b42ad6f5f3f
2015-04-20 21:57:29 +08:00
Jacek Caban
af0f3ae86c Bug 1155624 - follow up: MSVC requires including <algorithm> for std::max. CLOSED TREE 2015-04-20 18:41:12 +02:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Jacek Caban
d3b29e6cc5 Bug 1155624 - Use std::max instead of max macro in cubeb_wasapi.cpp. r=kinetik 2015-04-20 18:18:56 +02:00
Paul Adenot
ad1eda7b77 Bug 979705 - Fix typo. 2015-04-20 17:05:26 +02:00
Paul17041993
313bf7beae Bug 979705 - Re-write the upmixing functions in the WASAPI cubeb backend to fix mono audio and surround compatibility. r=padenot
--HG--
extra : source : c511ccad7676e90b0f06cb1d2ee0a7b82eb6d51e
2015-04-20 15:58:27 +02:00
Carsten "Tomcat" Book
f857c3a490 Backed out changeset c511ccad7676 (bug 979705) for bustage on a CLOSED TREE 2015-04-20 16:44:41 +02:00
Paul17041993
ad02172e18 Bug 979705 - Re-write the upmixing functions in the WASAPI cubeb backend to fix mono audio and surround compatibility. r=padenot 2015-04-20 15:58:27 +02:00
Ehsan Akhgari
4ebeb72f7b Bug 1155178 - Part 2: Rename GMPUnique to GMPUniquePtr; r=cpearce 2015-04-20 08:29:51 -04:00
Ehsan Akhgari
623b3ca075 Bug 1155178 - Part 1: Convert GMPUnique into a template alias; r=cpearce 2015-04-20 08:28:44 -04:00
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