Commit Graph

3396 Commits

Author SHA1 Message Date
Nicholas Nethercote
08a51edb74 Bug 1205930 - Tighten up warnings handling in media/omx-plugin/. r=gerald.
MetaData.h uses multi-char literals. This is kind of gross but probably safe
and hard to change, so this patch allows it while disallowing all other
compiler warnings. (This approach is already used in dom/media/moz.build.)

(An aside: I originally tried using |#pragma GCC ignoring -Wmultichar| to
temporarily disable the warnings in MetaData.h. But that works in gcc but not
in g++ because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431!)
2015-09-20 22:10:01 -07:00
"Chih-Kai (Patrick) Wang"
a25a1b41e4 Bug 950660: Part 4: Bridge TCPSocketChild to nr_socket r=bwc,jdm
Improve use of TCPSocket to track in-flight writes and suppress extra runnables
Adds lots of logging to nr_socket_buffered_stun.c
Rework mtransport code to use new TCPSocketChild interface
2015-01-05 15:49:50 +08:00
Nils Ohlmeier [:drno]
d5473b051f Bug 1205421 - fix DNS resolution of STUN server in ice_unittest. r=bwc 2015-09-16 13:42:57 -07:00
Michael Froman
af7af31599 Bug 1095793 - use mid if provided to place candidate in msection. r=bwc 2015-09-10 13:20:09 -05:00
Gian-Carlo Pascutto
8bb4ebf977 Bug 1192203 - Extract a robust version of getSupportedPreviewFpsRange. r=jesup 2015-09-16 16:17:49 +02:00
Wes Kocher
4b449b2b40 Backed out changeset 51994c27948c (bug 1197280) for test_eme_non_mse_fails.html failures CLOSED TREE 2015-09-16 14:39:03 -07:00
Ralph Giles
1ab673222e Bug 1197280 - Use CheckedInt instead of manual comparison. r=baku,gerald
This is less error-prone and somewhat easier to read.
Based on a patch from Joshua J. Drake and suggestions
from Andrea Marchesini.

NB CheckedInt<T>::value() returns a T, so the comparison with
SIZE_MAX should always succeed. Doesn't warn on clang though.
2015-09-16 11:44:31 -07:00
Byron Campen [:bwc]
2562508cca Bug 1203246 - Factor track negotiation stuff out of JsepSessionImpl, and other simplification. r=mt 2015-08-25 08:16:38 -05:00
Nils Ohlmeier [:drno]
424c625f41 Bug 1204082 - try strtoull instead. r=mt 2015-09-14 16:33:28 -07:00
Kelly Davis
ef052e4b6e Bug 1202989 - Added check for 0 length phones string in addition to NULL. r=andrenatal 2015-09-09 08:37:00 +02:00
Jean-Yves Avenard
754aca9372 Bug 1205179: [mp4] Don't reject 7 bytes long avcC atom. r=gerald
An AVC3 stream will typically use 7 bytes avcC (due to have 0 SPS/PPS)
2015-09-16 18:14:18 +10:00
Jean-Yves Avenard
109cc12636 Bug 1189992: Don't assume the last chunk always contains the sample we're looking for. r=gerald
If a chunk contains no samples it should be skipped and continue the search (and maybe hit EOS)
2015-09-16 12:37:47 +10:00
Martin Thomson
2bc2335de8 Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc 2015-09-15 10:28:34 -07:00
Jean-Yves Avenard
1457d84543 Bug 1197086: Change error into verbose only. r=rillian
the kKeyMaxInputSize is no longer used to determine the size of the allocated memory buffer as it's now dynamic.
2015-09-15 11:27:37 +10:00
Jean-Yves Avenard
155baac5b9 Bug 1202012: P2. Make stagefright works on big-endian systems. r=rillian 2015-09-15 11:27:37 +10:00
Jean-Yves Avenard
6d7b086e8f Bug 1202012: Use QTv2 header when available. r=rillian 2015-09-15 11:27:36 +10:00
Jean-Yves Avenard
f4b5a17528 Bug 1186716: Error if SPS NAL parsing failed. r=rillian 2015-09-14 15:34:33 -07:00
Ralph Giles
f2df99883f Bug 1203736 - Convert H264::DecodeSPS assert to error return. r=jya
This lets us verify checking in a gtest.
2015-09-10 14:48:17 -07:00
Byron Campen [:bwc]
3e3e4965ea Bug 1186590 - Part 2 - Move hard-coded interface priority list into nrinterfaceprioritizer, and simplify some functions. r=drno 2015-09-04 15:25:37 -05:00
Byron Campen [:bwc]
38d87bbb95 Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno 2015-09-02 15:06:58 -05:00
Jean-Yves Avenard
eaa12be10a Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-09-12 19:57:15 +10:00
Jean-Yves Avenard
4265928068 Revert "Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe"
This reverts commit 757c4bd76326
2015-09-12 16:57:43 +10:00
Jean-Yves Avenard
8797daa01f Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe 2015-09-12 16:47:30 +10:00
Johannes Pfrang
3f563ed3da Bug 1202266 - Suppress '-Wformat-security' in libstagefright CXXFLAGS. r=kentuckyfriedtakahe 2015-09-10 09:49:00 +02:00
Ralph Giles
7726bab628 Bug 1202677 - Reject mp4 streams with short avc chunks. r=gerald 2015-09-08 14:03:44 -07:00
Paul Kerr [:pkerr]
f253f924e8 Bug 1030324: Remove VP8 encoder resize work around. r=rjesup
The VP8 encoder was re-initialized completely when the frame size changed
instead of calling the vpx_enc_config_set() method. The work around is not
longer needed.
2015-09-08 11:02:40 -07:00
Matthew Gregan
d31cb1ebaa Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf 2015-09-08 11:44:45 +12:00
Ralph Giles
61cb432fed Bug 1187076 - Warn at end of SPS buffers. r=jya
Previously we asserted if we tried to read past the end
of a buffer in parsing H.264 SPS headers. This only affected
debug builds, but the failures were reported as crashes in
automated testing.

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

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.
2015-09-09 04:57:44 -07:00
Byron Campen [:bwc]
802f583509 Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno 2015-09-04 10:21:12 -05:00
Gerald Squelart
30fd1ba52f Bug 1187067 - Added gtests using the bug's test file, running simple checks and many parsing runs to catch parser crashes. r=rillian 2015-09-04 07:07:00 +02:00
Gerald Squelart
a8a9ccb4d5 Bug 1187067 - Null-check mLastTrack before dereferencing it - r=rillian 2015-09-03 00:58:00 +02:00
Michael Froman
969f1bdddc Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc 2015-09-01 16:40:00 -05:00
Michael Froman
22e153a1eb Bug 1008792 - Check for valid pointer before using. r=bwc 2015-09-01 11:52:43 -05:00
Gerald Squelart
43fe14b4cb Bug 1201404 - Implement minimal gtests to exercise the MPEG4 parser - r=rillian 2015-09-03 00:05:00 +02:00
Byron Campen [:bwc]
4a2e8df56c Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno 2015-09-02 14:27:07 -05:00
Pavlo
a0fa9344ce Bug 1037997 - Added possibility to choose monitors during screen capturing. r=florian,jesup 2015-09-03 07:24:00 +02:00
Ralph Giles
9059cdfc4c Bug 1186715 - Add diagnostic asserts. r=k17e 2015-08-19 10:33:13 -07:00
Byron Campen [:bwc]
30d7454c68 Bug 1094447 - Use UDP/TLS/RTP/SAVPF for audio/video m-lines. r=drno 2015-09-01 17:15:30 -05:00
Nils Ohlmeier [:drno]
415647e7ce Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc 2015-08-28 13:22:45 -07:00
Paul Adenot
5bb3175151 Bug 901633 - Part 16 - Remove another allocation in the sending side. r=jesup 2015-09-01 14:26:14 +02:00
Paul Adenot
69eaf292b1 Bug 901633 - Part 15 - Remove an allocation on the sending side, out of the packetizer. r=jesup 2015-09-01 14:26:13 +02:00
Paul Adenot
c392cc5108 Bug 901633 - Part 11 - Add an API in webrtc.org's output mixer to get the output channel count. r=jesup 2015-09-01 14:25:48 +02:00
Paul Adenot
77cec3e297 Bug 901633 - Part 10 - Change the receiving side of the MediaPipeline so that it can detect and handle stereo. r=jesup 2015-08-12 14:43:51 +02:00
Paul Adenot
3c95af093d Bug 901633 - Part 9 - Make the necessary changes to VoEExternalMediaImpl::ExternalRecordingInsertData so that it the number of channels is forwarded down the webrtc.org code. r=jesup 2015-08-11 13:49:29 +02:00
Paul Adenot
a7034137c7 Bug 901633 - Part 8 - Use our new generic packetizer in the MediaPipeline so that we can packetize stereo easily. r=jesup 2015-08-11 13:49:29 +02:00
Paul Adenot
2cc2d6d70f Bug 901633 - Part 5 - Make MediaPipeline downmix and properly convert audio for webrtc.org code. r=jesup
This means converting to int16, interleaving, and down-mixing to stereo (or
keeping it to mono if it's already mono of course).
2015-07-29 18:39:56 +02:00
Edwin Flores
d42bc1b3cd Bug 1185388 - Limit the number of cores used by WMF in ClearKey CDM - r=cpearce 2015-09-01 17:31:48 +12:00
Matthew Gregan
c949250be2 Bug 1199794 - Add NULL checks to avoid crashing during media playback if the audio device removed. r=padenot 2015-08-28 19:13:00 -04:00
Paul Adenot
8c5bfdf21c Bug 1190676 - Part 5 - Fix consumers: PeerConnection. r=jesup 2015-08-25 10:29:50 +02:00