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

5052 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Sebastian Hengst 819d69e9f8 Backed out changeset bbea5fa74727 (bug 1361984) on request from jya. r=backout a=backout
MozReview-Commit-ID: DxCysbtslYA
2017-05-14 21:38:48 +02:00
Nils Ohlmeier [:drno] 0f4a3fb4f5 Bug 1364325: replace AddLocalRTPExtensions with SetLocalRTPExtensions. r=bwc
MozReview-Commit-ID: G98AVhWA5FU

--HG--
extra : rebase_source : 4d24e3814adf60fc188e050760fc07a4010a9b15
2017-05-11 23:08:37 -07:00
Ralph Giles 72c31d122b Bug 1364237 - aom: Enable YASM for intel cpus. r=froydnj
I had removed the USE_YASM define in porting the libvpx
moz.build to libaom, to avoid depending on VPX_USE_ASM.
Turns out USE_YASM is a magic context define, without which
the build won't compile libaom's yasm-format .asm files,
so we need to define it for the two intel architecture
source sets.

Restore the define unconditionally for intel targets.
We require yasm in the default build for those targets,
and want to fail if it isn't available to block performance
regressions.

MozReview-Commit-ID: CqGtY8RNLNf

--HG--
extra : rebase_source : ccc7f9dfc467642d9e4c623c55e54e769fb38f2f
2017-05-11 15:31:50 -07:00
Ralph Giles 105c65063a Bug 1364237 - aom: Remove obsolete 32-bit macOS build config. r=froydnj
We no longer support 32-bit x86 macOS, and
these flags point to configurations we
don't generate.

MozReview-Commit-ID: 3mIfHCf6aUj

--HG--
extra : rebase_source : 35b5089ade7f9d5d03e5f4d3f0760cc969b4b8c7
2017-05-11 13:56:51 -07:00
Nils Ohlmeier [:drno] 9b6b4c7751 Bug 1363563: remove and erase existing header extensions. r=mjf
MozReview-Commit-ID: IzVEaOhLNwR

--HG--
extra : rebase_source : 0574353c3f0be051fe766090802a5d91d41077e9
2017-05-10 16:19:40 -07:00
Michael Froman d13f3ad75f Bug 1361139 - pt 2 - remove test-related SSRC filtering from MediaPipeline. r=drno
Now that RID filtering (Bug 1358224) has fixed the intermittant oranges
from Bug 1351531 and 1351590, remove the functionality from MediaPipeline.

MozReview-Commit-ID: 1rED3iaHRCK

--HG--
extra : rebase_source : 5539f9badc99a8abfcf5419b436718233e9ab567
2017-05-05 17:32:01 -05:00
James Cheng bbc9597929 Bug 1361984 - Fix the logic of AnnexB::ConvertSampleToAnnexB that checks the sample's extradata field even the sample is AVCC format converted by ConvertSampleToAVCC from AnnexB format. r=jya
MozReview-Commit-ID: C5cAlvRwkYj

--HG--
extra : rebase_source : 58e0ea5939446f21395a417ce23ffd2b91f5d83c
2017-05-11 16:43:12 +08:00
Munro Mengjue Chiang 6856ba9b3d Bug 1363259 - set min and max fps through AVCaptureConnection. r=jib
MozReview-Commit-ID: 4GY1gOICLqU

--HG--
extra : rebase_source : 97b50fa34186f9c92f0d01e1d486137b5159a8bd
2017-05-09 10:28:31 +08:00
Ralph Giles f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Andrea Marchesini 667a1e29ae Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug 2017-05-09 22:41:19 +02:00
Alex Chronopoulos 517b0f8cbf Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03:00
Andrea Marchesini 11d4a9bf51 Bug 1363102 - Add a error check of Location::ToString in PeerConnectionImpl.cpp, r=mystor 2017-05-08 19:48:03 +02:00
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