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

4004 Коммитов

Автор SHA1 Сообщение Дата
[: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
Byron Campen [:bwc] f1f2ee96b5 Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
MozReview-Commit-ID: 4q84yGspvyX

--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc] f3294c2565 Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
MozReview-Commit-ID: F7Dgk5gN4cs

--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc] 8e9153abea Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
MozReview-Commit-ID: 6hz0eCghYE0

--HG--
extra : rebase_source : 46b1221ab29c33455f7ceb3c0e149e4c8aaa2397
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc] 3a66dfe493 Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
MozReview-Commit-ID: DNinTza44la

--HG--
extra : rebase_source : 5d65d9a4c21ad113a2762ebf397b1e7b8f289dd5
2016-02-29 13:04:42 -06: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
Dan Minor 3b0b90c4ba Bug 1158741 - Implement a version of omxSP_FFTInv_CCSToR_F32_Sfs in openmax DL's FFT that is not scaled r=padenot
The new routine actually multiplies by two for consistency with the other FFT
routines in use.

MozReview-Commit-ID: Hk2Dg3fR2cQ

--HG--
extra : rebase_source : 08bdbbd65d372a3d0eb69568313cec33ccea6af3
2016-01-25 06:38:29 -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
Matthew Gregan 9ef5badfe1 Bug 1251504 - Update libnestegg to remove generated nestegg-stdint.h. r=giles 2016-02-26 15:38:14 +13: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
Eric Rahm 082b84fde2 Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm c9f8e6756f Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm d5bd208a66 Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm 0d0d8d2c9e Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -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
Eric Rahm 6c7be83907 Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm dc59103e98 Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm c93c9b8dbe Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm a90c690c9a Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -08:00
Glenn Randers-Pehrson 95cc84e607 Bug 1230757 - Update in-tree libpng to version 1.6.21. r=seth
--HG--
extra : rebase_source : a3385a5b90d364900095f037355141f342e43c49
2016-01-16 09:27:00 -05:00
Byron Campen [:bwc] ca4206043b Bug 1251214: Ignore R_WOULDBLOCK in nr_stun_client_send_request r=ekr
MozReview-Commit-ID: HLrvq4BqT9D

--HG--
extra : rebase_source : 4fdef84e82f8eec2f013b7c667bb0ac606ce0751
2016-02-25 11:34:27 -06: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
Jean-Yves Avenard fb123d02a5 Bug 1248483: Resync FFvpx to n3.0-1-g0aa2fbd. r=kentuckyfriedtakahe
MozReview-Commit-ID: JPOz0SldaSv
2016-02-18 11:34:06 +11: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
Louis Christie e7c36cac63 Bug 1231793: Part 1 - Added read functions for Little Endian integers to ByteReader.h. r=jya 2016-02-17 00:28:48 +11: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
Chris Peterson 40c713a733 Bug 1247536 - Fix -Wunreachable-code warning in media/mtransport/. r=drno
media/mtransport/nr_socket_prsock.cpp:1059:10: warning: 'return' will never be executed [-Wunreachable-code-return]
2016-02-10 22:23:32 -08: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
Nils Ohlmeier [:drno] 593e9d2dc5 Bug 1246363: add logging to detect if relay only option is set. r=mjf
--HG--
extra : rebase_source : b5c62327575846c894ce8e8b252bb7397ea913ac
2016-02-05 22:56:14 -08: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
Bogdan Postelnicu 81b7f293ba Bug 1246925 - log filtering_type and mapping_type only if they are valid pointers. r=ekr
--HG--
extra : transplant_source : %DDe%CE%AD%BA%A4%93%F5%96kv%DEV%D2hZ%A11%10P
2016-02-09 15:38:00 +02: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
Nils Ohlmeier [:drno] 59d2466489 Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup
--HG--
extra : transplant_source : %9Eg%1E%E0%B9%0E%5Eh%3EJK8uk%91s%EC%11I%17
2016-01-28 10:53:56 -08:00
Rudolfs Bundulis 6d6414c23e Bug 1235427: [mp4] Properly parse tfhd box. r=jya 2016-02-05 16:09:37 +11:00
Gerald Squelart 79f040d43b Bug 1237848 - Updated update.py patch - r=rillian 2016-02-04 11:29:02 +11:00
Gerald Squelart 422f564ea3 Bug 1237848 - Check lookahead ctx - r=rillian
Copied from https://chromium-review.googlesource.com/324510
2016-02-04 11:29:00 +11:00
Byron Campen [:bwc] 50a78a6abe Bug 1244338 - Don't try to clean up |ctx| if null. r=drno
--HG--
extra : transplant_source : %22%1Bw%13e%E3HU%CA%3E%EC%14%9Ce%9CR%B6g%7D%01
2016-02-01 16:22:17 -06:00
Byron Campen [:bwc] 139b740255 Bug 1231973 - Allow NAT simulator to be enabled with the pref system. r=drno
--HG--
extra : transplant_source : %DC%23%97%86a%7D-%C5%1BU%10%C4%13%5E%BE%D7%CA%9B%3B%8D
2015-12-16 14:26:02 -06:00
Nils Ohlmeier [:drno] 738a3eff1d Bug 1214269 - read multiple DTLS packets from NSS if present. r=mt r=jesup
--HG--
extra : rebase_source : 4024e950cf0fdd46c8b59cd4d4dafc6b8bae2115
2015-11-03 17:21:35 -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
Mike Hommey cadaf66585 Bug 1245035 - Move LOCAL_INCLUDES to moz.build in media/omx-plugin/lib/ics/libvideoeditorplayer. r=mshal 2016-02-03 08:41:24 +09:00
Mike Hommey 3e15f264a3 Bug 1245027 - Move LOCAL_INCLUDES to moz.build in media/libvpx. r=mshal 2016-02-03 08:41:23 +09: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
Jean-Yves Avenard fbeebd3375 Bug 1244523: [mp4] P3. Skip four bytes when we hit a zero length box, r=kentuckyfriedtakahe
Similar to bug 1180101, but don't handle only the last box in the file.
2016-02-02 16:27:48 +11:00
Byron Campen [:bwc] ea0d28b380 Bug 1231971 - Refactor the NAT simulator to use e10s sockets when appropriate. r=drno
--HG--
extra : transplant_source : %B4%2B%26%B8I%C5%E4%F9%83%A6%0B%21%D8%AA%D5%96%3B%B2%00%E1
2016-01-20 17:25:26 -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] 7282ddd04a Bug 1209252 - Part 2: typo fix for compile issue. r=bustage on a CLOSED TREE 2016-01-27 18:09:19 -08:00
Matthew Gregan 320852f1dd Bug 1243234 - Move mp4parse-rust initialization into constructor and clean up try_rust. r=giles
Initializing in the constructor better matches libstagefright's behaviour
(and avoids reading and copying the stream contents every time
GetNumberTracks() is called).

Also restricts the size of the buffer to 1MB.  This will be handled in the
future by passing the parser a DataSource-like interface for reading from
the stream.
2016-01-28 14:25:18 +13:00
Matthew Gregan d5fa024fbd Bug 1243234 - Remove now-unnecessary StagefrightPrivate wrapper. r=giles 2016-01-28 14:25:18 +13:00
Matthew Gregan 6e493e6d61 Bug 1243234 - Move mp4parse-rust code into MP4MetadataRust impl. r=giles
Most of the interface is stubbed with asserts and only GetNumberTracks() is
called on both libstagefright and mp4parse-rust variants.

This also moves the libstagefright vs mp4parse-rust comparisons up into
MP4Metadata.
2016-01-28 14:25:18 +13:00
Matthew Gregan 486dfd0798 Bug 1243234 - Hide MP4Metadata behind an impl pointer. r=giles
This is temporary (until libstagefright is removed) and intended to make
swapping between and comparing the results of the libstagefright and
mp4parse-rust versions simpler.
2016-01-28 14:25:18 +13:00
Ralph Giles 72a64368b4 Bug 1243234 - Update rust mp4parse telemetry reporting. r=kinetik
As of mp4parse 0.2.0 error codes are positive, as gecko telemetry
requires, so we no longer need to invert them. However, the return
code is still signed, so assert to catch future errors.

Also fix a bug in track comparison telemetry. We were only counting
tracks when parsing failed.
2016-01-28 14:25:18 +13:00
Ralph Giles f9d092e8c5 Bug 1243234 - Update rust mp4parse to v0.2.1. r=kinetik
- Invert return codes.
 - Preliminary VP9 and Opus sample entry support.
 - Fix a string parsing error which caused street.mp4 to fail.
2016-01-28 14:25:18 +13:00
Ralph Giles 7384fbc8ec Bug 1243234 - Update script for mp4parse v0.2.1. r=kinetik
Bump the default version.
2016-01-28 14:25:18 +13:00
Ralph Giles c95acf92c1 Bug 1243234 - Move mp4parse into a crate subdirectory. r=kinetik
If we can get this to work it will be less confusing, I think.

Byteorder has to be in a subdir while we're treating it as a mod.

We may have to add yet another directory when we have crate support
but until then all the rust code is at least self-contained..


--HG--
rename : media/libstagefright/binding/byteorder/mod.rs => media/libstagefright/binding/mp4parse/byteorder/mod.rs
rename : media/libstagefright/binding/byteorder/new.rs => media/libstagefright/binding/mp4parse/byteorder/new.rs
rename : media/libstagefright/binding/capi.rs => media/libstagefright/binding/mp4parse/capi.rs
rename : media/libstagefright/binding/MP4Metadata.rs => media/libstagefright/binding/mp4parse/lib.rs
2016-01-28 14:25:18 +13: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
Randell Jesup 2f02d39ab8 Bug 1243275: Update libcubeb to pick up device-change-notification changes and a pulse fix rs=kinetik
--HG--
extra : commitid : JltP68111Xr
2016-01-27 07:57:35 -05:00
Matthew Gregan 4691552993 Bug 1242807 - Fix mp4parse-rust's error reporting via telemetry. r=giles 2016-01-26 14:27:35 +13: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
Xidorn Quan 50bcfcc983 Bug 1237909 part 1 - Remove unused TransportLayer::RunOnThread function. r=bwc
--HG--
extra : source : ae64d2c13d73b49063fc5dfa655ed7750f3b7091
2016-01-25 14:52:34 +11:00
Nils Ohlmeier [:drno] f795a86676 Bug 1117984: added proxy connection state enum. r=bwc
--HG--
extra : rebase_source : 46ddbc54e9bd7d9d543b12cfe6147fa80e80f742
2016-01-20 15:55:35 -08:00
Landry Breuil 041d318a87 Bug 1242152 - fix sndio build after full-duplex API changes r=kinetik 2016-01-24 10:59:58 +01:00
Hector Zhao 1dc62e26a5 Bug 1153849 - Use MOZ_JPEG_CFLAGS when build libyuv with system jpeg. r=jesup
--HG--
extra : commitid : 9Yf4QRaNbw0
2016-01-21 23:19:13 +08:00
Nils Ohlmeier [:drno] 8bdb943452 Bug 1241690: reduce logging output for unconnected PCs. r=bwc
--HG--
extra : rebase_source : c2a1d73d3cb5f26df333c23dd94b35214f1d7721
2016-01-21 12:04:28 -08:00
Chris Peterson 1d19e74439 Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08: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
Randell Jesup fc4ef2aa30 Bug 1194259: nsresult != NS_IMETHODIMP rs=bustage
--HG--
extra : commitid : 8fAvxwbBFp7
2016-01-22 04:32:50 -05:00
Randell Jesup 22b767c6eb Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno
--HG--
extra : commitid : 2LptzIDH6lK
2016-01-22 02:47:01 -05:00
Randell Jesup 7fc3f9bbc1 Bug 1241476: Update libcubeb from upstream rs=kinetik
Import of upstream git rev 2de1ab50e16763fd88ec1b5bae30422de598eed0
Updated update.sh script as well

--HG--
extra : commitid : IsUrg2XOTM2
2016-01-21 22:17:46 -05:00
Wes Kocher 25c1f56cee Backed out changeset 01c279ae2fb4 (bug 1241476) for various crashes on win xp mentioning "winmm_stream_init" a=backout
--HG--
extra : commitid : Cix5ETsOD0B
extra : amend_source : 1929a90c36b2f8426bfe9c0815931136acb4c95e
2016-01-21 17:28:32 -08:00
Wes Kocher 6166dbbd53 Backed out changeset d31752600dfd (bug 1221587)
--HG--
extra : commitid : 7u1Rh7nXdPT
2016-01-21 17:28:15 -08: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
Randell Jesup 5cb957d7fb Bug 1221587: temporary Win32 build fixes for cubeb full-duplex patch rs=padenot
To be backed out/overwritten on next merge from upstream libcubeb

--HG--
extra : commitid : CQtyLPoncz2
2016-01-21 11:51:36 -05:00
Randell Jesup ef9e20cf89 Bug 1241476: Update libcubeb from upstream rs=padenot
Import from libcubeb git commit b364f9ce2f8f7c392055b94c350ce600892ce7bc

--HG--
extra : commitid : 49ZDL6OsQel
2016-01-21 11:51:35 -05:00
Carsten "Tomcat" Book 248f7a3dee merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
Jean-Yves Avenard 3190ce43f1 Bug 1237140: don't export unecessary symbol using VS2015. r=glandium 2016-01-20 12:04:49 +11:00
Jean-Yves Avenard 245784b7e6 Bug 1240627: [ffvpx] Enable AVX2 on mac. r=rillian 2016-01-20 09:50:27 +11: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
Matthew Gregan 5b692e3491 Bug 1238420 - Report mp4parse-rust errors via Telemetry. r=rillian,vladan 2016-01-10 20:54:00 +13:00
Matthew Gregan ce8ce06139 Bug 1238420 - Update mp4parse-rust invocations in MP4Metadata to match CAPI changes. r=rillian 2016-01-10 20:54:00 +13:00
Ralph Giles 66f8ae8fac Bug 1238420 - Update MP4Rust gtest for CAPI changes. r=kinetik.
mp4parse_read() returns a variety of error codes now.

Call mp4parse_get_track_count() to verify the number
of parsed tracks.
2016-01-11 11:26:00 +13:00
Ralph Giles 43e659e3cc Bug 1238420 - Update byteorder to v0.4.2. r=kinetik
Rebase patches against the new upstream release.
No changes on the client side are necessary.
2016-01-11 11:01:00 +13:00
Matthew Gregan 483076eb11 Bug 1238420 - Update mp4parse-rust to 0.1.6. r=kinetik
Bump default version in the update script and run it against
the tagged v0.1.6 upstream repo.
2016-01-11 11:02:00 +13: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
Nils Ohlmeier [:drno] 84c3a1de83 Bug 1237299: addedd missing address family to DNS lookup for proxies r=bwc
--HG--
extra : rebase_source : 3c699136033854c779e418f22d38cd11b784d2ef
2016-01-11 13:39:11 -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
Nathan Froyd b83566b4a1 Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -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
Ralph Giles cb77a8b5fe Bug 1239078 - Update libopus to 1.1.2 release. r=kinetik
This release fixes two bugs:

- Resetting the encoder or decoder state with OPUS_RESET_STATE would
  disable some run-time selected architecture-specific optimizations.

- In hybrid mode discontinuous transmission (DTX) operation, the
  comfort noise above 8 kHz was incorrectly estimated and could
  oscillate in time.
2016-01-12 17:10:53 -08:00
Ralph Giles 7095f1cc1d Bug 1239078 - Bump libopus update script for 1.1.2. r=kinetik
New upstream release.

This fixes a unified build issue with MAX_PULSES and
incorporates our TonalityAnalysisState initializer patch.

Issues remain in the unified build with QA and
opus_custom_*coder_get_size declarations, so we still
need to build those separately.
2016-01-12 17:10:53 -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
Tony Mechelynck [:tonymec] 8849dc24b6 Bug 1236937 - Use correct value for Pi in AAFilter.cpp. r=padenot
--HG--
extra : commitid : 4VN9ybE7dd3
2016-01-12 12:10:17 +01: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
Jean-Yves Avenard abeea93b9e Bug 1237907: [ffvpx] Enable AVX2 optimizations on Windows. r=kentuckyfriedtakahe 2016-01-11 17:55:50 +11:00
Jean-Yves Avenard 6040488a59 Bug 1237540: [ffvpx] P2. update ffvpx build config. r=kentuckyfriedtakahe 2016-01-11 17:55:49 +11:00
Jean-Yves Avenard e5202a3389 Bug 1237540: [ffvpx] P1. upgrade to FFmpeg n2.9-dev-2841-g369b161. r=kentuckfriedtakahe 2016-01-11 17:55:46 +11:00
Nils Ohlmeier [:drno] cc0ba97a71 Bug 895793: added interface type and link speed detection for Windows. r=bwc
--HG--
extra : rebase_source : 98293e939ff2f2c0c670c377d194fd93371f6c9b
2016-01-08 14:37:18 -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
Jean-Yves Avenard 54b9d64503 Bug 1237471. Fix VS2015 compilation. rpending=glandium 2016-01-07 16:08:35 +11:00
Matthew Gregan 1527ec8a56 Bug 1236977 - Default initialize IMMDevice temporary to avoid potential garbage CloseHandle on error. r=padenot 2016-01-07 17:53:55 +13:00
Jean-Yves Avenard 9f898cf704 Bug 1214462: P6. Fix ffvpx compilation on android x86 and FreeBSD. r=glandium 2016-01-06 23:03:53 +11:00
Jean-Yves Avenard 73fe68cab6 Bug 1214462: P2. Add mozilla build files to build ffvpx. r=glandium 2016-01-06 23:03:51 +11:00
Jean-Yves Avenard d330f1eaa6 Bug 1214462: P1. Add ffvpx source code. r=kentuckyfriedtakahe
Code was extracted from FFmpeg n2.8.2

Files needed found using the command ./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --enable-parser=vp8 --enable-parser=vp9 --enable-decoder=vp8 --enable-decoder=vp9 --disable-static --enable-shared --disable-debug --disable-sdl --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-asm --enable-yasm
2016-01-06 23:03:50 +11:00
Ralph Giles 87046baee5 Bug 1229475 - Fix unified build. r=cpearce
This was hacked in without fixing the update script to propagate it.

Put it back manually for now, and add two new conflicting files.
2016-01-05 09:11:21 -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
Ralph Giles 3510632385 Bug 1229475 - libopus: Patch out asm flags for run_analysis. r=jmspeex
Patch from upstream.

This still requires that the webrtc client code call the new
tonality_analysis_init() function before first use of the
TonalityAnalysisState struct.
2016-01-05 09:11:18 -08:00
Ralph Giles fec56dfc59 Bug 1229475 - Update libopus to 1.1.1 release. r=jmspeex
Result of running the update script against a checkout of
the opus v1.1.1 release tag.
2016-01-05 09:11:16 -08:00
Ralph Giles ea12cb1278 Bug 1229475 - Fix gen-sources for libopus 1.1.1. r=cpearce
The source makefiles now have variables containing numerals,
mostly for simd versioning.
2016-01-05 09:11:14 -08:00
Nicholas Nethercote a9f31c44eb Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Nicholas Nethercote 57bef6b196 Bug 1232219 (part 3) - Fix remaining -Wunused warnings. r=glandium.
--HG--
extra : rebase_source : 357474b4c7729b78a3030dfefd720aad4e1b2576
2015-12-16 22:57:51 -08:00
Gerald Squelart afb8874b81 Bug 1224371 - Upstream update patch. r=jya 2016-01-04 09:06:08 +01:00
Gerald Squelart f3bb18f40b Bug 1224371 - Cast uint8_t to uint32_t before shift. r=jya
Note: C-style cast because it is C code.
2016-01-04 09:05:47 +01: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
Phil Ringnalda 33c7af5cab Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Jean-Yves Avenard 95d58839d3 Bug 1214462: P6. Fix ffvpx compilation on android x86 and FreeBSD. r=glandium 2015-12-31 13:17:26 +11:00
Jean-Yves Avenard f266d7b432 Bug 1214462: P2. Add mozilla build files to build ffvpx. r=glandium 2015-12-31 13:17:21 +11:00
Jean-Yves Avenard 7f036e4994 Bug 1214462: P1. Add ffvpx source code. r=kentuckyfriedtakahe
Code was extracted from FFmpeg n2.8.2

Files needed found using the command ./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --enable-parser=vp8 --enable-parser=vp9 --enable-decoder=vp8 --enable-decoder=vp9 --disable-static --enable-shared --disable-debug --disable-sdl --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-asm --enable-yasm
2015-12-31 13:17:20 +11:00
Ehsan Akhgari 557cbedf75 Bug 1233983 - Make libvpx build with clang-cl; r=rillian
This has been submitted upstream:
https://chromium-review.googlesource.com/#/c/319392/
2015-12-30 18:33:41 -05:00
Mike Hommey ef2eee800c Bug 1235675 - Add the source directory to the -include directive in media/libsoundtouch/src/moz.build. r=mshal
This currently works in the recursive make backend because make readjusts with
the vpath to the source directory, but for other backends (like CompileDB),
the lack of clear path hurts. In fact, CompileDB currently reports the path as
being in the objdir.
2015-12-31 07:46:04 +09:00
Randell Jesup 913ef0d5c0 Bug 1210170: Add RID header extension send/receive/query support r=pkerr 2015-12-10 15:42:24 -05:00
Gerald Squelart 91033abdfe Bug 1232069 - Check box sizes before alloc&copy. r=jya 2015-12-29 13:12:14 -05:00
Chris Peterson f3abb8a9e8 Bug 1235235 - Fix -Wimplicit-fallthrough warning in media/mtransport/. r=ekr
media/mtransport/transportlayerdtls.cpp:872:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:03:13 -08: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
Nils Ohlmeier [:drno] c69876f082 Bug 1229633: hash interface names on Windows. r=ekr
--HG--
extra : rebase_source : e76fc7866c70242ba957bd2c84c42c2f4fc2f592
2015-12-21 23:13:44 -08:00
Jean-Yves Avenard b919d97460 Bug 1234778: Mark all audio frames as keyframes. r=kentuckyfriedtakahe 2015-12-24 09:05:50 +11:00
[:ng] 95eabf5454 Bug 1196542 - share only windows with non-zero area. r=pkerr 2015-12-11 09:02:00 -08:00
Jan Beich b9ba40cc6b Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
--HG--
extra : transplant_source : %7F%8D%B37%8B%0B%22%99%8F%A5%81%ECS%C5%ED%24%94%21%1F%8B
2015-12-03 12:32:52 +00: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
Ralph Giles 51a6651735 Bug 1231169 - report rust mp4parse track status in telemetry. r=kinetik,vladan 2015-12-11 12:51:00 -08:00
Chris Pearce 966cf53003 Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.

--HG--
extra : commitid : 2QrVAGQ5OJa
extra : rebase_source : 8ad6e5c5f87cf2b2489f049543c021723927901a
2015-12-15 14:50:59 +13: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
Nils Ohlmeier [:drno] 2e19c2bfed Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc
--HG--
extra : transplant_source : %19xT%C2%94C%92%8C%F7%16%FA%5C%CE%3A%C5A%DB%D5%B1%29
2015-12-04 20:43:15 -08: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
Alfredo Yang 7cc22cdf3a Bug 1224887: add OpenMax IL headers. r=jya 2015-12-08 15:57:46 +05:30
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
Nils Ohlmeier [:drno] b912f1ee3a Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf
--HG--
extra : transplant_source : q%BDT%0A%29%7B%7C%A0%92%B1%AE%81%AA%EE%94%9B%A0b3%A7
2015-11-27 23:50:14 -08:00
Jacek Caban 317f57fccc Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson 46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Chris Pearce 9654972991 Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13: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
Gerald Squelart 41cab4de4a Bug 1224361 - Upstream update patch - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 6dbc202a8a Bug 1224361 - Clamp QIndex also in abs-value mode - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 8267da9745 Bug 1224363 - Upstream update patch - r=rillian 2015-12-03 14:14:45 +11:00
Gerald Squelart 861f436e5e Bug 1224363 - Clamp seg_lvl also in abs-value mode - r=rillian
Even when the segment feature data is in absolute mode, it is still read as a
6-bit value with an added sign, so it could have values between -63 and +63.
Later, this signed value is used without checks as a filter level, which is
used to access an entry in an array of size MAX_LOOP_FILTER+1=64.

This patch just extends the existing clamping (that was done only to relative-
mode data) to absolute mode data, before it is blindly 'memset' in
lfi->lvl[seg][0], which was where the out-of-bound filter_value was read in
subsequent vp8_loop_filter_row_simple.
2015-12-03 14:14:45 +11:00
Ralph Giles a3ea7052ff Bug 1229615 - Catch panics in mp4parse_get_track_info. r=kinetik
Wrap calls in a thread the way we do for read_mp4().

Patch from upstream.
2015-12-02 17:22:01 -08:00
Ralph Giles 3c67e8b631 Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 17:21:54 -08:00
Matthew Gregan dee904221c Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 17:21:49 -08:00
Ralph Giles be8ee9898b Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 17:21:41 -08:00
Wes Kocher ef60ffb91e Backed out 3 changesets (bug 1229615) for crashtest crashes in 0-timescale.html CLOSED TREE
Backed out changeset aa313047a6de (bug 1229615)
Backed out changeset 80aa7ecf9456 (bug 1229615)
Backed out changeset d7bf9994e1b0 (bug 1229615)

--HG--
extra : commitid : 782ajuO9h9t
2015-12-02 15:00:42 -08:00
Ralph Giles fef6163774 Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 12:22:09 -08:00
Matthew Gregan 6b03728600 Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 12:19:29 -08:00
Ralph Giles 8c0e42e151 Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 12:25:00 -08:00
Bogdan Postelnicu 1bb9612250 Bug 1227481 - added a memset on aec. r=jesup 2015-12-02 05:05:00 +01:00
Nigel Babu 38aea49239 Backed out changeset df07a5d14903 (bug 1224887) for build bustage
Backed out changeset 0bc40a9a5804 (bug 1224887)
2015-12-02 14:51:20 +05:30
Alfredo Yang 0df87b95e9 Bug 1224887: add OpenMax IL headers. r=jya, with actual patch
CLOSED TREE

--HG--
extra : amend_source : 2daf9a39d8cdc1cc972d093faf5edd4ff1c14de6
2015-12-02 13:52:56 +05:30
Chris Pearce 373cfa1365 Bug 1229508 - Support current and previous GMP_API_DECRYPTORs. r=gerald
To allow GMPs time to update to new GMPDecryptor versions, we support the
latest GMPDecryptor version, and the previous.

In order to support a consistent interface to Gecko, we adapt the previous
GMPDecryptor version to the latest in the GMP child process.  So Gecko always
thinks it's talking to the latest version.

We also make gmp-fake deliberately support the previous GMPDecryptor version,
to ensure this code path remains tested.
2015-12-02 15:37:09 +13:00
Ralph Giles a0a2e12a73 Bug 1229612 - Update rust mp4parse to v0.1.5. r=kinetik
Adds query functions for track metadata.
2015-12-01 17:33:00 -08:00
Jean-Yves Avenard 87d0bbae43 Bug 1226842: Error rather than asserting when encountering error in sample table. r=gerald 2015-12-02 10:39:50 +11:00
Jean-Yves Avenard 9191c537d3 Bug 1229134: Check that memory allocation actually succeeded. r=gerald 2015-12-02 10:39:49 +11:00
Matthew Gregan 9a273aba8d Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Jan Beich 77930e373b Bug 1228230 - Rely more on top-level configure auto-detection. r=qdot
--HG--
extra : commitid : zmjwDqqQv6
2015-11-27 07:37:33 +00:00
Gerald Squelart a9a0ca3af0 Bug 1210319 - p3. Lowered useless log level - r=jya
--HG--
extra : commitid : 3l4NCSLhsWC
2015-12-01 13:46:07 -08:00
Gerald Squelart 23f5557d82 Bug 1210319 - p2. Minor intf clean-up, RIP trex - r=rillian
Made some class interfaces a bit more "C++11"-ish, to protect against some
possible issues.
Also removed 'trex', which was only used by code removed in previous patch.

--HG--
extra : commitid : FkTiMJ5sZLf
2015-12-01 13:45:55 -08:00
Gerald Squelart f8723d92f6 Bug 1210319 - p1. Removed unused code - r=rillian
--HG--
extra : commitid : 6LU02OBJDFK
2015-12-01 13:45:42 -08:00
Jean-Yves Avenard 7ae8605a51 Bug 1229339: Partial revert of commit c15c9f37f. r=cpearce
Replacement of nsTArray<MediaByteRange> by MediaByteRangeSet in the MoofParser was incorrect.
2015-12-02 08:35:57 +11: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
Chris Pearce d6743b5aff Bug 1186406 - Copy input to ClearKey's decoder, so we can return its containing shmem earlier. r=gerald
We're failing in the "Very rough kill-switch" case in
GMPVideoDecoderParent::Decode() we find that too many shmems are in use when we
come to send a "Decode" message to the GMP, and that causes an error which
percolates up to cause the test failure.

This patch changes gmp-clearkey to copy the input encrypted and compressed
sample and immediately return the shmem to the parent process. We are
copying the data anyway when we decrypt, so we can rejigg things so that we
don't actually end up doing a second copy.
2015-12-01 18:13:58 +13:00
EKR 764814bceb Bug 1227781 - Fix crash with bogus STUN parameters. r=bwc 2015-11-30 12:15:19 -08:00
Jean-Yves Avenard 5b14282671 Bug 1227396: P14. Reduce memory usage of sample index for audio tracks. r=cpearce
All samples in an audio track are keyframes. As such, use block on 128 samples instead.
2015-11-30 11:36:39 +11:00
Jean-Yves Avenard bb0aacbf79 Bug 1227396: P13. Refactor how MP4 buffered range is calculated. r=cpearce
We now use an index of samples made of block of samples delimited by keyframes. The search is performed using a binary search. This allows to quickly find which blocks are found within the media cache.
On a 8 core mac pro, this leads to a 67% improvement on CPU time spent playing a long MP4 video (from 112s CPU to 45s CPU)

The optimisation is only possible if all mp4 data chunks are continuous (which they almost always are)
2015-11-30 11:29:37 +11:00
Jean-Yves Avenard 219b4520a6 Bug 1227396: P10: Remove stray function definition. r=cpearce 2015-11-30 11:29:35 +11:00
Jean-Yves Avenard fdf27ff498 Bug 1227396: P9. Remove unnecessary monitor. r=cpearce
The Index and MoofParser are now only used via the MP4Demuxer which is guaranteed to always be called on the same taskqueue.
2015-11-30 11:29:35 +11:00
Jean-Yves Avenard a7975b198f Bug 1227396: P8. Replace MediaByteRange with Interval<int64_t> typedef. r=cpearce
It's now okay to simplify.
2015-11-30 11:29:34 +11:00
Jean-Yves Avenard c8c275cee2 Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00
Jean-Yves Avenard 70f2124283 Bug 1227396: P2. Rename some MediaByteRange methods. r=cpearce
Will facilitate the replacement of MediaByteRange by Interval<int64_t>
2015-11-30 11:29:30 +11:00
Nigel Babu 80fe8e107c Backed out changeset 8631caf756eb (bug 1225703) for Cpp bustage on OS X 10.10 debug
--HG--
extra : amend_source : 0bacde9a70f022e574c638e207d4786a0572ef7b
2015-11-27 12:20:58 +05:30
Chris Pearce efc8956d13 Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald 2015-11-27 17:13:40 +13:00
Chris Pearce ad73151891 Bug 1228461 - Don't assert we must have keys for keyIds we've seen in ~ClearKeySession(). r=gerald 2015-11-27 17:13:35 +13:00
Matthew Gregan 44147bd7ac Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13: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
Mike Hommey b5c0f9f920 Bug 1224452 - Quote passthru variables. r=gps
Ideally, we should properly make and shell quote everything we print out
in makefiles, but that's a can of worms I don't want to open just yet. So
I'll limit myself to just passthru variables.
2015-11-26 08:51:02 +09:00
Mike Hommey 6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09: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
Gerald Squelart ed2eee2066 Bug 1227052 - Use delete[] for sinf->IPMPData. r=jya
--HG--
extra : rebase_source : d8197fdc08c009dedd25f83ef2a7fc68356043a7
2015-11-24 08:46:54 +01:00
Glenn Randers-Pehrson 60a6d95d13 Bug 1224244 - Update in-tree libpng to version 1.6.19. r=seth 2015-11-23 20:20:00 +01:00
Wes Kocher 6b785bc5a4 Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE
--HG--
extra : commitid : CP7XWRFUyfV
2015-11-22 23:00:58 -08:00