Граф коммитов

1940 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 5cc032f3e6 Bug 1208371 - Turn DOMMediaStream::PrincipalChangeObserver into PrincipalChangeObserver<DOMMediaStream>. r=mt
MozReview-Commit-ID: JkBUEGdavZX

--HG--
extra : rebase_source : aca48148a30fc16db6a6435c592480a61174d96b
2016-01-22 12:10:41 +08:00
Andreas Pehrson f52f9b9310 Bug 1208371 - Add convenience method for checking if TrackID is explicit. r=roc
MozReview-Commit-ID: 330Fk17FJD4

--HG--
extra : rebase_source : 27395cdf427e6096f90097c1502b7930162d2c3e
2016-01-05 10:16:22 +08:00
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
Nico Grunbaum f5e5add0aa Bug 1260784 - fix Stop Debug Mode button r=jesup
MozReview-Commit-ID: JHt5jWaY4xK
2016-03-30 09:12:15 -07:00
Jan-Ivar Bruaroey aa408de276 Bug 1254187: Fix maxBitrate to respect simulcast. r=jesup
MozReview-Commit-ID: 51dz5y0q6qQ

--HG--
extra : rebase_source : 2b25f67832214cc9f6f816e9a70c119329a7b083
2016-04-01 15:10:47 -05:00
Mike Hommey d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Randell Jesup bbbc6476fd Bug 1256430: start AEC log independently of webrtc TRACE r=jesup,pkerr 2016-03-29 11:32:54 -04:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Wes Kocher 739bbe42b0 Backed out changeset 5d1c109f708b (bug 1256430) for android build bustage CLOSED TREE
MozReview-Commit-ID: dVx9S3N7y5

--HG--
extra : amend_source : e68b76d577c0d8c3b6228782c9d937c6facd2417
2016-03-25 11:56:52 -07:00
[:ng] 8e69ead3a7 Bug 1256430: start AEC log independently of webrtc TRACE; r=pkerr
MozReview-Commit-ID: 9TlmjwjKXIL
2016-03-20 16:51:45 -07:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Trevor Saunders b744ac7d84 bug 1250492 - include sstream in SdpMediaSection.h instead of iostream r=jesup
It gets rid of a couple static constructors, and should make the build slightly
faster since we compile less code.
2016-03-23 09:26:01 -04:00
Trevor Saunders 4b87a31ba8 bug 1250492 - use tl::Max instead of std::max to get rid of a static constructor r=jesup
std::max is only constexpr in c++14 and >, but we build as c++11 so
initializing a constant with std::max ends up with a static constructor.
Fortunately we have tl::Max around which forces evaluation of the math at
compile time.
2016-03-23 09:25:48 -04:00
Randell Jesup 6f22cfc9fb Bug 1247574: Force webrtc audio input processing to resample to target rate to fix 16KHz mics. r=padenot
MozReview-Commit-ID: BBZcX03Z6Kn
2016-03-19 16:05:13 -04:00
Byron Campen [:bwc] 1327e24325 Bug 1256750: Remove unnecessary sscanf_s parameter on windows, and fix format string everywhere else. r=jesup
MozReview-Commit-ID: 3YFhTbGg5ec

--HG--
extra : rebase_source : 5a7de94ed893d9434b6195f029d7c634c9f848a0
2016-03-15 14:10:28 -05:00
Randell Jesup d6e073cec4 Bug 1254876: assert windows recording is shut down r=pkerr 2016-03-21 02:57:13 -04:00
Randell Jesup 9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Nicholas Nethercote 3101dc7152 Bug 820972 - Comment out colorTable[] because we don't need it. r=jesup.
This saves 64 KiB of static data.
2016-03-11 12:41:30 +11:00
Ted Mielczarek 68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Christoph Kerschbaumer b47c0eea98 Bug 1254691 - Remove SEC_NORMAL from webrtc/. r=bwc 2016-03-10 08:52:34 -08:00
Gian-Carlo Pascutto 568a64e79a Bug 1254507 - Fix leak in WebRTC DesktopApplication class. r=jesup
MozReview-Commit-ID: FLuQZcPyv0d

--HG--
extra : rebase_source : 24bc9507bb4abee94a1238176675948249c102f1
2016-03-08 14:14:05 +01:00
Byron Campen [:bwc] b0ba04fb55 Bug 1221473: Do not treat answer as authoritative wrt payload types. r=drno
MozReview-Commit-ID: 2uVn60j8QfC

--HG--
extra : rebase_source : 4f5ee469a514deb4e89745885cda34cb6061a660
2015-11-06 10:14:23 -06:00
[:ng] 9e95296e04 bug 1241064 - updating stats filter SSRC when audio channel SSRC changes; r=jib
bug: getStats was returning statistics for the shortlived, initial SSRC
now updating SSRC filter on statistics update callback to match audio channel ssrc
getStats API now returns statistics for correct SSRC: jitter, packets lost, etc.

MozReview-Commit-ID: WCd71WMkUW

--HG--
extra : rebase_source : 5d3a5a14e04313749173d264894e44411c3417bf
2016-03-03 08:03:06 -08:00
Nathan Froyd b938c57967 Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.

This patch merits a couple explanations:

- Where it made sense, I tried to convert:

    T* foo() {
      UniquePtr<T> x = ...;
      ...
      return x.release();
    }

  into:

    UniquePtr<T> foo()

  with corresponding changes inside |foo|'s body.

- The attentive reader will note that:

    auto x = MakeUnique<T>(...);

  is used sometimes and:

    UniquePtr<T> x(new T(...));

  is used sometimes.  I would prefer to use the former, but was stymied
  in several places due to protected constructors.  (MakeUnique doesn't
  have access to those protected constructors, natch.)
2016-03-02 15:28:27 -05:00
Makoto Kato 89dd964ab1 Bug 1252737 - use size_t instead of uint32_t for InitEncode(). r=jesup
Although 3rd parameter VideoEncodeer::InitEncode() is defiend as size_t, WebrtcIMXH264VideoCodec and WebrtcMediaCodecVP8VideoCodec uses uint32_t.  This will cause build error for 64bit platform.

MozReview-Commit-ID: 20NgE5e7Cuz

--HG--
extra : rebase_source : 6da7b73504843b1062daff2b6977743114c2591e
2016-03-02 13:05:43 +09:00
Nathan Froyd 9d78c6759b Bug 1252901 - don't use ScopedFreePtrTraits in MediaEngineWrapper.h; r=jesup
ScopedFreePtrTraits is somewhat of an internal implementation detail of
Scoped.h, and it's not hard to write out the two static functions we
need from ScopedFreePtrTraits anyway.  Removing this means that we can
clear the way for ScopedFreePtr to be removed.
2016-03-02 11:43:58 -05:00
Mike Hommey 1ba1737ec0 Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested. r=jesup 2016-03-03 06:28:10 +09:00
Jan-Ivar Bruaroey fe08f0669c Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : c3750d3ed62d99d05cf2b637ef06001b5a9c347e
2016-02-28 09:19:23 -05:00
Julian Seward 0c7e11d71b Bug 1252073 - Uninitialised value uses in mozilla::EncodingConstraints::operator==. r=docfaraday@gmail.com.
--HG--
extra : rebase_source : 705e0e821163e8f49d591d77ad306e317884d1c9
2016-03-02 12:29:36 +01:00
Wes Kocher 6866309c97 Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)

MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00
Nathan Froyd 70d7688ee3 Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.

This patch merits a couple explanations:

- Where it made sense, I tried to convert:

    T* foo() {
      UniquePtr<T> x = ...;
      ...
      return x.release();
    }

  into:

    UniquePtr<T> foo()

  with corresponding changes inside |foo|'s body.

- The attentive reader will note that:

    auto x = MakeUnique<T>(...);

  is used sometimes and:

    UniquePtr<T> x(new T(...));

  is used sometimes.  I would prefer to use the former, but was stymied
  in several places due to protected constructors.  (MakeUnique doesn't
  have access to those protected constructors, natch.)
2016-02-26 14:52:15 -05:00
Byron Campen [:bwc] cb39275975 Bug 818618: Honor (and emit) opus stereo fmtp param. r=jesup
MozReview-Commit-ID: IgA305eiu1s

--HG--
extra : rebase_source : bc94c0c18bb95af7e2f9eb27dcda6a5699264ab1
2016-02-26 10:47:03 -06:00
Sebastian Hengst b63895fdbf Backed out changeset 4cc3fae66ffb (bug 1250990) for frequent failure of modified test test_peerConnection_scaleResolution.html. r=frequentorange 2016-02-28 09:59:16 +01:00
Jan-Ivar Bruaroey 2f66effab3 Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : 1e039392219000830d869f0ad5432a297f6d6987
2016-02-26 16:16:11 -05:00
Eric Rahm e9c93e58a3 Bug 1251737 - Remove remaining references to MOZILLA_XPCOMRT_API from media. r=jesup 2016-02-27 11:12:07 -08:00
Eric Rahm 2917e8395e Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Wes Kocher 72d9604d91 Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)

MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm 6968bce012 Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Byron Campen [:bwc] 50802e775a Bug 1249098: Support maxplaybackrate for opus. r=jesup
MozReview-Commit-ID: 7BKVFkbPgV2

--HG--
extra : rebase_source : 3ef372486a8c608c780e864412942e8819cc3f88
2016-02-18 14:13:35 -06:00
Byron Campen [:bwc] a2f128dc8b Bug 1247656: Make sure that remote reoffer does not change the media type of an m-line. r=drno
MozReview-Commit-ID: DFXgLuSW6nM

--HG--
extra : rebase_source : f8872a6e7d9dc2aecbbfbfa46497176f63d21282
2016-02-11 13:00:58 -06:00
Jan-Ivar Bruaroey c4ea91fa82 Bug 1247619 - add console warning about OAuth for STUN not yet supported. r=jesup,smaug
MozReview-Commit-ID: L0nViIWiIDn

--HG--
extra : rebase_source : 3d463e85c811426384a758dca3b0a82370c22099
2016-02-25 00:24:16 -05:00
Jan-Ivar Bruaroey ceba79f2b0 Bug 1244913 - resolution-based bitrates for each simulcast layer, scaleResolutionDownBy, and working maxBitrate in unicast. r=bwc,jesup
MozReview-Commit-ID: 347J1ElsOEx

--HG--
extra : rebase_source : 33eff52e6082815d732de49a2bac584cfc9c87c4
2016-02-12 19:56:56 -05:00
Jan-Ivar Bruaroey f7040b1412 Bug 1244913 - change SelectBandwidth to SelectBitrates. r=jesup
MozReview-Commit-ID: Gc5WN7JIozV

--HG--
extra : rebase_source : 86bc3281c3f2db284555c498436c4a6469148647
2016-02-12 16:08:00 -05:00
Randell Jesup 831c3445c4 Bug 1248335: avoid using SvcInternal structure entirely, as system-vpx may not have it r=pkerr
MozReview-Commit-ID: 146FTSGQ8Ck
2016-02-23 11:55:24 -05:00
Nathan Froyd 689320c0d0 Bug 1249369 - use UniquePtr instead of nsAutoArrayPtr in MediaPipeline.cpp; r=jesup 2016-02-18 14:09:23 -05:00
Paul Kerr [:pkerr] 04967dd524 Bug 1240790: Add newlines to WEBRTC_TRACE_FILE. r=rjesup 2016-02-18 13:16:26 -08:00
Byron Campen [:bwc] 87730e478f Bug 1241153: Stop blocking addTrack on GMP init, and update codecs on existing tracks when GMP init finishes. r=jesup
MozReview-Commit-ID: GqUBh0O5Dpk

--HG--
extra : rebase_source : 5b38531baf499b91c57ecc3cb6ddf9c10c8d5f15
2016-02-12 14:21:33 -06:00
Nathan Froyd 746ba1a2f5 Bug 1248770 - change sdp_unittests to cope with diverse c++ standard interpretations; r=jesup
The C++ standard, [facet.num.get.virtuals], defines the method to be
used for reading numeric values from an iterator.  The core loop is
defined thusly in N3242 (the draft for the C++11 standard):

  Stage 2: If in==end then stage 2 terminates. Otherwise a charT is
  taken from in and local variables are initialized as if by

    char_type ct = *in;
    char c = src[find(atoms, atoms + sizeof(src) - 1, ct) - atoms];
    if (ct == use_facet<numpunct<charT> >(loc).decimal_point())
      c = '.';
    bool discard =
      ct == use_facet<numpunct<charT> >(loc).thousands_sep()
      && use_facet<numpunct<charT> >(loc).grouping().length() != 0;

  where the values src and atoms are defined as if by:

    static const char src[] = "0123456789abcdefxABCDEFX+-";
    char_type atoms[sizeof(src)];
    use_facet<ctype<charT> >(loc).widen(src, src + sizeof(src), atoms);

  for this value of loc.

  If discard is true, then if '.' has not yet been accumulated, then the
  position of the character is remembered, but the character is
  otherwise ignored. Otherwise, if '.' has already been accumulated, the
  character is discarded and Stage 2 terminates.

  If the character is either discarded or accumulated then in is
  advanced by ++in and processing returns to the beginning of stage 2.

  Stage 3: The sequence of chars accumulated in stage 2 (the field) is
  converted to a numeric value by the rules of one of the functions
  declared in the header <cstdlib>:

    - For a signed integer value, the function strtoll.
    - For an unsigned integer value, the function strtoull.
    - For a floating-point value, the function strtold.

The important part for our purposes here is the line:

    char c = src[find(atoms, atoms + sizeof(src) - 1, ct) - atoms];

which implies that we are to accumulate any and all characters that
might be numerical constituents.  According to the spec text, we might
accumulate a long run of numeric constituents, only to decide in stage 3
that our accumulated string cannot be a valid number.  Please note that
this includes characters like 'x' and 'X' which are only valid as part
of a hexadecimal prefix.

sdp_unittests has a number of tests that look like:

  ParseInvalid<SdpImageattrAttributeList::XYRange>("[x", 1);

The test converts the input string to a stringstream, and attempts to
read an integer from the stream starting after the '[' character.  The
test expects that no input from the string stream will be consumed, as
the character 'x' cannot begin any number, and thus the position of the
stream after failure will be 1.  This behavior is consistent with MSVC's
standard library, libstdc++, and stlport.

However, libc++ uses a different algorithm that appears to hew more
closely to the letter of the spec, and consumes the 'x' character as
being a valid constituent character ("accumulates" in the above text).
The string is rejected as an invalid integer, yet the position of the
string stream afterwards is different from what the test expects, and we
therefore fail.

This patch therefore alters a number of tests to use a different invalid
character, 'v', that both the incremental algorithm (MSVC, libstdc++,
stlport) and the all-at-once algorithm (libc++) will recognize as not
being a valid constituent character and stop the parsing early, as
expected.  You might think that specifying the base for numeric input as
std::dec would work, and it partially does, but reading floating-point
numbers still reads the 'x' characters (!).
2016-02-16 21:09:34 -05:00
Wes Kocher c9708caf53 Backed out changeset d2cb189066ea (bug 1247656) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures
--HG--
extra : commitid : uaVd6qwUQY
extra : rebase_source : 09d7a5cca83c8599b916d217176821742d703b98
2016-02-16 16:40:38 -08:00
Aidin Gharibnavaz 6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Byron Campen [:bwc] 89cf5038bd Bug 1247656: Make sure that remote reoffer does not change the media type of an m-line. r=drno
MozReview-Commit-ID: DFXgLuSW6nM

--HG--
extra : transplant_source : %5E%C8%96s%13%D3%B0%B0%E9%AD%B5%82%D6xS%81%9Db%BB%BE
2016-02-11 13:00:58 -06:00
Nils Ohlmeier [:drno] 949d6d2169 Bug 1247547: removed double accounting for WEBRTC_ICE_ADD_CANDIDATE telemetry probes. r=bwc
MozReview-Commit-ID: 43nNMVFLqT

--HG--
extra : rebase_source : e18ff21cd0df144b4ecfcccee0bd36f4eae22978
2016-02-11 02:16:03 -08:00
Nathan Froyd 778b4efbe3 Bug 1247395 - use UniquePtr for control messages in MediaStreamGraphImpl; r=roc 2016-01-20 16:14:33 -05:00
[:ng] 48405f6b0c Bug 1241321 - No RTCP stats for audio streams. r=rjesup
AudioConduit was calling a deprecated and unimplemented to get SenderInfo RTCP stats.
2016-01-29 14:45:21 -08:00
Aidin Gharibnavaz 686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Paul Kerr [:pkerr] d7144f8634 Bug 1219339 - Part2: Ensure close of webrtc trace file during shutdown. r=rjesup 2016-02-10 13:10:46 -08:00
Karl Tomlinson 26abc0481b bug 1242991 correct vpx include path and vpx/svc_context.h visibilty r=glandium
to fix up --with-system-vpx after f442638a.

--HG--
extra : rebase_source : befad1990f2b4c48b39e27549d19efa22733bf61
2016-02-05 12:06:11 +13:00
Carsten "Tomcat" Book 5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz 69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Nils Ohlmeier [:drno] fa121cafb8 Bug 1246011: fixed PT comparising for PT's without rtpmap. r=jesup
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html => dom/media/tests/mochitest/test_peerConnection_basicAudioDynamicPtMissingRtpmap.html
extra : commitid : TUmPCn4bqt
2016-02-05 11:58:05 -08:00
Randell Jesup 03eddd0c39 Bug 1219339: switch GetStaticInstance to use IPC's Singleton<T> impl r=froyd
--HG--
extra : commitid : IuHdc4L6ejy
2016-01-14 00:16:49 -05:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Byron Campen [:bwc] 32e2d5f4f5 Bug 1234578 - Assert if PCM is destroyed improperly. r=rjesup 2016-01-29 14:54:47 -06:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Randell Jesup dbf282a817 Bug 1242199: Add lower-limit WebRTC bandwidth pref for testing r=pkerr
--HG--
extra : commitid : EHEwqw6bVUo
2016-01-28 23:49:46 -05:00
Randell Jesup fd24a3b3e7 Bug 1243607: make webrtc bitrate prefs take precedence over automatic bitrate selection r=pkerr
--HG--
extra : commitid : HtWKNcs82ul
2016-01-27 21:55:42 -05:00
Paul Kerr [:pkerr] 76bf81396a Bug 1221786: clear about:webrtc logs for private browsing sessions. r=jib
No WebRTC session statistics will be saved until all PeerConnections
in private browsing window end. In addition, the shared
WebRTC ICE signalling log for that e10s process is disabled until the
private session close.
2016-01-26 08:08:25 -08:00
Nigel Babu 52e658cd38 Backed out changeset ebf10602138c (bug 1243607) for test_peerConnection_verifyVideoAfterRenegotiation.html timeout
--HG--
extra : commitid : 2RDOIw8wAhl
2016-01-28 13:24:31 +05:30
Nigel Babu 9dd439fe49 Backed out changeset 5d8f454c269e (bug 1243607) for test_peerConnection_verifyVideoAfterRenegotiation.html timeout
--HG--
extra : commitid : Jfko6prmIUe
2016-01-28 13:24:23 +05:30
Randell Jesup 04d1e65b1b Bug 1243607: Fix out-of-order limit checks in WebRTC bandwidth settings rs=me
--HG--
extra : commitid : 22DKuIZamKy
2016-01-28 00:37:41 -05:00
Randell Jesup 2159633370 Bug 1243607: make webrtc bitrate prefs take precedence over automatic bitrate selection r=pkerr
--HG--
extra : commitid : BucIx6HVN94
2016-01-27 21:55:42 -05:00
Paul Kerr [:pkerr] 447a27169b Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking 2016-01-27 16:05:10 -08:00
Nils Ohlmeier [:drno] 87de5ad0b4 Bug 1242334: fixed jesp session test bustage CLOSED TREE. r=jesup r=bustage
--HG--
extra : commitid : 6WtA2MLaZVw
extra : rebase_source : a42ed180fbff4a01fffa013556d2c34ad208b331
extra : amend_source : 9b32b0a5a3deebc4c8f7fc6ada727e81872b359c
2016-01-25 00:28:41 -08:00
Randell Jesup c4520934b1 Bug 1242324: Give VP9 priority over vp8 when both are enabled r=drno
--HG--
extra : commitid : ARZrtrGG0ja
2016-01-25 01:46:08 -05:00
Randell Jesup f79e348154 Bug 1237023: Update of cherry-pick of VP9: add some base files, compiles-and-works r=pkerr
--HG--
extra : commitid : 42V8IDF0h4P
2016-01-24 23:14:05 -05:00
Randell Jesup 569565ac43 Bug 1237023: Cherry-pick VP9 packetization/jitter-buffer/encoder code from Webrtc.org 48 r=pkerr
--HG--
extra : commitid : 5RePHoOVY7a
2016-01-24 23:13:26 -05:00
Byron Campen [:bwc] 6f5f7e1a52 Bug 1231507 - Part 1: selectSsrc chrome-only API for SSRC-based filtering of receive tracks. r=drno, r=smaug
--HG--
extra : commitid : ASGibrJIDtF
extra : transplant_source : %2B%E9%8F%83-%9E%E3w%D0t%D1%B1%B0%88Q%B1%7B%83%5BS
2015-12-09 15:37:38 -05:00
Paul Kerr [:pkerr] a54d125d20 Bug 1237630 - Part 2: remove LOG statement generating a now defunct error condition. r=rjesup 2016-01-21 07:58:37 -08:00
Paul Kerr [:pkerr] 46f6cc51f8 Bug 1237630 - Part 1: Video freeze from WebRTC sender. r=rjesup
Removed captured frame to codec config frame size check: revert to allowing
the encoder to handle frame size changes dynamically.

Re-enable frame size update handling in VP8 Encode.
2016-01-21 07:54:03 -08:00
Sebastian Kaspari adef18c336 Bug 1216529 - WebRTC: Request camera permission before accessing camera APIs. r=gcp
--HG--
extra : commitid : IefMhGbeKW0
extra : rebase_source : 1966ce69c4f7c7147dbea0e7cb2080ed42a5a442
2016-01-15 19:16:02 +01:00
Michael Froman 13a82c11bf Bug 1166832 - Add test to verify video (using capture stream) after renegotiation. r=bwc
--HG--
extra : transplant_source : I%AB%28%AA%D6%91%8F%CA5%8A%D9%0C%F2%8A%CD%B8m%DE%D7%05
extra : histedit_source : 1d30b92a3c6d128c24cfbb1f8778c665a6bb9eca
2016-01-13 20:59:52 -06:00
Jan-Ivar Bruaroey 0d8258e908 Bug 1232082 - fix removal of remote tracks to update receivers. r=jesup
--HG--
extra : transplant_source : %A5%E4%8BSEujxc7%7B%9D%C0%FFhb%1F%CC9%80
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey ddcdf769db Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : transplant_source : %BA%B7%0B%AD%EA%24%19R%93-%9F%CF%82%10%CE%8B%DC4%FB%15
2016-01-12 15:09:01 -05:00
Randell Jesup 366f31666c Bug 1226387: Add sanity check to RTCP header parser r=pkerr 2016-01-15 23:26:47 -05:00
Eric Rahm 4863f3e5ec Bug 1239866 - Remove signaling standalone tests. r=bwc 2016-01-15 12:18:39 -08:00
Ryan VanderMeulen 330ca20363 Merge m-c to inbound. a=merge 2016-01-14 11:29:29 -05:00
Ryan VanderMeulen 974ce4c9cc Backed out changeset fbb19b60d24a (bug 1219339) for Windows XP crashtest permafail. a=backout 2016-01-14 11:27:40 -05:00
Randell Jesup 3a110e2974 Bug 1219339: switch GetStaticInstance to use IPC's Singleton<T> impl r=froyd 2016-01-14 00:16:49 -05:00
Phil Ringnalda 39b2d1946d Back out 3 changesets (bug 1232082) for causing a variety of Android webrtc failures including causing bug 1239200
CLOSED TREE

Backed out changeset 1c8afc8ea1c1 (bug 1232082)
Backed out changeset d8ec4008871e (bug 1232082)
Backed out changeset fa3363702d51 (bug 1232082)
2016-01-12 22:33:17 -08:00
Jan-Ivar Bruaroey d52f44ef17 Bug 1232082 - fix removal of remote tracks to update receivers. r=bwc
--HG--
extra : rebase_source : 5bbf19d6843654f6402e2779845729a1bec62de9
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey b3526e95e1 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : fea25f937aca628960e665d9655c60806dd7e7f5
2016-01-12 15:09:01 -05:00
Wes Kocher cadac86336 Backed out 3 changesets (bug 1232082) for wpt bustage in rtcpeerconnection-idl.html
Backed out changeset ec89afa7163c (bug 1232082)
Backed out changeset 47de4d036349 (bug 1232082)
Backed out changeset a595577a8247 (bug 1232082)

--HG--
extra : commitid : 6KuHiKS94jA
2016-01-12 11:07:51 -08:00
Jan-Ivar Bruaroey 35b62a4704 Bug 1232082 - fix removal of remote tracks to update receivers. r=bwc
--HG--
extra : rebase_source : 79d2a719cf9bd19ef908330438c2cdfe4eb6a80e
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey 4a7de0b9d5 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : ce468d0972aa79dc4abb3669d46d7e62f9128693
2016-01-04 12:46:21 -05:00
Eric Rahm 1828042c1f Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Phil Ringnalda 52aade6b43 Back out 3e168e5a04bf (bug 1174972) for build bustage
CLOSED TREE
2016-01-11 20:04:40 -08:00
Eric Rahm f8d0e8949c Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Nicholas Nethercote 71ba19f700 Bug 1237151 (part 2) - Remove ignored qualifiers in WebRTC-relate code. r=jesup.
--HG--
extra : rebase_source : d61bf03c677bf90cc235168a5e6b82fb073a1598
2016-01-07 15:43:38 -08:00
Ralph Giles 009523db50 Bug 1229475 - webrtc: Call opus tonality_analysis_init. r=jesup
This activates the asm optimizations in libopus 1.1.1 and later.
2016-01-05 09:11:19 -08:00
Jan-Ivar Bruaroey 38ee4c5f0c Bug 1230184 - add input parameter validation to setParameters. r=bwc
--HG--
extra : rebase_source : 184f1d2870e97d06706ea2e50520de39320b73b8
2015-12-31 10:32:25 -06:00
Jan-Ivar Bruaroey 5855c2732e Bug 1230184 - plumb setParameters down to JsepTrack. r=bwc, r=mrbkap
--HG--
extra : commitid : 4IT4rENtDxn
extra : rebase_source : 72aef2d743c0afe6be8031226c11d9891b2a4ef7
extra : amend_source : 567f1abc770a0fcf04748b251ef43aaed9f0d99f
2015-12-31 10:32:24 -06:00
Byron Campen [:bwc] 56058a104b Bug 1230197: Plumb negotiated simulcast down to webrtc.org. r=jesup
--HG--
extra : commitid : 4QvkDnISm1r
extra : rebase_source : 829d3123679b5d0c6d4e0bc0c8704086aabff4b0
2015-11-11 10:11:55 -06:00
Randell Jesup e527489ee4 Bug 1234571: unregister encoded-frame callback when releasing codec databases r=pkerr 2015-12-31 16:36:39 -05:00
Randell Jesup 913ef0d5c0 Bug 1210170: Add RID header extension send/receive/query support r=pkerr 2015-12-10 15:42:24 -05:00
Andreas Pehrson bb96f012d0 Bug 1232046 - Do not set a too low send bitrate in VideoConduit. r=jesup
--HG--
extra : commitid : JQgdklGkMRD
2015-12-11 16:27:33 -05:00
[:ng] 95eabf5454 Bug 1196542 - share only windows with non-zero area. r=pkerr 2015-12-11 09:02:00 -08:00
Jan Beich 59274cab04 Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup
--HG--
extra : transplant_source : P%FC%E3%29%07%05%D4%8DA%A7%89%90%26%B4%D5%E2%60%89%0C%B0
2015-12-03 12:28:22 +00:00
Jan-Ivar Bruaroey 1eb7b6baab Bug 1198345 - Split moar Hello Telemetry values from general WebRTC. r=jesup
--HG--
extra : transplant_source : %D3%26W%10y%14%B1%2B%94%E2%AFQ%85C%C6%A2%7E%F8%C8v
2015-12-10 23:38:02 -05:00
Byron Campen [:bwc] ae07995683 Bug 1231196: Fix init of PeerConnectionImpl::mThread for unit-tests and similar. r+drno
--HG--
extra : commitid : 8k9GcSpg0VM
extra : rebase_source : 46e5e41f8fd8565f73177a39a2428acd28efc12c
2015-12-08 16:39:43 -05:00
Jan Beich b0cfac53cd Bug 1231106 - Make BSDs fall-through to ASSERT as well. r=jesup
--HG--
extra : transplant_source : %E9%AA%E9%B4D-%1FV%80%AF%EF%B0%A6%DEq%ADS%3B%FD%CB
2015-12-03 12:18:29 +00:00
Byron Campen [:bwc] bc30932b74 Bug 1192390 - Part 2: Simulcast and RID negotiation. r=mt
--HG--
extra : transplant_source : %D1%CAj%05%C7%7B%92%D9%CDV%24j%FF%CB%24B%D4%03%92%5E
2015-11-02 09:32:16 -06:00
Byron Campen [:bwc] dac8417d25 Bug 1192390 - Part 1: Lay architectural groundwork for simulcast negotiation. r=mt r=jesup
--HG--
extra : transplant_source : %CEG%9Fm%F3%20%9CH%F5%F5r%A2s%D7%C9%00%A2%B8G%25
2015-10-21 17:07:08 -05:00
Gian-Carlo Pascutto cb4e1a83eb Bug 1228788 - Force QT device release to happen on the main thread. r=jesup 2015-12-03 15:11:15 +01:00
Bogdan Postelnicu 1bb9612250 Bug 1227481 - added a memset on aec. r=jesup 2015-12-02 05:05:00 +01:00
Alexandros Chronopoulos 6aab2674ce Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
EKR 764814bceb Bug 1227781 - Fix crash with bogus STUN parameters. r=bwc 2015-11-30 12:15:19 -08:00
Carsten "Tomcat" Book b9c3b3b73f Backed out changeset 5ecd639be1a4 (bug 1202087) for bustage 2015-11-26 12:44:02 +01:00
Alexandros Chronopoulos aeef183f90 Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Paul Kerr [:pkerr] c4670b9125 Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup 7d22cc9c0c Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Wes Kocher dba42704d1 Backed out 2 changesets (bug 1226347) for build bustage CLOSED TREE
Backed out changeset da34ad5d6957 (bug 1226347)
Backed out changeset 63d13b6b43ee (bug 1226347)

--HG--
extra : commitid : 4yYcYyidto4
2015-11-24 09:02:03 -08:00
Paul Kerr [:pkerr] 46b05602ec Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup 05d80d2f86 Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Boris Zbarsky 35f1292e72 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Randell Jesup 9cf12febe9 Bug 1220493: clean up validation of RTP headers r=pkerr 2015-11-19 11:49:25 -05:00
Landry Breuil f468ad9584 Bug 1226146: fix sndio audio_device backend after webrtc 43 landing in bug 1198458 r=jesup NPOTB 2015-11-19 09:48:26 -05:00
Byron Campen [:bwc] d43453c07e Bug 1175609 - Bring onnegotiationneeded in line with spec. r=mt
--HG--
extra : transplant_source : %D3Z%87AP%CC%BA%AA%0B%27z%A9bh%01%0A3%40%C7U
2015-11-16 17:05:39 -06:00
Randell Jesup d116f80e84 Bug 1198458: Fix typo in merges in OMX rs=bustage,kwierso
on a CLOSED TREE
2015-11-18 15:55:24 -05:00
Jan Beich 16d38a8bc6 Bug 1198458 Unbreak build on BSDs by fixing non-POSIX thread includes/usage. r=jesup
on a CLOSED TREE
2015-11-18 15:21:51 -05:00
Randell Jesup 9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Randell Jesup 1d652361f7 Bug 1198458: Webrtc updated to branch 43; pull made 2015-09-29 09:00AM PDT rs=jesup
https://chromium.googlesource.com/external/webrtc
git checkout -b my_branch refs/remotes/branch-heads/43
commit 6979b024d7cebfdcd1e8f66da59ea157bbc9e47e (I believe)

--HG--
rename : media/webrtc/trunk/webrtc/build/tsan_suppressions_webrtc.cc => media/webrtc/trunk/webrtc/build/sanitizers/tsan_suppressions_webrtc.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/fft4g.c => media/webrtc/trunk/webrtc/common_audio/fft4g.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.c => media/webrtc/trunk/webrtc/common_audio/ring_buffer.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.h => media/webrtc/trunk/webrtc/common_audio/ring_buffer.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc => media/webrtc/trunk/webrtc/common_audio/ring_buffer_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_tests.isolate => media/webrtc/trunk/webrtc/modules/audio_coding/audio_codec_speed_tests.isolate
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_fec_quality_test.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.h => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/digital_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c
rename : media/webrtc/trunk/webrtc/system_wrappers/source/system_wrappers_unittests.isolate => media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_unittests.isolate
2015-11-18 15:03:22 -05:00
Landry Breuil 679a3084dd Bug 911450: followup, fix CriticalSectionScoped scope NPOTB r=jesup 2015-11-17 19:05:52 +01:00
Carsten "Tomcat" Book a22ff2640a Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book 1cf9b8b2ab merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Landry Breuil 3f9b5a64be Bug 911450: webrtc sndio audio_device backend r=jesup
Most of the code originally from Alexandre Ratchov <alex@caoua.org>
2015-11-16 23:14:16 +01:00
Nils Ohlmeier [:drno] 1d8c0abcc0 Bug 1221837 - Accept hard coded codec numbers without rtpmaps. r=bwc
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio.html => dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html
extra : rebase_source : ca8ab16272e2b3fc58019518d3d31e43430e7283
2015-11-15 23:26:46 -08:00
David Anderson 8e086a182c Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson 27bfc27d62 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
Wes Kocher c0ece6bf0d Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Byron Campen [:bwc] a52533a8a3 Bug 1218326: Prevent datachannel operations on closed PeerConnections. r=jesup a=lizzard
--HG--
extra : commitid : 40ebY3LMneO
extra : rebase_source : b66bef2b46b8a70932e38824128cd930a9fba987
2015-10-28 12:48:17 -05:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Jan de Mooij dabcd72958 Bug 1237201 part 6 - Handle Vector OOM in media/webrtc/. r=jesup 2016-01-14 15:19:33 +01:00
Randell Jesup d7077c329c Bug 1218217: bustage fix for static assert r=bustage
on a CLOSED TREE
2016-01-14 02:35:45 -05:00
Randell Jesup 6036210fe2 Bug 1218217: avoid buffersize overflow even if codec is unbounded in dimensions r=pkerr 2016-01-14 02:08:46 -05:00
Randell Jesup f2eebc5e16 Bug 1237224: Check sending framesize is set before calculating max fps when max-mbps is negotiated r=pkerr 2016-01-14 02:06:44 -05:00
Nils Ohlmeier [:drno] 6c9e203103 Bug 1223160 - added SDP parser file reader. r=bwc
--HG--
extra : rebase_source : f9f2057941364a4a496eb577f34b92c62550daaf
2015-11-09 13:57:29 -08:00
Wes Kocher f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk 3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Randell Jesup d90f4749ea Bug 800564: Handle MJPEG decode errors r=abr 2015-11-09 13:08:06 -05:00
hsteinbr e216ff61fb Bug 1211656 - GUM Constraints for screen sharing don't affect stream resolution. r=jib 2015-11-04 19:06:00 +01:00
Jeff Muizelaar bcf6317ef4 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-06 13:55:31 -05:00
Mike Hommey 762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Nathan Froyd e763192040 Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo 2015-11-05 16:24:24 -05:00
Michael Froman e3f3d60e8c Bug 1192813 - update the default candidate as new candidates arrive. r=bwc 2015-10-01 10:20:11 -05:00
Nicolas Silva 1ebb1e2bb7 Bug 1219330 - Handle PlanaYCbCrImage::SetData failure. r=jya, jesup 2015-11-03 12:24:26 +01:00
Randell Jesup ab137c3506 Bug 1176340: short-circuit self-assignment of DesktopDisplayDevice r=jib 2015-11-02 16:51:59 -05:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Makoto Kato 4e0d8487b0 Bug 1220043 - Add workaround for internal complier error by VS2015. r=rjesup 2015-10-30 17:08:30 +09:00
Makoto Kato b119d108ab Bug 1219566 - Add aarch64 macro to webrtc/trunk/build/build_config.h. r=rjesup 2015-10-30 17:08:25 +09:00
Nicholas Nethercote a34d272e2b Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
--HG--
extra : rebase_source : 1efcfb2522e823e55b5c7b77531a9d2c42c49c8b
2015-10-22 23:01:31 -07:00
Byron Campen [:bwc] 2a66036623 Bug 1212908 - Update a=simulcast to match new grammar in 03 draft. r=mt
--HG--
extra : transplant_source : %16%0B8%F7%12%C4%E18j%BF%C4%F6%8A%F3%96p_%90Q%96
2015-10-20 10:31:26 -05:00
Nils Ohlmeier [:drno] 380290f5b6 Bug 1198883 - Part 2: Added WebRTC ICE candidates to Telemetry. r+vladan
--HG--
extra : transplant_source : %19%C7%F3%06%7F%86%08%3Bx%C4%C7%E8%F7Q%D1%0EN%AE%E6%EC
2015-10-08 14:44:50 -07:00
Nils Ohlmeier [:drno] de1c29e7b4 Bug 1198883 - Part 1: Improve ICE candidates telemetry probes. r=bwc
--HG--
extra : transplant_source : %A7J%AD%B6P%B0%95%B1_o%11n%25%A0%9DI%AE%DB_%26
2015-10-08 13:32:32 -07:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Eric Rahm f296bb10b2 Bug 1174785 - Part 0: Use mozilla/StaticPtr.h in signaling. r=jesup
Moving xpcom/glue/Logging.h to xpcom/base/Logging.h causes build failures in
signaling due to include conflicts. Rather than having signaling include
'xpcom/base' directly we can switch it over to using the installed headers
under 'mozilla'.

--HG--
extra : rebase_source : aff44b19c23a1948a9c03b2fd4886be6280422a7
2015-10-15 12:02:28 -07:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Byron Campen [:bwc] 61d275e7db Bug 1212907 - a=rid support. r=mt
--HG--
extra : rebase_source : a9547d76a83de75304db263a5beb67295a362238
2015-10-08 16:55:39 -05:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Sebastian Hengst 5436f69da6 Bug 1113443 - reject each media type with approriate default. r=bwc 2015-10-11 18:13:09 +02:00
Nils Ohlmeier [:drno] 2008bdc867 Bug 1211091 - use upper boundary for streams per data channel. r=bwc
--HG--
extra : transplant_source : %01%C3%B6%8C4%BA%7C%D2M%F6%98e%D5h%828%20%8D%17%FE
2015-10-02 21:18:48 -07:00
Andreas Pehrson 937747498a 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.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Andreas Pehrson 2802ee3e88 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.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4bed5dffe66b71b7ad23f4c02531d84af25cd316
2015-09-30 09:31:53 +08:00
Martin Thomson afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book 4952084732 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
Martin Thomson 9c3bef623e Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Wes Kocher 03a1803261 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 f4030f94ef Bug 1207824: Add Telemetry for WebRTC call type, simultaneous tracks, and renegotiations r=bwc 2015-09-25 14:23:01 -04:00
Andreas Pehrson eacfc2cf0e 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.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson 7aca9eb1fd 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.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:17 +08:00
Nicholas Nethercote 842dd1cf5a 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.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Randell Jesup 69e6fe68f6 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 93f63e0a1a Bug 953265: Update webrtc/getUserMedia default audio capture rate to 32KHz r=padenot 2015-09-24 09:23:37 -04:00
Randell Jesup 6027a43516 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] d8aad7f00e Bug 1206981 - prevent ICE TCP from being turned off under e10s. r=jesup
--HG--
extra : rebase_source : 22fff856ca08d7f5d35f0d562e39ba925653ecc5
2015-09-21 17:55:23 -07:00
"Chih-Kai (Patrick) Wang" 028e16c84d 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
Michael Froman 41d164744a Bug 1095793 - use mid if provided to place candidate in msection. r=bwc
--HG--
extra : rebase_source : e85bbde1c0cbd3733f82a11c98245079ea1cbf5c
2015-09-10 13:20:09 -05:00
Gian-Carlo Pascutto 7979c10284 Bug 1192203 - Extract a robust version of getSupportedPreviewFpsRange. r=jesup 2015-09-16 16:17:49 +02:00
Byron Campen [:bwc] 28466e3c45 Bug 1203246 - Factor track negotiation stuff out of JsepSessionImpl, and other simplification. r=mt
--HG--
extra : rebase_source : b409ca7f76ed9db9ec639e16b82590ae0c2f9bb6
2015-08-25 08:16:38 -05:00
Nils Ohlmeier [:drno] 2eb4be8e7c Bug 1204082 - try strtoull instead. r=mt
--HG--
extra : rebase_source : 70d4de95ee6f7757a8b37ed609dd8efb9ee05107
2015-09-14 16:33:28 -07:00
Martin Thomson f2d864c210 Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc
--HG--
extra : commitid : 76muueM8Vfu
extra : amend_source : 0bdbcb10d875a100a91fd583bb863958a24c127c
2015-09-15 10:28:34 -07:00
Byron Campen [:bwc] c59ebacca3 Bug 1186590 - Part 2 - Move hard-coded interface priority list into nrinterfaceprioritizer, and simplify some functions. r=drno
--HG--
extra : rebase_source : 63cd39c3a1b721c78244064b32338643c7e0e436
2015-09-04 15:25:37 -05:00
Paul Kerr [:pkerr] 931b933075 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
Michael Froman 5b41dcab91 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
--HG--
extra : transplant_source : %A4P%E5%0CuZ%DE%86%D2%C5u%3FhV%DBe%A9%CD%BC%8C
2015-09-01 16:40:00 -05:00
Pavlo 9704fc6569 Bug 1037997 - Added possibility to choose monitors during screen capturing. r=florian,jesup
--HG--
extra : rebase_source : 6b2476d5c03dffa27c8a5c570ec1392d332b81d2
2015-09-03 07:24:00 +02:00