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

5039 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini a67a0a31e8 Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Ralph Giles 59ccc608ee Bug 1314147 - Generate build description for libaom. r=froydnj,kinetik
Result of running generate_sources_mozbuild.sh.

MozReview-Commit-ID: DFmYUs5LRlG

--HG--
extra : rebase_source : 5360198dfe600017d4c5f624cdefe569cdfccc9e
2017-04-14 10:36:43 -07:00
Ralph Giles a3714d238c Bug 1314147 - Port the libvpx mozbuild generator to aom. r=froydnj,kinetik
This is a port of the libvpx scripts, themselves a port of
Chromium's scripts to generate an external build description
using hooks in the upstream configure and make scripts.
The libaom library is a fork of libvpx so we can use a similar
approach.

I've put the upstream source in $(topsrc_dir)/third_party/aom
but the build description and any patches are under the media
directory with the other codecs, similar to how zlib works.

Config files and headers generated by the upstream build system
are also under $(topsrc_dir)/media/libaom/.

MozReview-Commit-ID: ATLgOTPD2i1

--HG--
extra : rebase_source : c0fdcdb41a5bac5fdf64f773458cb62937fc9dd8
2017-04-12 17:01:43 -07:00
Carsten "Tomcat" Book b5f09cc95b Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Alfredo Yang 9006749e49 Bug 1336271 - ignore ftyp box when parsing mp4 metadata. r=jya
MozReview-Commit-ID: IarGzXtmGQ2

--HG--
extra : rebase_source : 0926bda331f491f9b14ab8da18be29d1a1b5e6da
2017-05-03 16:55:00 +08:00
Dan Glastonbury 4f5a7952ca Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s

--HG--
extra : rebase_source : 72b3370258affb14dfa2754b1816eea13a4d1e2e
2017-04-27 10:06:33 +10:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
Jim Chen 5b467557ab Bug 1357873 - Fix format warning in webrtc; r=jesup
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Jim Chen 55f9cd162e Bug 1357873 - Fix format warning in omx-plugin; r=cpearce
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Michael Froman 4e635ff251 Bug 1358224 - pt 3 - fix leak in RTPHeaderExtension's rid char buffer. r=drno
Turns out since Firefox doesn't receive simulcast streams, we never
noticed this leak.  Convert RTPHeaderExtension.rid from a char* to
rtc::scoped_ptr<char[]> so it gets deleted properly.  This also
requires a new copy constructor and assignment operator.

MozReview-Commit-ID: Jh4Gp4dAl9g

--HG--
extra : rebase_source : 8c1081fecd6e56a8f932af54fbd294adb85866f5
2017-04-27 12:27:02 -05:00
Michael Froman efa82b57bc Bug 1358224 - pt 2 - change to RTP stream id filtering on simulcast mochitests. r=drno
The simulcast mochitests setup the receiving PeerConnection to receive
simulcast video streams which Firefox doesn't really support.  Without
a test media server, this is about the best we can do and still test
simulcast.

Unfortunately the two simulcast streams arriving with different ssrcs
(as expect) exercises code we have to deal with some services switching
ssrcs midstream.  In the tests, this causes intermittent failures
because the test is waiting to receive a certain ssrc, and the receiving
VideoConduit has switched to the other ssrc.

This change adds the ability to filter on RID at the MediaPipeline level,
which we can setup prior to media flowing.  This avoids the ssrc switching
issue since the VideoConduit only receives one ssrc until we change the
RID filter to the second RID.  At that point, the VideoConduit sees a new
ssrc and the switching code works as intended.

The modified mochitests setup the RTP stream id header extension, and then
filter on each of the RTP stream ids in turn.

MozReview-Commit-ID: KApfaxMX8rl

--HG--
extra : rebase_source : d7ae88d9675acd7b3700f342ca6a68d0bbb0ced5
2017-04-26 10:51:00 -05:00
Michael Froman c526c139fc Bug 1358224 - pt 1 - addRIDExtension and addRIDFilter chrome-only API for RID (RTP Stream Id) filtering of receive tracks. r=qdot
The simulcast mochitests exhibit an intermittent failure due to ssrc-based
filtering that can be solved by filtering by RID.  The RTP header parser
used in MediaPipeline also needs to have the RID RTP header extension
specified in order for it to properly parse the RTP header and allow
filtering on RID.

MozReview-Commit-ID: E54HCGLVYDk

--HG--
extra : rebase_source : b53085f23cb6558611aa7622f55637e19439c9c3
2017-04-26 10:01:07 -05:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Ralph Giles b50ae2a480 Bug 1360396 - Update nestegg from upstream. r=kinetik
Pull recent changes from the upstream nestegg webm parser
repo. This include a definition of NESTEGG_CODEC_AV1 for
supporting the Alliance for Open Media's AV1 video codec,
and a fix for an unitialized variable warning.

MozReview-Commit-ID: EC1WsaFYlqo

--HG--
extra : rebase_source : 22139c35e505b9cf3c165ff76cdfaaea953baf4d
2017-04-27 17:14:25 -07:00
Wes Kocher 9528ad9a03 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaH1djmEY5A
2017-04-27 13:29:07 -07:00
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Gerald Squelart 65152d49d4 Bug 1355617 - static_cast UNKNOWN_ERROR to status_t to remove harmless warning - r=alfredo
MozReview-Commit-ID: 6WCReMGpvGq

--HG--
extra : rebase_source : e9ed275e6221b18537589b9651100e5e5c2d960e
2017-04-27 17:12:02 +12:00
Nils Ohlmeier [:drno] 274b2c935b Bug 1358889: check if mThread is around before dereferencing. r=jesup
MozReview-Commit-ID: 88ZonLVGZK9

--HG--
extra : rebase_source : 8d3ee2e0a9e77b73ece6d2351758ad8256b2ade0
2017-04-24 16:15:10 -07:00
Alex Chronopoulos ff2192eef4 Bug 1359451 - Update cubeb from upstream to 17503c4. r=padenot
MozReview-Commit-ID: C3NXIvjwjgD

--HG--
extra : rebase_source : 06cc2449c9892ba431662e9cd72633a91efcba2e
2017-04-25 18:25:01 +03:00
Michael Layzell 8b7ba021a4 Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan
MozReview-Commit-ID: PVAqU2DPs2
2017-04-27 12:44:57 -04:00
Nils Ohlmeier [:drno] f588ac7e28 Bug 1303867: destroy SSL FD to send out DTLS allert on close. r=mt
MozReview-Commit-ID: EaMkehmTcs3

--HG--
extra : rebase_source : 18acf0fe7bc3b6ccffc0c5667a962161411b56d5
2017-04-20 19:52:24 -07:00
Wes Kocher da57a3e4df Merge m-c to inbound, a=merge
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Dan Glastonbury 42bf7f5ae3 Bug 1358938 - Remove gonk config from moz.build. r=SingingTree
Re-applying Bug 1357323.

MozReview-Commit-ID: 6UcfIHWDwn5

--HG--
extra : rebase_source : 71b61606cfbc03c5b5d7064154f0e035c8393b32
2017-04-24 11:20:03 +10:00
Wes Kocher c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Randell Jesup 64a9d5c37f Bug 1343143: enable 3 temporal layers in simulcast mode, at all resolutions r=bwc
MozReview-Commit-ID: 3xf6qTMZPks
2017-04-21 11:03:45 -04:00
Carsten "Tomcat" Book 975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Dan Glastonbury 92a65a96fb Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Dan Glastonbury 709bb40008 Bug 1346665 - P1: Enable USE_PULSE_RUST in libcubeb. r=kinetik,rillian
MozReview-Commit-ID: 5ZQLFXNFWdB
2017-04-21 14:01:00 +10:00
Alfredo.Yang 36f291632f Bug 1358024 - Update rust mp4 parser. r=rillian
MozReview-Commit-ID: EW67mHeAGXD

--HG--
extra : rebase_source : e2dae68c37e464ddff5b69b456869ba11d77f19e
2017-04-21 16:35:39 +08:00
Alfredo.Yang b4b874d5e1 Bug 1358024 - sync names of codec specific data same as gecko. r=rillian
MozReview-Commit-ID: 696ymQu8bpL

--HG--
extra : rebase_source : 9d39ab27142fde3c4b0556d56d5b87d95b733b5b
2017-04-20 14:30:28 +08:00
Gerald Squelart b34cf60c9b Bug 1358287 - Stagefright-vs-Rust TrackInfo comparison was incorrect - r=alfredo
MozReview-Commit-ID: 8eIsq1ZzWaL

--HG--
extra : rebase_source : 10d7c2594546b24760a76deaa1bd95f3e867b36c
2017-04-21 10:19:34 +12:00
Wes Kocher 5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Carsten "Tomcat" Book 54c9498baf Merge mozilla-central to mozilla-inbound 2017-04-20 13:03:06 +02:00
Alex Chronopoulos 939147b2d1 Bug 1357683 - Update cubeb from upstream to 6e52314. r=padenot
MozReview-Commit-ID: FKxbO0W50Xk
2017-04-20 12:01:37 +03:00
JW Wang 302d82c85a Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku
MozReview-Commit-ID: 4bVeqIuWO2O

--HG--
extra : rebase_source : d504ac15a6dc59ad42f3ab80faf23f629d74315f
extra : intermediate-source : 6e52995b6c8146451d98dffc62f6907755dc856e
extra : source : 82d2649cdafb5a6389f6858c23578811933580c9
2017-04-14 17:13:36 +08:00
Alfredo.Yang c16660640a Bug 1356291 - Update rust mp4 parser to fix the variable extension descriptor. r=rillian
MozReview-Commit-ID: 7IUYpAzyMCk

--HG--
extra : rebase_source : 0be768359a781a6c74a32e32641e3ade02f3fd90
2017-04-19 14:44:46 +08:00
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
JW Wang 235f1f55ed Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
MozReview-Commit-ID: 7dO5OOUuORz

--HG--
extra : rebase_source : 1c1c020700d9180ef9f85d7e2e679f498ab71fce
extra : intermediate-source : d173c820bef7a113e28e9732c42e8c1af36160ab
extra : source : 04c08a780526ca3a5ac4d1a6f9b7ae30d9957e92
2017-04-14 14:52:14 +08:00
Mike Hommey 0f453b4ff8 Bug 1357328 - Remove media/webrtc/signaling/test/moz.build. r=jesup
Its content is a no-op since bug 1322707.

The code in the same directory, though, is meant to move to gtests
(bug 1316611).

--HG--
extra : rebase_source : fa269a034fd327856fde8d0673de58eba9b02d8e
2017-04-18 17:37:58 +09:00
Gerald Squelart f831fb83b9 Bug 1357279 - Make sure mRustTestMode is inside #ifndef RELEASE_OR_BETA - r=alfredo
mRustTestMode is only declared when not in RELEASE_OR_BETA, so we must guard
all its uses.

The one in GetTrackInfo was a mistake, it shouldn't have been used there, as
we always want to compare results (without crashing) and report differences as
a warning.

The other ones just need the `#ifndef RELEASE_OR_BETA` guard.

MozReview-Commit-ID: LE31viVyhov

--HG--
extra : rebase_source : 5aed13d02c3a1ef27627bbf687d9aef05dcbf8ac
2017-04-18 15:15:30 +12:00
JW Wang 464497b945 Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
MozReview-Commit-ID: 3d4bUYtSuMI

--HG--
extra : rebase_source : 94c821b6d381421035e6a12cbe038436055c5822
extra : intermediate-source : 9a06beffc736486f47b9cf05e7f482e726d53068
extra : source : fdbdcd5c1474f04dc1dbde66fcf3a9ecec953053
2017-04-12 17:27:34 +08:00
JW Wang d0454d90d1 Bug 1355745 - Change the type of TrackInfo::mMediaTime to TimeUnit. r=jya
MozReview-Commit-ID: 3vuPhLQBnFb

--HG--
extra : rebase_source : 465f8c6eb234694a101081bd5314cca63e4b3285
extra : source : bf604ecf38cbc46c286cc76c4f596fdfd397ac78
2017-04-12 16:53:09 +08:00
Wes Kocher 20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
JW Wang f45fa7374e Bug 1355740 - Change the type of TrackInfo::mDuration to TimeUnit. r=jya
MozReview-Commit-ID: P7aqw4d5Vk

--HG--
extra : rebase_source : f22743fec9c8b70cbb092e3b26e252e7a4cb0b31
extra : source : 2413cd58f073b734a2cb85cec3658942bfd46e08
2017-04-12 16:41:36 +08:00
Nico Grunbaum a9c52a60b1 Bug 1241066 - fix mozRtt always 0 or 1;r=jib
My shortest patch to date.

MozReview-Commit-ID: 8r3ZrGUk40D

--HG--
extra : rebase_source : 38cc51ce85e03c03f46e063bf92f594927d1365f
2017-03-20 16:58:53 -07:00
Nils Ohlmeier [:drno] 75a0220f53 Bug 1325513: Check RTP extension header length. r=jesup
MozReview-Commit-ID: 6sUVQjUh8bF

--HG--
extra : rebase_source : 296cb8688a9c27b437380e5f70fd3cf9d43629f2
2017-04-12 15:09:18 -07:00
John Lin ab9060d531 Bug 1349883 - part 3: resolve decode promise according to buffer status. r=jya
MozReview-Commit-ID: JwOOi56t30Y

--HG--
extra : rebase_source : 48f0cc0bfde3f84cc0574c5a5da6c738112c843f
2017-04-07 17:07:02 +08:00
Gerald Squelart 1564d36454 Bug 1341483 - MP4Metadata::GetTrackIndice() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: BIgvy5eKNJl

--HG--
extra : rebase_source : 251d61df6136ab46d8efe33edd4199fa5aabd2f0
2017-03-15 16:55:50 +11:00