Commit Graph

3383 Commits

Author SHA1 Message Date
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
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Chris Peterson
1361a2ef8e Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
Anthony Jones
adae7ab07f Bug 1180101 - Skip four bytes when we hit a zero length box; r=jya 2015-08-26 18:12:59 +12:00
Andreas Pehrson
6d8c5356b2 Bug 1198107 - Destroy VP8 encoder context before re-initing on resolution change to avoid leaking memory. r=jesup 2015-08-25 16:55:28 +08:00
Jan Gerber
b045b2738e Bug 1073319 - Enable AVX2 for libvpx on linux (libvpx). r=rillian 2015-07-16 02:38:00 -07:00
Jan Gerber
b8500322f0 Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian 2015-07-16 02:37:00 -07:00
Jacek Caban
06e0168155 Bug 1197282 - Include <atomic> in VideoDecoder.h. r=cpearce 2015-08-25 12:40:20 +02:00
Matthew Gregan
5f6fe686a4 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Ethan Hugg
e2ca5bd69b Bug 1191301 - Re-enable the use of media.navigator.video.use_tmmbr pref. r=bwc 2015-08-24 09:31:38 -07:00
Matthew Gregan
4cc0d5c816 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
875c5146ca Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
a24e2c354a Backed out 2 changesets (bug 1136360)
Backed out changeset 004f6db9c2dd (bug 1136360)
Backed out changeset 9b568fb8d447 (bug 1136360)
2015-08-24 13:25:57 +12:00
Matthew Gregan
bde4f17812 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00