Martin Thomson
7c6754946d
Bug 1184226 - Suppressing received packets when disabled, r=ekr
2015-07-15 13:03:01 -07:00
Martin Thomson
a363dc17b7
Bug 1184226 - Disabling write on shutdown, r=ekr
2015-07-15 12:23:10 -07:00
Martin Thomson
db905d5bf6
Bug 1184226 - Updating transportlayerdtls logging levels, r=ekr
2015-07-15 12:23:10 -07:00
Byron Campen [:bwc]
33a8ab8b56
Bug 1142105 - Part 1: Move SDP helper code functions out of JsepSessionImpl and into a separate class. r=mt
2015-07-02 10:04:36 -07:00
Jean-Yves Avenard
1f19e04196
Bug 1144107 - Part 4: Prevent assert when hitting EOS. r=kentuckyfriedtakahe
...
this would occur if we attempt to read exactly the end of the array.
2015-07-14 09:21:27 -04:00
Jean-Yves Avenard
bef64e7dcc
Bug 1144107 - Part 3: Prevent int overflow in sort. r=kentuckyfriedtakahe
2015-07-14 09:21:27 -04:00
Jean-Yves Avenard
efdccbe58d
Bug 1144107 - Part 2: Prevent uin32_t overflow. r=kentuckyfriedtakahe
2015-07-14 09:21:27 -04:00
Jean-Yves Avenard
ca60c26e6c
Bug 1144107 - Part 1: Mark tracks with no samples table as invalid. r=kentuckyfriedtakahe
2015-07-14 09:21:27 -04:00
Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Kyle Machulis
9b533f75cc
Bug 1157768 - libav FFT dummy functions for Windows PGO/NoOpt builds; r=glandium
2015-07-10 14:34:07 -07:00
Kyle Machulis
bdea3bb66f
Bug 1157768 - Build files and config headers for libav fft; r=glandium
2015-07-10 14:34:07 -07:00
Kyle Machulis
253ca551dd
Bug 1157768 - Minimal libav files for using libav fft; r=padenot
2015-07-10 14:34:06 -07:00
Gerald Squelart
8ac3b7e6af
Bug 1182363 - Added missing 'else' to prevent wrong error logging. r=edwin
2015-07-09 18:22:00 +02:00
Randell Jesup
37ad9bc8b6
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Wes Kocher
741b8c3fc2
Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
...
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Randell Jesup
debd5739ae
Bug 1181265 - wallpaper over windows (driver?) returning null ptr to GetStreamCaps r=pkerr
2015-07-09 14:23:58 -04:00
Kyle Machulis
cd750a2fbb
Bug 1157768 - Build files and config headers for libav fft; r=glandium
2015-07-09 09:07:52 -07:00
Kyle Machulis
dc34cdf6df
Bug 1157768 - Minimal libav files for using libav fft; r=padenot
2015-07-09 09:07:52 -07:00
Julian Seward
f12b593edc
Bug 1137169 - Uninitialised value uses related to mozilla::dom::WebAudioUtils::SpeexResamplerProcess. r=rjesup.
2015-07-08 20:11:52 +02:00
Chris Pearce
c2b58a33df
Bug 1181436 - Use 'gmp-api/' prefix consistently in includes in gmp-clearkey. r=gerald
2015-07-08 17:12:47 +12:00
Kyle Machulis
a4842e7759
Bug 1176300 - Add soundtouch factory functions for DLL memory handling on windows; r=padenot
2015-07-07 21:17:09 -07:00
Kyle Machulis
40a2f2db95
Bug 1176300 - Update libsoundtouch to patched r222; r=padenot
2015-07-07 21:17:09 -07:00
Kyle Machulis
2ac88172a1
Bug 1176300 - Move libsoundtouch to lgpllibs; r=glandium
2015-07-07 21:17:09 -07:00
Emanuel Hoogeveen
31c0c961cd
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Robert O'Callahan
262e47491d
Bug 1143575. Add RefBase #include to stagefright stubs. r=cpearce
2015-05-12 15:36:19 +12:00
Martin Thomson
fd71e66b19
Bug 1172785 - Switch to ECDSA for MTI suites, r=ekr
2015-07-06 10:40:04 -07:00
Martin Thomson
8bdc9eeda2
Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr
2015-07-06 10:40:04 -07:00
Byron Campen [:bwc]
d4479dcb0c
Bug 1180311 - Add null check to ifa_addr. r=ekr
2015-07-03 14:10:16 -07:00
Juan Gomez
21d73728f3
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Byron Campen [:bwc]
324564a2e9
Bug 1112692: BundlePolicy support, and support for more than one BUNDLE group. r=mt, r=smaug
2015-06-12 14:27:08 -07:00
Ralph Giles
9ca7f3231f
Bug 1179885 - Update rust mp4parser gtest. r=k17e
...
Switch to stdio for reading the file snippet. I can't figure
out how to cleanly read a minimum subset into a vector with
ifstream. Previously we were asking it to read zero bytes,
so the argument validation in read_box_from_buffer() was
rejecting the data without trying to parse it.
With this and the v0.0.9 changes to catch eof, we can remove
the expected fail on the street.mp4 test.
2015-07-02 14:12:14 -07:00
Ralph Giles
ceac1e9238
Bug 1179885 - Update rust mp4parser to v0.0.9. r=k17e
...
Source from https://notabug.org/rillian/mp4parse-rust
Modified to use byteorder as a local mod instead of an
extern crate, per bug 1175322.
2015-07-02 14:12:13 -07:00
Byron Campen [:bwc]
4965ecc09e
Bug 797262 - IPV6 support for webrtc. r=drno
2015-04-22 15:02:50 -05:00
Byron Campen [:bwc]
9c2cb58d74
Bug 980609: Do not assert that TURN TCP client contexts can't fail before attempting to allocate. r=ekr
2014-03-07 15:29:09 -08:00
Byron Campen [:bwc]
06c837e8fb
Bug 971357: Log STUN responses at INFO instead of DEBUG. r=ekr
2014-02-11 17:27:45 -08:00
Byron Campen [:bwc]
4536d156cf
Bug 1035428: Re-register writeable callback after partially servicing the send queue. r=drno
2014-07-07 14:25:23 -07:00
Jan Gerber
74e7eaa193
Bug 1178215 - Update libvpx. r=rillian
...
Update libvpx to e67d45d4ce92468ba193288b59093fef0a502662
* * *
Bug 1178215 - Bump clobber for libvpx file renames. r=me
2015-06-29 23:07:20 +02:00
Jan Gerber
c589f29790
Bug 1178215 - update update.py for new libvpx r=rillian
...
libvpx dropped vpx_mem_set_functions,
only use it if an external libvpx
is used and still has it.
update update.py
add vpx_dsp_rtcd.h
rebase disable_pthread_on_mingw.patch
add vp9_filter_restore_aligment.patch
drop msvc2015.patch
2015-06-29 23:06:04 +02:00
Nathan Froyd
46d6f38e68
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd
7646addfc2
Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
...
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable. In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen
55b2086097
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Ralph Giles
8cd889ebff
Bug 1177029 - Use stdint.h instead of cstdint. r=kinetik
...
Clang can't find this on my MacOS X machine.
2015-06-24 00:23:00 -07:00
Jan Gerber
380294b9cc
Bug 1176730: Don't use pthread for libvpx in mingw builds. r=rillian
...
Based on a patch by Jacek Caban.
2015-06-23 02:19:00 -07:00
Matthew Gregan
ae6d257365
Bug 1103824 - Back out changeset for causing regression reported in bug 1176499.
2015-06-23 17:02:51 -07:00
Jean-Yves Avenard
e22321e24f
Bug 1174577
: P1. Have Init segment range only include the first moov. r=kentuckyfriedtakahe
2015-06-19 16:45:15 +10:00
Nils Ohlmeier [:drno]
7c76869c13
Bug 891551 - Part 11: fix a couple of issues from part 5. r=bwc
2015-06-18 23:02:38 -07:00
Nils Ohlmeier [:drno]
06d83d3241
Bug 891551 - Part 10: added user pref to turn of ICE TCP. r=mt
2015-06-18 23:02:33 -07:00
Nils Ohlmeier [:drno]
167d64dec2
Bug 891551 - Part 9: ignore initial socket connect failures during gathering. r=jesup
2015-06-18 23:02:25 -07:00
Peter Tatrai
78f506ded8
Bug 891551 - Part 8: Increase and make backlog value configurable. r=bwc
2014-06-12 07:25:00 -07:00
Byron Campen [:bwc]
8b55540723
Bug 891551 - Part 7: Fix some intermittent failures in multi_tcp_socket_unittest. r=ekr
2014-06-09 15:04:42 -07:00
"Peter Tatrai ext:(%22)
c23a010af6
Bug 891551 - Part 6: Add log dumper to multi_tcp_socket_unittest. r=bwc
2014-06-03 08:44:59 +02:00
"Peter Tatrai ext:(%22)
7c11130587
Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup
2014-04-23 10:15:25 +02:00
Jan Gerber
0210e3849a
Bug 1151175 - Update libvpx to 1.4.0. r=rillian
...
vp9_thread.c has changed directories, which mach doesn't handle
properly, resulting in "No rule to make target" for the old source
file path.
Bump clobber for libvpx file renames.
2015-06-17 20:46:25 +02:00
Jan Gerber
b8b9ea477d
Bug 1151175 - Update libvpx update.py for 1.4.0. r=rillian
2015-06-17 20:43:46 +02:00
Gerald Squelart
52007e9665
Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce
2015-06-11 22:05:00 +02:00
Adrian Cruceru
ecc32f3948
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
67b2696acc
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
b783a8bf9c
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
c9c268497e
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
d4b0fb86e9
Bug 1174356 - Add missing MediaData include. r=jya
...
Needed for separate compilation of MP4Metadata.h in unit tests.
2015-06-15 08:53:00 -07:00
Nathan Froyd
bf12814aab
Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr
2015-05-05 16:21:37 -04:00
Andreas Pehrson
068c9fe5e7
Bug 1172397 - Check for Conduit/Type mismatch on every frame. r=jesup, r=bwc
2015-06-08 14:43:48 +08:00
Matthew Gregan
51211a85c8
Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot
2015-05-14 18:33:23 +12:00
Birunthan Mohanathas
175f707fc8
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
880631c842
bug 1171143 - Fix iOS capture build. r=jesup
2015-02-28 19:47:07 -05:00
Ted Mielczarek
d33652a9ef
bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr
2015-02-27 12:37:42 -05:00
Ted Mielczarek
76c24ff659
bug 1171072 - make libcubeb build on iOS. r=kinetik
2015-02-06 14:50:40 -05:00
Byron Campen [:bwc]
80520b9081
Bug 1170683: Do a better job in copying previous transport parameters into new offers/answers. r=mt
2015-06-02 17:15:40 -07:00
Ralph Giles
12af1558ee
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.
2015-06-10 09:31:00 -07:00
Andreas Pehrson
916d69551d
Bug 1169125 - Part 2: Use UniquePtr for scoped delete of yuv data in MediaPipeline. r=bwc
2015-06-09 13:31:34 +08:00
Andreas Pehrson
e3350650bb
Bug 1169125 - Part 1: Allow sending any DataSourceSurface-backed image over WebRTC and fix failure cases. r=bwc
2015-06-09 13:31:22 +08:00
Jean-Yves Avenard
afcbfc9b48
Bug 1171330: P14. Add ContainerParser::FirstCompleteMediaHeader() method. r=kentuckyfriedtakahe
2015-06-11 16:27:15 +10:00
Jean-Yves Avenard
306c867b10
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.
2015-06-11 15:49:49 +10:00
Byron Campen [:bwc]
7fb0e7cd2b
Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
2015-06-10 15:27:12 -07:00
Birunthan Mohanathas
8aaa6ae83e
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
9b86221a9f
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
a91eb477eb
Bug 1171067: Properly read 64bits header's size. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
cd1eb1d1b9
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
6106267244
Bug 1168040: Part2. Properly handle MP4 time offset in MoofParser. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
33abc1b31e
Bug 1168040: Part1. Properly handle MP4 starting offset. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
c3b56c2f02
Bug 1171629: Use fallible array to store MP4 samples index. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Randell Jesup
c115dd825e
Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc
2015-06-05 20:27:38 -04:00
Phil Ringnalda
2d622709bc
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
9f01ac3400
Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc
2015-06-05 20:27:38 -04:00
Wes Kocher
b3e3924b2f
Merge m-c to inbound, a=merge
2015-06-05 16:03:46 -07:00
Wes Kocher
017d1e00dc
Merge b2ginbound to central, a=merge
2015-06-05 16:02:54 -07:00
Randell Jesup
9f3b737f8b
Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc
2015-06-05 15:16:45 -04:00
Wes Kocher
a10d4bd67e
Backed out changeset 2cb094627289 (bug 822129) for cppunittest orange
2015-06-05 14:16:56 -07:00
Randell Jesup
922ae3c94b
Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc
2015-06-05 15:16:45 -04:00
Benjamin Chen
934afca670
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
b7300888c3
Bug 1158372: clean up windows CreateCapabilityMap for video capture r=dmajor
2015-06-05 09:18:35 -04:00
Eugen Sawin
3d3cc48ffe
Bug 1166779 - Rebase MP3 demuxer on MediaDataDemuxer interface. r=kinetik
2015-06-05 14:34:19 +02:00
Kelly Davis
a270e78e92
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
2015-06-04 21:45:00 +02:00
Chris Pearce
3786dd969e
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
ed120fb7db
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]
b8a465e5da
Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt
2015-05-22 11:11:37 -07:00
Eric Rahm
29f00ac208
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
4e8751b627
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
de9623d265
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