Nicholas Nethercote
6861c92e72
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"
32389b8a47
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]
d73de1c065
Bug 1205421 - fix DNS resolution of STUN server in ice_unittest. r=bwc
2015-09-16 13:42:57 -07:00
Michael Froman
3adfd53669
Bug 1095793
- use mid if provided to place candidate in msection. r=bwc
2015-09-10 13:20:09 -05:00
Gian-Carlo Pascutto
e70f79b7bf
Bug 1192203 - Extract a robust version of getSupportedPreviewFpsRange. r=jesup
2015-09-16 16:17:49 +02:00
Wes Kocher
495adce8fa
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
5403a02f11
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]
583bdbaf30
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]
6a05a4729d
Bug 1204082 - try strtoull instead. r=mt
2015-09-14 16:33:28 -07:00
Kelly Davis
61bc436ec3
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
a60d6ee540
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
cd2b3b0288
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
e92c82005b
Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc
2015-09-15 10:28:34 -07:00
Jean-Yves Avenard
9fe96ae3cd
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
1a2ef96062
Bug 1202012: P2. Make stagefright works on big-endian systems. r=rillian
2015-09-15 11:27:37 +10:00
Jean-Yves Avenard
cb494a62b3
Bug 1202012: Use QTv2 header when available. r=rillian
2015-09-15 11:27:36 +10:00
Jean-Yves Avenard
e438251ab3
Bug 1186716: Error if SPS NAL parsing failed. r=rillian
2015-09-14 15:34:33 -07:00
Ralph Giles
82acee9cd7
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]
b272da0efb
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]
161f746ca2
Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno
2015-09-02 15:06:58 -05:00
Jean-Yves Avenard
c11bd5408e
Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe
2015-09-12 19:57:15 +10:00
Jean-Yves Avenard
b4da62868d
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
cf259b8788
Bug 1185115: P2. replace all stagefright::Vector with nsTArray. r=kentuckyfriedtakahe
2015-09-12 16:47:30 +10:00
Johannes Pfrang
7d9d846b63
Bug 1202266 - Suppress '-Wformat-security' in libstagefright CXXFLAGS. r=kentuckyfriedtakahe
2015-09-10 09:49:00 +02:00
Ralph Giles
f9625c4dae
Bug 1202677 - Reject mp4 streams with short avc chunks. r=gerald
2015-09-08 14:03:44 -07:00
Paul Kerr [:pkerr]
60592d8111
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
d797556fc9
Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf
2015-09-08 11:44:45 +12:00
Ralph Giles
00f5d14c5d
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
902644b3dd
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]
92e769ad78
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
65f60b271d
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
0c6d547caf
Bug 1187067 - Null-check mLastTrack before dereferencing it - r=rillian
2015-09-03 00:58:00 +02:00
Michael Froman
e61426de30
Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
2015-09-01 16:40:00 -05:00
Michael Froman
e5a6261ceb
Bug 1008792 - Check for valid pointer before using. r=bwc
2015-09-01 11:52:43 -05:00
Gerald Squelart
bfb2b88ea8
Bug 1201404 - Implement minimal gtests to exercise the MPEG4 parser - r=rillian
2015-09-03 00:05:00 +02:00
Byron Campen [:bwc]
6e40337826
Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno
2015-09-02 14:27:07 -05:00
Pavlo
198bb42e59
Bug 1037997 - Added possibility to choose monitors during screen capturing. r=florian,jesup
2015-09-03 07:24:00 +02:00
Ralph Giles
776ac893f0
Bug 1186715 - Add diagnostic asserts. r=k17e
2015-08-19 10:33:13 -07:00
Byron Campen [:bwc]
e9a3cdecd0
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]
738b65f581
Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc
2015-08-28 13:22:45 -07:00
Paul Adenot
0eb7fdb014
Bug 901633 - Part 16 - Remove another allocation in the sending side. r=jesup
2015-09-01 14:26:14 +02:00
Paul Adenot
a2494cc82a
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
ae6fa93922
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
b0d6f98a0b
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
44398357f7
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
cdcf7f4ce2
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
4e53c61e76
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
a2ff24c645
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
7f305659ad
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
6d5f4fe7a7
Bug 1190676 - Part 5 - Fix consumers: PeerConnection. r=jesup
2015-08-25 10:29:50 +02:00