Commit Graph

3430 Commits

Author SHA1 Message Date
Gerald Squelart
e0cec601a8 Bug 1204580 - p2: Check box ranges. r=rillian 2015-10-02 09:20:39 +02:00
Gerald Squelart
c783b3ab86 Bug 1204580 - p1: Added test case files. r=rillian 2015-10-02 09:20:13 +02:00
Byron Campen [:bwc]
f23eb5ac72 Bug 1208096 - Handle various failure cases for TURN gathering better. r=drno 2015-09-24 14:12:37 -05:00
Gerald Squelart
14b1d3e1e1 Bug 1207909 - p2: Fixed a warning (uninitialized 'err') and typo - r=jya 2015-09-30 07:37:00 +02:00
Gerald Squelart
66218fbf3f Bug 1207909 - p1: Fixed ALOGV statement - r=jya 2015-09-30 07:36:00 +02:00
Nils Ohlmeier [:drno]
0b64c98465 Bug 1207451 - removed framing from multi_tcp API. r=bwc 2015-09-19 12:12:15 -07:00
Andreas Pehrson
25a62b5356 Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.
2015-09-30 09:31:54 +08:00
Andreas Pehrson
aa2fc05087 Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
2015-09-30 09:31:53 +08:00
Martin Thomson
8bcd9da010 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Nils Ohlmeier [:drno]
6fab6921c5 Bug 1206465 - removed ice_ctx from TestStunTcpServer. r=bwc 2015-09-18 23:25:38 -07:00
Carsten "Tomcat" Book
525fa7a7b1 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Gerald Squelart
e93a56ab2f Bug 1200326 - p4 - Added test case from bug 1200326, with more checks - r=rillian 2015-09-26 04:44:00 +02:00
Gerald Squelart
860fa0f83e Bug 1200326 - p3 - Test case filenames are now in a list, to allow adding more tests - r=rillian 2015-09-26 04:43:00 +02:00
Gerald Squelart
5ea6320cdf Bug 1200326 - part 2 - Parse subsets of the input stream - r=rillian
In addition to starting parsing at different points across the input stream,
different sizes are given, from the minimum step size up to the remainder of the stream.
2015-09-26 04:42:00 +02:00
Gerald Squelart
f9d1ffbe32 Bug 1200326 - P 1 - Moved test case contents from test source into separate file - r=rillian
This will make it easier to modify input files and add more of them.
2015-09-26 04:40:00 +02:00
Martin Thomson
c7b8f20c03 Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug 2015-09-24 16:31:47 -07:00
Jean-Yves Avenard
0be7b77497 Bug 1207441: [mp4] Ignore invalid tracks. r=gerald
This is designed to minimize the chance of regressions.
2015-09-28 14:12:47 +10:00
Wes Kocher
f7b883adf5 Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Randell Jesup
2708a365af Bug 1207824: Add Telemetry for WebRTC call type, simultaneous tracks, and renegotiations r=bwc 2015-09-25 14:23:01 -04:00
Andreas Pehrson
d75a595290 Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.
2015-09-25 23:23:18 +08:00
Andreas Pehrson
80baa0188b Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
2015-09-25 23:23:17 +08:00
Nicholas Nethercote
19203be089 Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
2015-09-23 11:49:05 -07:00
Randell Jesup
44905ab6e3 Bug 953265: Adjust Opus bitrate in WebRTC to pass >8KHz audio, and comment r=bwc 2015-09-24 09:23:37 -04:00
Randell Jesup
46bfe823f7 Bug 953265: Update webrtc/getUserMedia default audio capture rate to 32KHz r=padenot 2015-09-24 09:23:37 -04:00
Jean-Yves Avenard
fb36c1b53e Bug 1206211: P2. Abort on OOM. r=kentuckyfriedtakahe 2015-09-24 16:42:54 +10:00
Jean-Yves Avenard
123cea0034 Bug 1206211: P1. Ensure operation can't overflow. r=kentuckyfriedtakahe 2015-09-24 16:42:54 +10:00
Jean-Yves Avenard
8a926c8527 Bug 1207478: P2. Prevent potential division by zero. r=gerald 2015-09-24 16:42:52 +10:00
Jean-Yves Avenard
d49efc6181 Bug 1207478: P1. Prevent microseconds calculation overflow. r=gerald
This leaves us safe until year 294441 (assuming unix timestamp).
2015-09-24 16:42:51 +10:00
Randell Jesup
736b24a94c Bug 1207416: Add Telemetry for time spent in different Load states in WebRTC r=gcp 2015-09-23 14:10:28 -04:00
Nils Ohlmeier [:drno]
8c58d2a322 Bug 1206981 - prevent ICE TCP from being turned off under e10s. r=jesup 2015-09-21 17:55:23 -07:00
Chris Peterson
b06d7f99a7 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Jean-Yves Avenard
2db6646363 Bug 1207021: [mp4] Properly set dts on plain mp4 media. r=edwin 2015-09-23 12:59:26 +10:00
Jean-Yves Avenard
2ef9cdd1aa Bug 1138992: P2. Add gtest. r=kentuckyfriedtakahe 2015-09-23 12:59:24 +10:00
Jean-Yves Avenard
21a90fd1ef Bug 1138992: P1. Ignore ctts version if we have 0 samples in the table. r=kentuckyfriedtakahe 2015-09-23 12:59:24 +10:00
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