Commit Graph
5054 Commits
Author SHA1 Message Date
Jean-Yves Avenard 21e9f0ebe3 Bug 1365227: P2. Enforce that ExtractExtra data works on AVCC only. r=JamesCheng
MozReview-Commit-ID: ox5oaDvdfx
2017-05-16 14:51:24 +02:00
Jean-Yves Avenard d3deb31d08 Bug 1365227: P1. Create AVCC header for converted annexB. r=JamesCheng
Otherwise AnnexB::IsAVCC will return false on those converted samples.

MozReview-Commit-ID: 6OBV6L49InL
2017-05-16 14:22:43 +02:00
Nathan Froyd 3b526b2200 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 aec5e1cf49 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] f90ec83b96 Bug 1364325: replace AddLocalRTPExtensions with SetLocalRTPExtensions. r=bwc
MozReview-Commit-ID: G98AVhWA5FU
2017-05-11 23:08:37 -07:00
Ralph Giles 30d064aec9 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
2017-05-11 15:31:50 -07:00
Ralph Giles 939aee1f7a 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
2017-05-11 13:56:51 -07:00
Nils Ohlmeier [:drno] b2a76f60ab Bug 1363563: remove and erase existing header extensions. r=mjf
MozReview-Commit-ID: IzVEaOhLNwR
2017-05-10 16:19:40 -07:00
Michael Froman 545339a465 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
2017-05-05 17:32:01 -05:00
James Cheng bc9eff7250 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
2017-05-11 16:43:12 +08:00
Munro Mengjue Chiang 9130f70ceb Bug 1363259 - set min and max fps through AVCaptureConnection. r=jib
MozReview-Commit-ID: 4GY1gOICLqU
2017-05-09 10:28:31 +08:00
Ralph Giles 5d3db1aabc 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
2017-05-09 11:36:13 -07:00
Andrea Marchesini 5af136db77 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 fac808d550 Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03:00
Andrea Marchesini 12c449ba8c Bug 1363102 - Add a error check of Location::ToString in PeerConnectionImpl.cpp, r=mystor 2017-05-08 19:48:03 +02:00
Andrea Marchesini 43341968d2 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 ed6b333a5b Bug 1314147 - Generate build description for libaom. r=froydnj,kinetik
Result of running generate_sources_mozbuild.sh.

MozReview-Commit-ID: DFmYUs5LRlG
2017-04-14 10:36:43 -07:00
Ralph Giles d06f4cb050 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
2017-04-12 17:01:43 -07:00
Carsten "Tomcat" Book 74ca1ed941 Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Alfredo Yang 6ee64a1a53 Bug 1336271 - ignore ftyp box when parsing mp4 metadata. r=jya
MozReview-Commit-ID: IarGzXtmGQ2
2017-05-03 16:55:00 +08:00
Dan Glastonbury e3b07bd948 Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s
2017-04-27 10:06:33 +10:00
Chris Pearce ac4d9ad160 Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
Jim Chen a093bcc5b9 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 a460ae0c5b 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 e9769462fc 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
2017-04-27 12:27:02 -05:00
Michael Froman 38e31d2097 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
2017-04-26 10:51:00 -05:00
Michael Froman 3670f529aa 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
2017-04-26 10:01:07 -05:00
Carsten "Tomcat" Book 6620e5a568 merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Ralph Giles cc2ea20015 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
2017-04-27 17:14:25 -07:00
Wes Kocher 711c39970b Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaH1djmEY5A
2017-04-27 13:29:07 -07:00
Carsten "Tomcat" Book eb1595e913 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Gerald Squelart a3b96c8523 Bug 1355617 - static_cast UNKNOWN_ERROR to status_t to remove harmless warning - r=alfredo
MozReview-Commit-ID: 6WCReMGpvGq
2017-04-27 17:12:02 +12:00
Nils Ohlmeier [:drno] 8b5a265eaa Bug 1358889: check if mThread is around before dereferencing. r=jesup
MozReview-Commit-ID: 88ZonLVGZK9
2017-04-24 16:15:10 -07:00
Alex Chronopoulos 71d6da6b86 Bug 1359451 - Update cubeb from upstream to 17503c4. r=padenot
MozReview-Commit-ID: C3NXIvjwjgD
2017-04-25 18:25:01 +03:00
Michael Layzell 9e9bb6861f 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] 6298c2ef6f Bug 1303867: destroy SSL FD to send out DTLS allert on close. r=mt
MozReview-Commit-ID: EaMkehmTcs3
2017-04-20 19:52:24 -07:00
Wes Kocher 5965dfb921 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Florian Queze 6cc0b6e992 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 37e1317867 Bug 1358938 - Remove gonk config from moz.build. r=SingingTree
Re-applying Bug 1357323.

MozReview-Commit-ID: 6UcfIHWDwn5
2017-04-24 11:20:03 +10:00
Wes Kocher db65c06f6f Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Randell Jesup 77a94861f7 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 63fbb13aec merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Dan Glastonbury 42073d63bf 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 b27ac204cc 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 e1feca52ca Bug 1358024 - Update rust mp4 parser. r=rillian
MozReview-Commit-ID: EW67mHeAGXD
2017-04-21 16:35:39 +08:00
Alfredo.Yang 1124372468 Bug 1358024 - sync names of codec specific data same as gecko. r=rillian
MozReview-Commit-ID: 696ymQu8bpL
2017-04-20 14:30:28 +08:00
Gerald Squelart ce41337164 Bug 1358287 - Stagefright-vs-Rust TrackInfo comparison was incorrect - r=alfredo
MozReview-Commit-ID: 8eIsq1ZzWaL
2017-04-21 10:19:34 +12:00
Wes Kocher f8d2845e66 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Carsten "Tomcat" Book 467411878f Merge mozilla-central to mozilla-inbound 2017-04-20 13:03:06 +02:00
Alex Chronopoulos f10f8bdc45 Bug 1357683 - Update cubeb from upstream to 6e52314. r=padenot
MozReview-Commit-ID: FKxbO0W50Xk
2017-04-20 12:01:37 +03:00