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

5268 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Alex Chronopoulos 9281e65d26 Bug 1366707 - Update cubeb from upstream to 96cdb17. r=kinetik
MozReview-Commit-ID: 3aiEtrl289U

--HG--
extra : rebase_source : 16ebdb2e20fc516047cc8f4974d6c9e6ec638fcb
2017-05-23 11:29:33 +03:00
Bruce Sun 04ae73ea81 Bug 1358023: (1/2) Refactor the dependency between libpng and freetype2; f=jfkthame, r=glandium
This refactor is for exposing necessary symbols of libpng for freetype2 in a
general way. Currently the necessary symbols of libpng for freetype2 are
exposed only on Android. And whether these symbols are exposed solely depends
on the target platform checking. A better way to decide whether or not to
expose these symbols would be checking the dependency of freetype2 directly.
2017-05-22 12:00:33 +08:00
Michael Froman da7254ecbf Bug 1339906 - pt 5 - add writable field to webidl for RTCIceCandidatePairStats and implement readable and writeable fields. r=drno,qdot
MozReview-Commit-ID: 6IODhX5mtnP

--HG--
extra : rebase_source : 30245be09b3b4bf057672cceb2d90d3393da035c
2017-06-06 17:33:02 -05:00
Michael Froman 1b76f106fd Bug 1339906 - pt 4 - add last sent and received timestamps to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: GE23lS7qs9n

--HG--
extra : rebase_source : 5b39e4232258eca1807d3c962a2ed40c2724822b
2017-06-06 17:36:40 -05:00
Michael Froman eb58727687 Bug 1339906 - pt 3 - change componentId to transportId to match RTCIceCandidatePairStats spec. r=drno,qdot
MozReview-Commit-ID: Jfc2BOMt98v

--HG--
extra : rebase_source : db7bca1a23cc2f46cce778dd0638182cc1143791
2017-06-06 16:59:18 -05:00
Michael Froman 69f85fff44 Bug 1339906 - pt 1 - Add bytesSent and bytesReceived to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: BQGPTUzRCB3

--HG--
extra : rebase_source : cd2abb970a07479c8425a13d12fc0fbaa487b00e
2017-06-06 16:30:56 -05:00
Michael Froman 55d8a7bd34 Bug 1368159 - change log statement for pre-existing local addresses from error to warning in nr_ice_set_local_addresses. r=drno
When I added this check during the modifications for Bug 1345511 (Move
nICEr stun local address discovery to an IPC call to enable future
sandbox restrictions on content process) I originally thought this was
more of an error condition, but it really isn't.  It can happen each
time the following method(s) is called:
  PeerConnectionMedia::EnsureTransports() ->
    GatherIfReady() ->
      EnsureIceGathering_s()

MozReview-Commit-ID: Ct3teqXBxWd

--HG--
extra : rebase_source : a116a8423fd999c4746e9375b8f42a6d908a1ea7
2017-06-07 13:38:46 -05:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Nils Ohlmeier [:drno] edfc95cb55 Bug 1338521: don't over-write remote SSRC with random value r=jesup
MozReview-Commit-ID: CEZnuzxeHkz

--HG--
extra : rebase_source : 6541a71ca473af08075895e047218460e8407a2f
2017-04-28 16:00:06 -07:00
Nils Ohlmeier [:drno] 652aa12a75 Bug 1361206: warn about non-matching RTP header extension IDs. r=bwc
MozReview-Commit-ID: DLG5ICBydAK

--HG--
extra : rebase_source : dfc81395d47ddd25c9347e94e6cf630d727cdd43
2017-05-01 21:02:53 -07:00
Nils Ohlmeier [:drno] 4dd7f2dc11 Bug 1365090: use target bitrate instead of max for simulcast. r=bwc
MozReview-Commit-ID: GThcXHHnoCV

--HG--
extra : rebase_source : 352a82ad81858782898a10440ff77b4891af6a60
2017-05-16 16:15:04 -07:00
Nils Ohlmeier [:drno] 4d8185fc04 Bug 1365090: clear RID vector when reconfiguring send media codec. r=jesup
MozReview-Commit-ID: Bs5Cihjt8fV

--HG--
extra : rebase_source : 0e423cdf7b82ecca29aecc2c72601005b56786cd
2017-05-15 21:47:34 -07:00
Jean-Yves Avenard 410447cfc4 Bug 1365227: P2. Enforce that ExtractExtra data works on AVCC only. r=JamesCheng
MozReview-Commit-ID: ox5oaDvdfx

--HG--
extra : rebase_source : cb3386502b0e400543e9a2e6c8dd15c594377847
2017-05-16 14:51:24 +02:00
Jean-Yves Avenard dd9e7bd359 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

--HG--
extra : rebase_source : b4c315583392cfe455d0932f4345a8a02e367f2f
2017-05-16 14:22:43 +02:00
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
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
Gerald Squelart 2ea7fba755 Bug 1341483 - MP4Metadata::Crypto() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: EywDv5JuDK6

--HG--
extra : rebase_source : 017cd996817b1aaa78f5c7bed9fa05da3baf442c
2017-02-27 21:32:03 +11:00
Gerald Squelart 7961918dfc Bug 1341483 - MP4Metadata::GetTrackInfo() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: KQ3fJzZkrGW

--HG--
extra : rebase_source : b9f4324f50c81f4945c0a47e63af0cb616ba013e
2017-02-27 17:05:41 +11:00
Gerald Squelart c93b449e6b Bug 1341483 - MP4Metadata::GetNumberTracks() now also returns a success/error code - r=kinetik
In addition to the returned MediaResult, a special number-of-tracks value
(not just 0) indicates an unrecoverable error.

For Rust-vs-Stagefright comparison purposes, an error is considered the same
as 0 (because Stagefright never returns errors, but Rust may, so complaining
about that would be too noisy, and useless to us.)

MozReview-Commit-ID: IwadWSOIWr4

--HG--
extra : rebase_source : 29f53ee6a02a0431adb0b615a122a4e7b480108c
2017-02-27 13:36:59 +11:00
Gerald Squelart 1bbbbd132d Bug 1341483 - MP4Metadata::Metadata() now also returns a success/error code - r=kinetik
The returned MediaResult is used as error or warning in MP4Demuxer::Init().

MozReview-Commit-ID: Bnv4xG8bCJ4

--HG--
extra : rebase_source : c1952ed61396834b0cd7da58c9b64481a5c46ab1
2017-02-27 13:01:11 +11:00
Nils Ohlmeier [:drno] 37ee2e02bb Bug 1355259: only filter out udp candidates if force_tcp is set. r=mjf
MozReview-Commit-ID: AKv0N74epZ1

--HG--
extra : rebase_source : 9a77174afca8fd45b614ec49f4eb86f04ced888a
2017-04-10 16:52:09 -07:00
Munro Mengjue Chiang d61aa73f60 Bug 1354993 - Add PictureID into VP8 CodecSpecificInfo. r=jolin
MozReview-Commit-ID: 7l2WygPuHRX

--HG--
extra : rebase_source : 1594349dbce9140041e0a976534327f5fd4ed8be
2017-04-10 14:49:36 +08:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Paul Adenot ebfeb605e3 Bug 1348344 - Backed out changeset c72cf98f1527. r=achronop
This was meant to be temporary, and we can remove it now.

MozReview-Commit-ID: 2A9RKIabYIZ

--HG--
extra : source : e6cd7e39bfdd77772ffd3a36448b7763db7ec6d1
extra : histedit_source : dcb1bd9d144aaa9abeef38107a6ee6d85cdf7b2f
2017-04-10 17:15:29 +02:00
Nico Grunbaum 9352ee95aa Bug 1344970 - rename mozRtt to roundTripTime r=jib,smaug
MozReview-Commit-ID: 3kES8JUPd3n

--HG--
extra : rebase_source : e49846845d7cbd43f96d13cb1881e0383517f197
2017-03-06 15:50:10 -08:00
Paul Adenot b37280c289 Bug 1337641 - Temporarily disable an assert in cubeb duplex. r=achronop
MozReview-Commit-ID: GD57nZRoXFj

--HG--
extra : rebase_source : 638d4e3f38fb3f4989758f0f1ad7f9d5dc4680ab
2017-04-10 19:26:44 +02:00
Vineet 7c01ecff24 Bug 1337294 - Removed the unnecessary call to c_str() r=jesup
MozReview-Commit-ID: CpDEC7kRSXs

--HG--
extra : rebase_source : 7d44fe50c35abc6ee643a35821c9b3dea9560f10
2017-03-02 11:09:08 +05:30
Eric Rahm 2d1b7da05b Bug 1354207 - Set webrtc build flags when building under valgrind, etc. r=jesup
The webrtc gyp files have a 'build_for_tool' flag that controls among other
things what defines are provided at build time. This meant that during a
firefox valgrind build webrtc would still specify NVALGRIND, thus disabling
some valgrind macros. Similarly there are flags for asan and tsan that we
should probably have been specifying as well. This patch sets the
'build_for_tool' flag to the appropriate value when building under valgrind,
asan, and tsan.
2017-04-07 09:20:37 -07:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Wes Kocher 7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Nils Ohlmeier [:drno] 45a1983cc1 Bug 1354222: fix log level casting warnings. r=erahm
MozReview-Commit-ID: A6hnPD3NkYr

--HG--
extra : rebase_source : a59a3d5acfdc219dd3f21b6acf1179125c766f5b
2017-04-06 11:00:35 -07:00
James Willcox 224324d56d Bug 1344347 - Move Android out-of-process decoder service into GeckoView r=jolin
MozReview-Commit-ID: QTnp95uhQV


--HG--
rename : mobile/android/base/aidl/org/mozilla/gecko/media/FormatParam.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/FormatParam.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodec.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaManager.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaManager.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/Sample.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/Sample.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodecFactory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodecFactory.java
rename : mobile/android/base/java/org/mozilla/gecko/media/Codec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Codec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/CodecProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/FormatParam.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/FormatParam.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrm.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrm.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java
rename : mobile/android/base/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaDrmProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaDrmProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaManager.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaManager.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SamplePool.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SamplePool.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SessionKeyInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SessionKeyInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/mozglue/SharedMemory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/SharedMemory.java
2017-04-06 14:32:58 -05:00
Michael Froman 1a2153bf46 Bug 1353575 - Switch to google stun server instead of twilio for ice_unittest.cpp. r=bwc,drno
MozReview-Commit-ID: HrS3oKjg17Z

--HG--
extra : rebase_source : a4a40bb9a5694054d736cabc7ff22b57037f6487
2017-04-04 13:47:54 -05:00
Byron Campen [:bwc] f93af701e0 Bug 1353028: Fix broken extmap validation logic. r=drno
MozReview-Commit-ID: Egvr4ppNZ5Q

--HG--
extra : rebase_source : f22da96ae9beb4b43338f84168e41bfa230700d1
2017-04-03 15:05:31 -05:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Alfredo.Yang 348ae4d9df Bug 1329126 - update rust mp4 parser for preventing buffer overflow. r=kinetik
MozReview-Commit-ID: Ih85J4nejLx

--HG--
extra : rebase_source : 033d42491bbaf556a1e5adc09406cf6fa2f81e18
2017-03-31 15:49:43 +08:00
Nico Grunbaum deeb9fdcf9 Bug 1348657 - Part 2 - split send/recv packet counts r=jib
MozReview-Commit-ID: 2SENT4rGsLX

--HG--
extra : rebase_source : 8a6c960871ed7fffb28d5a7676d20c016daa3b58
2017-03-30 10:59:46 -07:00
Nico Grunbaum af67a2fb4c Bug 1348657 - implement framesEncoded, pliCount, nackCount and firCount for webrtc stats r=jib,smaug
MozReview-Commit-ID: E873mbcrlLL

--HG--
extra : rebase_source : ca6f5d7ab0490948aaed1ae793ed5906149b7236
2017-03-21 21:52:06 -07:00
Eric Rahm 83eba01284 Bug 1353143 - Part 1: Explicitly include prlog.h in mtransport/logging.h. r=drno
This updates mtransport logging to explicitly include prlog.h and defines
MOZ_MTLOG in terms of PR_LOG rather than MOZ_LOG when building outside of XUL.
2017-04-04 14:36:14 -07:00
Carsten "Tomcat" Book 5d99fc5820 Merge mozilla-central to autoland 2017-04-04 12:38:55 +02:00
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Paul Adenot 8db2de79d7 Bug 1351803 - Statically link to avrt.lib on Windows, when compiling cubeb. r=glandium
We used to get the symbols we need using `LoadLibrary`, but now (since
661c653c86),
we can statically link to avrt.lib, because we only support Windows OSes that
have this library. For now, this works because avrt.lib is linked in
webrtc-land somewhere with a #pragma, but:
- We're going to stop using this bit of webrtc in the near future (around
  Firefox 54)
- Not linking this explicitely where it's used breaks --disable-webrtc, that is
  a popular option

MozReview-Commit-ID: 7b16Kdl3VUu

--HG--
extra : rebase_source : b4159872427b4e9d912e1228e75563ca9a8e828d
2017-03-30 06:26:19 -07:00
Matthew Gregan 2174e12534 Bug 1352929 - Update libcubeb to 04826edb. r=padenot 2017-04-04 14:02:04 +12:00
Randell Jesup d5d480e33d Bug 1349581: defer nativeRegistration for android Jni to avoid thread issues r=gcp
MozReview-Commit-ID: Ep0ej5HkGE3
2017-04-03 16:58:44 -04:00
Michael Froman 5ffad762cd Bug 1350568 - don't dispatch IPC call to StunAddrsRequestChild after content process IPC channel goes away. r=jesup
MozReview-Commit-ID: IoAWO9Frf1u

--HG--
extra : rebase_source : fc3a5d8d066dadb476ea965014553c99515b1547
2017-03-26 13:30:28 -05:00
Tom Ritter fcb35c70f7 Bug 1331349 Fix printf formatting errors in MinGW compilation r=froydnj
MozReview-Commit-ID: A4PMABfxzez

--HG--
extra : rebase_source : d0c40a495ad390aeb71ddc81c33daa081f6e0ba7
2017-03-31 00:14:43 -05:00
Chris Pearce f96fedca29 Bug 1351954 - Change ClearKey CDM to allocate its video frame buffers optimally. r=gerald
The WMF decoder gives us video frames in buffers with the planes 16 row-aligned
for some reason. If we allocate our video frames the same size we waste memory.
So let's have the ClearKey CDM not allocate its video frames with the extra
padding rows.

Excluding the padding in our copy of the decoded data also makes my work in bug
1351953 easier.

MozReview-Commit-ID: 9dD40P6ST68

--HG--
extra : rebase_source : a6c4fea01e8bf2deef8edc78d0a041e8fed0c0b8
extra : source : 433028f9a2055869cd98710f0871d040605c0535
2017-03-28 18:00:01 +13:00
Ralph Giles 821d5fb522 Bug 1353944 - Update enums for mp4parse 0.8.0. r=kinetik
The support to namespace prefixing in moz-cheddar means we
can simplify exported enum names on the rust side. However
this makes for some spelling changes on the C side.

MozReview-Commit-ID: 4t6NDusx0uI

--HG--
extra : rebase_source : 1c1221507ce42965486d79e6809d1541f6410f55
2017-04-05 17:30:47 -07:00
Ralph Giles 3a9b45493a Bug 1353944 - Update to mp4parse 0.8.0. r=kinetik
Sync with crates.io version. Just enum spelling changes.

MozReview-Commit-ID: BS02zEoJaV1

--HG--
extra : rebase_source : a1a13979ba30ba178cc42f5b5fae8a6f089dc4b9
2017-04-05 16:19:47 -07:00
Munro Mengjue Chiang 5907cfe44d Bug 1265755 - Implement remote vp8 encoder and enable/disable them with pref; r=jolin
MozReview-Commit-ID: JZ1eUZNLAKq

--HG--
extra : rebase_source : 3d0da18ab91239db56d5425889d638b184e02b82
2017-03-30 09:00:13 +08:00
Adam Velebil 69da80395b Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r=erahm
MozReview-Commit-ID: CGnzomkIsi5
***
Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r?erahm

--HG--
extra : rebase_source : a14b1538ed91848ecd02fb4607bce4cb9b2ab7c4
2017-04-13 20:47:00 +02:00
Dan Minor 1d80aba420 Bug 1351700 - Fix linking error when building webrtc-gtest; r=jesup
This adds a stub implementation for nsTraceRefcnt::WalkTheStack which we're
pulling in from <mozilla/Assertions.h> in some debug builds.

MozReview-Commit-ID: 6wVghIfKWWZ

--HG--
extra : rebase_source : 1e8472935c7f8ac486794fab764e08b30eea79ed
2017-03-29 14:22:23 -04:00
Nils Ohlmeier [:drno] 3fe5112bbb Bug 1345791: ICE disconnect state is not a crash. r=bwc
MozReview-Commit-ID: IwrWVvjkNmX

--HG--
extra : rebase_source : e9c4b92acddb82298b439152e622132a49bd6daa
2017-03-29 16:39:42 -05:00
Tom Ritter 6c832ecd7e Bug 1344909 When compiled with MinGW, use only a single core in gmp-clearkey r=cpearce
MozReview-Commit-ID: Ej9avF7TkaL

--HG--
extra : rebase_source : 804988fa70c9cc45bb404793dd1320dbd2bc4ac1
2017-03-23 13:58:54 -05:00
Dan Minor 774e2f6945 Bug 964133 - Build webrtc.org unit tests; r=jesup,ted.mielczarik
This adds a moz.build file for the tests. The alternative would be to hack up
the gyp files. Since gyp support has already been removed from upstream, this
does not really buy us anything as far as maintainabily goes. Once gn support
is available in our build system, we can remove this moz.build file and use
the gn files instead.

The include paths for the gtest and gmock headers in the webrtc.org tests are
not compatible with where we export the headers. We could patch each unittest,
but the include location has already changed upstream making this painful
to maintain. Instead, we duplicate the relevant headers to the expected path.

MozReview-Commit-ID: 1ADUAMxTCFq

--HG--
extra : rebase_source : 2cc10faa7018ee8af8e8f3d7805265ed2dd89507
2017-03-27 15:51:16 -04:00
Dan Minor 164d41ff3a Bug 964133 - Add stub implementation of OSXRunLoopSingleton.cpp; r=jesup
MozReview-Commit-ID: 8yJh0V2rLoR

--HG--
extra : rebase_source : 3df843511ecb40af2b6d83030453758e838e94be
2017-02-07 13:47:00 -05:00
Dan Minor f44831c17d Bug 964133 - Build gflags; r=ted.mielczarik
This adds gflags to the list of ignored directories for clang static
analysis and adds "explicit" where required in mutex.h.

We also stop building a duplicate copy of snprintf for windows as our builds
already include a definition for it.


MozReview-Commit-ID: 4uMhTMvAKL0

--HG--
extra : rebase_source : d63d3797053c7720c725b3994cb3b2ca11bb191f
2017-03-28 15:46:57 -04:00
Dan Minor 15ed133076 Bug 964133 - Import gflags from webrtc.org branch 49; r=ted.mielczarik
MozReview-Commit-ID: 2AouGZrZa9w

--HG--
extra : rebase_source : 76ab8e4a280912aa08a6c94e1cdfb25488df836a
2017-03-08 11:33:01 -05:00
Dan Minor 6affa752e1 Bug 964133 - Fixup FakeIPC to build on windows; r=jesup
MozReview-Commit-ID: 2Jm82qs4hFL

--HG--
extra : rebase_source : dfade0944c84df23580121384d2501229b78c0c6
2017-01-30 15:37:57 -05:00
Dan Minor d71edf00c9 Bug 964133 - Move FakeIPC to webrtc.org gtest; r=jesup
These were written for the signaling tests but are no longer needed there
because those tests link against libxul. They are still useful for the
webrtc.org unit tests, so we should move them there.

MozReview-Commit-ID: GVskiZebq19

--HG--
rename : media/webrtc/signaling/test/FakeIPC.cpp => media/webrtc/trunk/gtest/FakeIPC.cpp
rename : media/webrtc/signaling/test/FakeIPC.h => media/webrtc/trunk/gtest/FakeIPC.h
extra : rebase_source : 57b70f5dd3a55e73de0b066f228ddf957f477c26
2017-01-13 14:03:17 -05:00
Dan Minor 429e0c1350 Bug 964133 - move nICEr and nrappkit to libxul; r=ted.mielczarek
Building these as part of the webkit lib adds unnecessary dependencies on Mozilla code for things that only case about the webrtc static lib.

MozReview-Commit-ID: 7ThU7hAwRX0

--HG--
extra : rebase_source : eef256711e205d023a647e6196dcc61e657f6e28
2017-01-13 09:28:43 -05:00
Dan Minor 4205129c92 Bug 964133 - Remove webrtc.org copy of gtest; r=ted.mielczarek
MozReview-Commit-ID: LURWNU2zwRT

--HG--
extra : rebase_source : 5a0c8cd1e56bfbe82e581bce9dcf2cb126a605c5
2017-03-28 15:44:38 -04:00
Byron Campen [:bwc] 87716f1d4e Bug 1344556 - Part 6: Sanity check extmaps in answers. r=drno
MozReview-Commit-ID: Jv91RSe9ooL

--HG--
extra : rebase_source : b61404a8b41d68b3153bee8bdcd44d8a2359a2c8
2017-03-08 15:02:28 -06:00
Byron Campen [:bwc] 5ae671c866 Bug 1344556 - Part 5: Fix bug where sendonly extmaps would be configured on recv tracks, and vice versa. r=drno
MozReview-Commit-ID: DMwDGCnUTYX

--HG--
extra : rebase_source : c2eb3698f4d625d2e08d7deb6c27cce0d0312f01
2017-03-08 15:02:01 -06:00
Byron Campen [:bwc] fa0a599b34 Bug 1344556 - Part 4: Fix bug where direction on negotiated extmaps was recorded backwards. r=drno
MozReview-Commit-ID: BFQ2WcNs4OH

--HG--
extra : rebase_source : c1805d0a166cbbdf53dbde85e5e772a2dbeff1ec
2017-03-08 14:13:44 -06:00
Byron Campen [:bwc] 46618bebbc Bug 1344556 - Part 3: When answering, pay attention to JS simulcast constraints. r=drno
MozReview-Commit-ID: Krwt1om2NLF

--HG--
extra : rebase_source : 788533a7dbc6a0c9b70275652f7d006b1d29d763
2017-03-08 13:51:10 -06:00
Byron Campen [:bwc] 71467de191 Bug 1344556 - Part 2: Some helper functions for working with SDP direction attributes. Makes subsequent work simpler. r=drno
MozReview-Commit-ID: 177Sp8pj9kX

--HG--
extra : rebase_source : a91a896baf342cd49de18d082c5188ab4b82dead
2017-03-08 13:49:12 -06:00
Byron Campen [:bwc] 94936dea03 Bug 1344556 - Part 1: Test cases for simulcast answerer. r=drno
MozReview-Commit-ID: DiHjaPlmmDx

--HG--
extra : rebase_source : 9319082052b02d731d7a3016906bde128e72414a
2017-03-08 11:22:32 -06:00
Randell Jesup 80022975a2 Bug 1349233: allow SSRC changes in VideoConduits r=bwc
MozReview-Commit-ID: 6PNyjLyl9L0
2017-03-28 10:43:10 -04:00
Carsten "Tomcat" Book bc21c019f3 Merge mozilla-central to mozilla-inbound 2017-03-28 13:05:57 +02:00
Randell Jesup 340f43be8a Bug 1350912: Set min and start bandwidth according to b=TIAS, instead of only max r=drno
MozReview-Commit-ID: DH1rFn53sNN
2017-03-28 06:54:12 -04:00
Gerald Squelart 6c6f29c5e9 Bug 1351094 - gtest - r=alfredo
MozReview-Commit-ID: 7n9ZYSO2ECF

--HG--
extra : rebase_source : de1778bd585817fcd9cfd4a236f8ea909b6fc050
2017-03-28 12:04:32 +11:00
Gerald Squelart 30bc48ac6f Bug 1351094 - Catch div/0 when hz==0 in MPEG4Extractor's unitsToUs - r=alfredo
MozReview-Commit-ID: KLgUg3UYiNQ

--HG--
extra : rebase_source : 45c26f5cea0e2d11eee785ae3255fe341707a55d
2017-03-28 10:10:05 +11:00
Gerald Squelart 44d96daa9b Bug 1351152 - Run gtest for both Stagefright and Rust MP4 parsers - r=alfredo
MozReview-Commit-ID: BSaMIi6UnVz

--HG--
extra : rebase_source : 25b60c7a5ac97e1f3625324e995723e32e7026be
2017-03-28 13:54:45 +11:00
Nils Ohlmeier [:drno] 948bfcc4f7 Bug 969715: remove INET and INET6 from sctp build env. r=jesup
MozReview-Commit-ID: 4e67tOzltoc

--HG--
extra : rebase_source : c0c134bde1b0400b3fc37aaada0187948442e9cb
2016-12-08 23:49:43 -10:00
Nils Ohlmeier [:drno] 2b6192d5b7 Bug 1355010: temporarily turn off extmap direction verification to avoid Chrome interop issues. r=bwc
MozReview-Commit-ID: 76Zayg9XMi7

--HG--
extra : rebase_source : f5c3a27df5a54db51f18413405ea0e295c82a452
2017-04-11 14:08:32 -07:00
Michael Froman 31e4ce10aa Bug 1350055 - fix --disable-webrtc build with new PStunAddrsRequest.ipdl r=jduell
MozReview-Commit-ID: 5oxJtUppHWC

--HG--
extra : rebase_source : 7cfbddb1168711439530b3ead47bd35bec70ab80
2017-03-23 20:04:41 -05:00
Alfredo.Yang b6f5ac4f52 Bug 1330243 - update gtest for mp4 rust parser. r=kinetik
MozReview-Commit-ID: 3CfsHkpk625

--HG--
extra : rebase_source : 1f2b54f8c058bb6d9fdb649224d4a09df662c06f
2017-03-25 17:55:06 +08:00
Alfredo.Yang fb9844d916 Bug 1330243 - add preference to enable rust mp4 parser. r=kinetik
MozReview-Commit-ID: LINNEMiXYx4

--HG--
extra : rebase_source : 747b9854b0d5d1f0419c59c5966414872e8ea158
2017-03-14 15:42:09 +08:00
Ben Kelly 4ffa062ade Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz 2017-03-24 15:27:11 -04:00
Alfredo.Yang 5db4f35048 Bug 1350178 - Get stagefright indices only when rust parser is off or TestMode is on for saving memory usage. r=kinetik
MozReview-Commit-ID: F9P9O8YHJWg

--HG--
extra : rebase_source : 9877c569539a542de2caee1f724cb239d09c70f2
2017-03-23 14:23:36 +08:00
Wes Kocher 03061ecb63 Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher
MozReview-Commit-ID: 3ItJdCtiOul

--HG--
extra : rebase_source : 2db0d75589a0bd8f28bdd35f015949a1194bc47d
2017-03-22 17:23:12 -07:00
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Andrea Marchesini 1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Glenn Randers-Pehrson dbfdd899bc Bug 1348356 - Update in-tree libpng to version 1.6.29. r=jrmuizel 2017-03-18 10:33:00 -04:00
Dan Minor f7809b18ec Bug 862837 - Build signaling unit tests on Windows; r=drno
MozReview-Commit-ID: 1pLKmXEcaAM

--HG--
extra : rebase_source : 4bef49068433660e5b44ea46b2ff4edd5065513a
2017-03-17 09:48:19 -04:00
Nils Ohlmeier [:drno] e7dd39ae18 Bug 1347813: take cumulativeLost from RTCP. r=jesup
MozReview-Commit-ID: LIPxL8vcnHl

--HG--
extra : rebase_source : e7df61a4200e088dba0b5f85d59669e99d35476f
2017-03-20 14:03:46 -07:00
Michael Froman 647131bd6f Bug 1345511 - pt 3 - start using IPC call for stun addrs in PCMedia. r=bwc
Two new calls are added to NrIceCtx.
1) A static call to allow StunAddrsRequestParent to get stun addrs from the main
process.
2) A call to allow StunAddrsRequestChild to pass the new stun addrs back to
PeerConnectionMedia on the content process.

PeerConnectionMedia, when running in e10s mode, sets up the StunAddrsRequestChild
and makes the async request to get the stun addrs.  When they are returned, it
sets the stun addrs in NrIceCtx avoid the network calls that would otherwise
cause a further restricted sandbox to fail.

MozReview-Commit-ID: C2hYBzm6WNv

--HG--
extra : rebase_source : 4c71056850c418efdc0f709f4d838a3e0bf4bee2
2017-03-22 09:59:46 -05:00
Michael Froman f0c929ff2d Bug 1345511 - pt 2 - add IPC mechanism for getting stun addrs on main process. r=bwc
PStunAddrsRequest.ipdl defines the new IPC protocol to get stun
  addrs on the main process.
StunAddrsRequestChild requests the stun addrs from the parent.
StunAddrsRequestParent uses a static method on NrIceCtx to get the
  stun addrs from the STS thead and sends the addrs back to the
  child process.
NrIceStunAddr (nricestunaddr.{cpp|h}) wraps nr_local_addr and makes
  it easier to serialize/deserialize over IPC.
NrIceStunAddrMessageUtils follows the pattern used by other Necko
  IPC classes to define top-level serialization/deserialization
  calls used by the IPC framework.

Modifications under netwerk/ipc are to connect the new IPC
protocol to get stun addrs to PNecko since it is a network
related IPC protocol.

MozReview-Commit-ID: GyEapBe5krl

--HG--
extra : rebase_source : c650d6aa4f7928bcae6032424303869074a755d4
2017-03-21 19:59:05 -05:00
Michael Froman 032f9ca0bc Bug 1345511 - pt 1 - nICEr changes to support stun addr gathering from main process. r=bwc
Expose a tweaked version of nr_ice_get_local_addresses to allow callers to
provide pre-fetched stun addrs if they are available.  By default, the normal
call to nr_ice_gather calls this with no pre-fetched stun addrs (read
non-e10s).  In e10s, the stun addrs are discovered on the main process and
provided to nr_ice_get_local_addreses.  When nr_ice_gather is called from
the content process the local addresses have already been gathered.

In the past, nr_ice_get_local_addresses also applied policy (by removing
duplicate addrs, and, based on stun prefs, removing loopback and/or
link_local addrs.  This functionality has been moved to
nr_ice_set_local_addresses where other policy is being applied (like
default route only, forcing specific interfaces, and prioritization).

Because we're now serializing nr_local_addr (wrapped by NrIceStunAddr), we
can't assume that certain pointer references in the source nr_local_addr
are correct when calling nr_local_addr_copy.  New non-pointer-arithmetic
version of setting up the pointer on the copied nr_local_addr is used.  Also
easier to understand when walking up to it the first time.

MozReview-Commit-ID: KVRFl4dfr7J

--HG--
extra : rebase_source : c0437700ad77ee3b7f98947d3505551ca9ed43e9
2017-03-16 12:06:09 -05:00
Alfredo.Yang 33f2386cd8 Bug 1349133 - Update mp4 rust parser. r=kinetik
MozReview-Commit-ID: JDKFUsJBpS9

--HG--
extra : rebase_source : 4c7f569dbafb3b34c485cbf0c35177d27579455c
2017-03-22 09:53:58 +08:00
Alfredo.Yang 66d934bf84 Bug 1349133 - Support video rotation. r=kinetik
MozReview-Commit-ID: GErgah40omc

--HG--
extra : rebase_source : 72436d54cce88b70a1b2d7c548821174331445ed
2017-03-21 16:01:14 +08:00
Petr Cerny 89ce732573 Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Gerald Squelart ef98a8485d Bug 1346648 - Better pointer checks. r=cpearce
MozReview-Commit-ID: BjYCYS4h5qN

--HG--
extra : rebase_source : e1b079c4e7e29fcb2121ad3cfbc2c183798928b7
2017-03-14 09:33:16 +11:00
Paul Adenot 3fe3b37a3f Bug 1348344 - Add a way to disable the aggregate audio device on OSX, and log the resampler internal state. r=achronop,kinetik
MozReview-Commit-ID: C23SsRNfq2A

--HG--
extra : histedit_source : 654a54d4a2367595cd7acff6e473d191c4787754
2017-03-17 18:21:35 +01:00
Alfredo.Yang e8514c817f Bug 1347834 - update rust mp4 parser for audio codec specific data. r=kinetik
MozReview-Commit-ID: 29yu6VsFIE6

--HG--
extra : rebase_source : 353b9b287dd1f6160d883dda5852c2f57fe85256
2017-03-17 11:13:22 +08:00
Alfredo.Yang 4678e869de Bug 1347834 - retrieve audio codec specific config from rust parser. r=kinetik
MozReview-Commit-ID: 2x4sN0e7c5j

--HG--
extra : rebase_source : 3f4f27c0a2bc9f0d200ee646d68666c0c8adda59
2017-03-16 16:06:28 +08:00
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Paul Adenot d608b2fd6e Bug 1341238 - Update cubeb to revision 4ab45776. r=kinetik 2017-03-16 18:26:32 +13:00
Nils Ohlmeier [:drno] 45e84a2ec3 Bug 1323723: update a=setup tests. r=bwc
MozReview-Commit-ID: LEKNXjKy80R

--HG--
extra : rebase_source : 0ab6554f534f44ffc46505c18cc6c0e92814edab
2017-03-15 15:52:06 -07:00
Nils Ohlmeier [:drno] 451faf7781 Bug 1323723: reject setup value actpass in answers. r=bwc
MozReview-Commit-ID: FnuiLB6OjbL

--HG--
extra : rebase_source : c1e133d3e0baa056b2238b7ec9e96e1194c32506
2017-03-13 21:38:25 -07:00
Nils Ohlmeier [:drno] d42d78db4e Bug 1323723: enforce a=setup in SDP offers. r=bwc
MozReview-Commit-ID: 88y11CrXdhf

--HG--
extra : rebase_source : 4148ee5b1e408350328efe7f1cf45199fbc26404
2017-03-14 14:39:54 -07:00
Alfredo.Yang eb4bc17bf3 Bug 1347765 - add audio codec specific data assertion. r=kinetik
MozReview-Commit-ID: CQI452xqeMV

--HG--
extra : rebase_source : ae51eb46a87eb57915e1d74f905a7611c8e5d0a6
2017-03-16 09:38:44 +08:00
Nico Grunbaum 194702d7ab Bug 1343691 - fix missing rtcp stats;r=jib
Omitting the RTT when it is not available breaks a lot of tests (as jesup warned).
I am going to fix the RTT behavior and the tests in bug 1344970, for now RTT will
be zero when unavailable.

MozReview-Commit-ID: 9x3eQfbM3ZT

--HG--
extra : rebase_source : f8d46d7232455a3038fd99ffb6cc14111c44a794
2017-03-08 23:26:24 -08:00
Alfredo.Yang 48c54615b1 Bug 1343461 - add a wrapper class to encapsulate rust/stagefright sample table. r=gerald
MozReview-Commit-ID: 4UgToySaEmb

--HG--
extra : rebase_source : b91481f844d94bd3a9f7e6bfeaa08391f117e967
2017-03-01 10:53:49 +08:00
David Major dc67bfc9a3 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao 5cece96e1c Backed out 12 changesets (bug 1344629) for stylo build bustage
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major 40f4821701 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Wes Kocher 8010f266fb Merge m-c to autoland, a=merge
MozReview-Commit-ID: Hikpu6ARByb
2017-03-13 16:40:18 -07:00
Wes Kocher 9c14a7c4ed Merge inbound to central, a=merge
MozReview-Commit-ID: ECt4ZkKUuQp
2017-03-13 16:37:21 -07:00
Carsten "Tomcat" Book 1ddeca78fa Merge mozilla-central to autoland 2017-03-13 15:26:50 +01:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Randell Jesup ed0d72a181 Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: JZukIfjapuy
2017-03-10 15:22:42 -05:00
Iris Hsiao 6b7f00782d Backed out changeset 2b23902cadd8 (bug 1346005) for bustage in MediaPipeline.cpp 2017-03-13 14:14:16 +08:00
Randell Jesup 269eb591be Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: JZukIfjapuy
2017-03-10 15:22:42 -05:00
Tom Tromey cfa2aa2cbf Bug 1345609 - add -Werror=format to libstagefright; r=gerald
MozReview-Commit-ID: 8JCRDusR4Dg

--HG--
extra : rebase_source : 7de5fc43b81d068ea143c7ab6cc1ab4b4aab3185
2017-03-08 14:43:22 -07:00
Mike Hommey 12c65a0a37 Bug 1344889 - Add necessary dependendencies for generated libvpx assembly. r=mshal
--HG--
extra : rebase_source : f65f767dfad5fbe1a577f06923c5b84c90819fe1
2017-03-09 10:54:48 +09:00
Wes Kocher 77632ccd1b Merge m-c to inbound, a=merge
MozReview-Commit-ID: JXQqoTEXxwz
2017-03-10 17:22:54 -08:00
Alex Chronopoulos 44ce83037f Bug 1345049 - Update cubeb from upstream to f07ee6d. r=kinetik
MozReview-Commit-ID: 9vApWUIieJH

--HG--
extra : rebase_source : 02de16b962218747a52b5c6f71c2d681b8485fc6
2017-03-09 19:47:39 +01:00
Sebastian Hengst 6117caed69 Backed out changeset 31656946aa03 (bug 1346005) for bustage in MediaPipeline.cpp. r=backout on a CLOSED TREE 2017-03-10 21:50:22 +01:00
Randell Jesup 220412f9f7 Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: KuL1nNEmOnl
2017-03-10 15:22:42 -05:00
Paul Adenot a01cea3a7b Bug 1341254 - Update libspeex_resampler to 79822c. r=karlt
MozReview-Commit-ID: EDYCyjrWmz1

--HG--
extra : rebase_source : 94d87c4b911ac646e755e03dc938da57ce237aad
2017-03-06 17:16:23 +01:00
Paul Adenot 6bb696b272 Bug 1341254 - Put the modification made to the resampler code in bug 1274083 into their own patch, and add this patch to update.sh. r=karlt
MozReview-Commit-ID: IAOWdGS0jM

--HG--
extra : rebase_source : ca9d38acb50f7fa8818d50fd8370d98b5d21e4f9
2017-03-06 16:15:07 +01:00
Dan Minor 2f2e51556a Bug 1343557 - Update build for gtest and gmock 1.7.0; r=ted.mielczarek
I've moved the mozilla specific gtest stuff to link directly in xul-gtest
rather than in the gtest static library to make it possible for standalone
programs to link against this library and not have to link
against other mozilla libraries. This allows us to build
media/webrtc/signaling/fuzztest against this version of gtest rather than the
webrtc version of gtest, which I plan to remove in a follow on bug.

I had to add a global disable for -Wgnu-zero-variadic-macro-arguments as we
hit that everywhere we use the INSTANTIATE_TEST_CASE_P macro.

This brings forward the fix from Bug 844630 to the visibility of environ in
gtest-death-test.cc.

I also removed code that set GTEST_API_ to a visibility that conflicts with
what we've defined elsewhere in tree.

MozReview-Commit-ID: 3cfuapC6vn0

--HG--
extra : rebase_source : 6e5d2684718b6ddaa5a64c1f26a0172c91b5a719
2017-03-03 14:54:05 -05:00
Gerald Squelart ed7943aae9 Bug 1345671 - Fix format strings in libstagefright - r=kinetik
MozReview-Commit-ID: BJpOgY9j4UC

--HG--
extra : rebase_source : 128b19c091af135549f56b3ea4a6b26276e83002
2017-03-09 15:37:16 +11:00
Randell Jesup 7a19f87fd9 Bug 1339246: force rebuild of Send/RecvStream if the SSRCs have been changed r=bwc
MozReview-Commit-ID: HWZ8MXjtWzg
2017-03-08 00:24:21 -05:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Iris Hsiao 6ee4c39904 Backed out changeset 4e90c48f2617 (bug 1339246) for media test failure in test_peerConnection_addtrack_removetrack_events.html 2017-03-08 14:44:35 +08:00
Randell Jesup 6274280496 Bug 1339246: force rebuild of SendStream if the SSRCs have been changed r=bwc
MozReview-Commit-ID: 5RNrkBZFmV3
2017-03-08 00:24:21 -05:00
Wes Kocher 9d3f12083b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Kk6k8R6WCf
2017-03-07 16:45:07 -08:00
Wes Kocher dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Michael Layzell 1957fbfa92 Bug 1331434 - Part 3: Return early after throwing an error in PeerConnectionImpl::Initialize, r=bwc
MozReview-Commit-ID: AU2V0dtmcLO
2017-03-07 19:06:48 -05:00
Joel Maher 43d997b5a3 Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot
MozReview-Commit-ID: C7xWOE0OwIK
2017-03-07 13:06:45 -05:00
Randell Jesup bd828a2434 Bug 1337810: use sender SSRC for receivers r=drno
MozReview-Commit-ID: 1ErpaFbU6pZ
2017-03-07 16:24:00 -05:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Alfredo.Yang c178f4e8ec Bug 1343793 - update rust mp4parser. r=kinetik
MozReview-Commit-ID: GGfv911o5Rb

--HG--
rename : third_party/rust/bitreader/LICENSE => third_party/rust/bitreader/LICENSE-APACHE
extra : rebase_source : a60a623af8465fe2220c5294f60f43f75a8513ec
2017-03-07 09:30:48 +08:00
Alfredo.Yang b2fd41c814 Bug 1343793 - use i64 instead of u64 in presentation time. r=kinetik
MozReview-Commit-ID: ECngVxPiYEl

--HG--
extra : rebase_source : e9b428e04910a36dfaf5f19c48eb453a9b6e9898
2017-03-03 11:09:47 +08:00
Byron Campen [:bwc] 408ae2fda0 Bug 1342523 - Part 3: Remove old Telemetry probes. r=drno
MozReview-Commit-ID: CkwIMn9Y6sJ

--HG--
extra : rebase_source : 9a6eb6f9d720392de352c6df8c68a17b40dade40
2017-02-24 15:07:08 -06:00
Byron Campen [:bwc] 3be4ec69b5 Bug 1342523 - Part 2: Add some better ICE duration telemetry. r=bsmedberg,drno
MozReview-Commit-ID: 7qRd1v6rUHl

--HG--
extra : rebase_source : 0c5bbdd47f719226b29660d59bb283c530118a8a
2017-02-24 15:03:49 -06:00
Byron Campen [:bwc] 42465ae6db Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno
MozReview-Commit-ID: D8qPAPUZC1J

--HG--
extra : rebase_source : dec5598ee2edd9168bd5c93be222cc409a7db096
2017-02-24 14:05:27 -06:00
Wes Kocher bfc6ee87c5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7cTf6LvHTEo
2017-03-07 16:44:35 -08:00
Daniel Holbert 538d0a5aad Bug 1345186: Suppress -Wunused-function build warnings in third-party libstagefright C code. r=mshal
MozReview-Commit-ID: EO0XTMTdyoG

--HG--
extra : rebase_source : f5e309f28a9b6358d78668172fcf2d71bd130f17
2017-03-07 15:02:45 -08:00
Tim Huang fc6e097c7a Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
MozReview-Commit-ID: D6Vp8ANSzLI

--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Daniel Holbert a6c2851e3e Bug 1344812: Remove variable "sessionId" from lambda-captures where it's not used, in ClearKeySessionManager.cpp. r=cpearce
MozReview-Commit-ID: IMdIBFmgwmv

--HG--
extra : rebase_source : c71f7910dcea9dbd9a16ef463c5983069c90f0b7
2017-03-06 10:52:09 -08:00
Nico Grunbaum f587b4fa3f Bug 1325173 - read full RtpStreamId when parsing RTP header extensions. r=drno
MozReview-Commit-ID: CHkqA0MM3fx

--HG--
extra : rebase_source : 84c0e85c9f214f1bc7403256d8c2d80809305e13
2017-03-05 23:37:51 -08:00
Chris Pearce 756932ea4e Bug 1341894 - Correct encryption subsamples in AVCC -> AnnexB conversion. r=jya
This menas we can have GMPVideoDecoder's AVCC -> AnnexB conversion done by the H264Converter, and
simplify the code in WidevineVideoDecoder.

MozReview-Commit-ID: 3HT5VXth6LL

--HG--
extra : rebase_source : b840489edafa5dc981ba44f722d92083a40e34cd
2017-02-23 11:00:28 +13:00
Nils Ohlmeier [:drno] 41b62a7872 Bug 1341374: ensure mtransport refcounting is happening on the same thread r=jesup
MozReview-Commit-ID: 6Q3Wc1dIfnR

--HG--
extra : rebase_source : 29c73b5ac8b23d60df7946b993efa3542316bb5e
2017-02-23 21:57:50 -08:00
Wes Kocher bd0bfddf8e Merge m-c to inbound, a=merge
MozReview-Commit-ID: Fypud50dqYw
2017-03-02 15:03:11 -08:00
Wes Kocher e447319b94 Merge inbound to central, a=merge
MozReview-Commit-ID: DuLPg9KE8Ci

--HG--
rename : browser/components/extensions/ext-theme.js => toolkit/components/extensions/ext-theme.js
rename : browser/components/extensions/schemas/theme.json => toolkit/components/extensions/schemas/theme.json
rename : browser/components/extensions/test/browser/browser_ext_themes_chromeparity.js => toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js
rename : browser/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js => toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js
rename : browser/components/extensions/test/browser/browser_ext_themes_lwtsupport.js => toolkit/components/extensions/test/browser/browser_ext_themes_lwtsupport.js
2017-03-02 14:57:41 -08:00
Randell Jesup c5f6a79a17 Bug 1337777: ensure mSend/RecvStream access is locked r=bwc
MozReview-Commit-ID: 5wBkKheve2K
2017-03-02 15:11:28 -05:00
Randell Jesup f709468851 Bug 1337777: if no receive-SSRC was signaled for video, on the first packet reset the VideoReceiveStream r=bwc
Note that this stumbles over the use of the PCHandle as a global when
initializing the OpenH264 gmp plugin.

MozReview-Commit-ID: 7GEvIwwsitk
2017-03-02 15:11:22 -05:00
Randell Jesup 1ce411e0e1 Bug 1342727: Handle all bitrates in VideoConduit as bps, instead of mix of kbps and bps r=drno
MozReview-Commit-ID: CQrvswMkh7G
2017-03-02 15:10:13 -05:00
Carsten "Tomcat" Book 614b0dd569 Merge mozilla-central to mozilla-inbound 2017-03-02 14:06:01 +01:00
Alex Chronopoulos b232ff8649 Bug 1343780 - Update cubeb from upstream to 0753297. r=kinetik
MozReview-Commit-ID: Byuw5tH6wjs
2017-03-02 13:45:08 +02:00
Jean-Yves Avenard c3a4683804 Bug 1342808: Ignore user data track. r=gerald
That's the 'udta' box. They serve no purpose as far as we're concerned and stagefright handling of it is buggy.

MozReview-Commit-ID: Af6wCpq2vZr

--HG--
extra : rebase_source : 880fe00c7b51700a8b9272063cedc4e9c44d9007
2017-02-27 18:41:55 +01:00
Alfredo.Yang e95865db72 Bug 1342852 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 5GzgpfPqMD8

--HG--
extra : rebase_source : 716bb6df434acc245721d15a7ee14c5bfae0f44a
2017-03-01 16:52:46 +08:00
Wes Kocher 9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Alfredo.Yang 69731f92d5 Bug 1341967 - remove MOZ_RUST_MP4PARSE. r=kinetik
MozReview-Commit-ID: SgTlIo8wEi

--HG--
extra : rebase_source : 263a6cfcf50ee3582f3dc1bfc43d4fa0dcc00800
2017-03-01 14:44:42 +08:00
Carsten "Tomcat" Book b43c07a10c Merge mozilla-central to mozilla-inbound 2017-03-01 16:39:27 +01:00
Carsten "Tomcat" Book 3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Randell Jesup 6f01cb08c1 Bug 1342732: Adjust ANY11P16 r=sotaro
MozReview-Commit-ID: ARnj1K5o2LM
2017-02-28 23:31:47 -05:00
Randell Jesup b4b1d2146e Bug 1342730: clean up MipsCpuCaps r=sotaro
MozReview-Commit-ID: 2EwQHcN8gfF
2017-02-28 23:20:50 -05:00
Benjamin Smedberg b0dd6ff594 Bug 1332639 - Stop building the media/mtransport/testlib library which isn't used, r=dminor
MozReview-Commit-ID: 2tM8ftLBDpi

--HG--
extra : rebase_source : 0730f464b5cbd63d0a4e2b3d7c56b55212db7466
2017-02-27 13:07:55 -05:00
Gerald Squelart bcdfea341d Bug 1343156 - Remove unnecessary MP4Metadata::HasCompleteMetadata - r=jya
MP4Metadata::Metadata() contains the same code at the beginning, so calling
HasCompleteMetadata() is unnecessary, so we should just remove it completely.

(Except to get a better error message, but this will be reinstated in an
upcoming bug.)

MozReview-Commit-ID: 2C3GI5fE0Ja

--HG--
extra : rebase_source : 2bdb6199222dcb0ca4012121a3fd4694b440be3e
2017-02-27 10:06:45 +11:00
Nils Ohlmeier [:drno] e4c43ec7d3 Bug 1343640: dump RT(C)P as raw hex into log files. r=bwc
MozReview-Commit-ID: 5vNitjQJmih

--HG--
extra : rebase_source : ff49349423419cf8a568fd3dcd96f2421a880fad
2017-03-01 23:22:36 -08:00
Nils Ohlmeier [:drno] 62d88014e0 Bug 1335966: skip refreshing ICE cosent for streams with no consent context. r=bwc
MozReview-Commit-ID: 91aZIMdGBAQ

--HG--
extra : rebase_source : 4cf76f2344fe74ed026e1029753a45a3203f072a
2017-02-01 16:54:59 -08:00
Tom Ritter e275b0a019 Bug 1342212 - Add the commit date to the cubeb README_MOZILLA file to allow automated tooling to detect too-old libraries. r=kinetik
MozReview-Commit-ID: CbBlmy1jZU

--HG--
extra : rebase_source : 5c61711a1ad9c60f6180f67f6c8f1c49df91ff69
2017-02-27 13:53:41 -06:00
Wes Kocher e84fc624ff Merge inbound to central, a=merge
MozReview-Commit-ID: DpCZgRV1csS
2017-02-24 16:46:12 -08:00
Randell Jesup 8ad25a673c Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
Randell Jesup 444c7b0939 Bug 1284800: Create new update script for libyuv r=sotaro,rillian
MozReview-Commit-ID: 3MK84gHSrLg
2017-02-24 14:01:40 -05:00
Randell Jesup c204717db3 Bug 1341543: Import libyuv rev 054ec37f8e31e6131c8f19eb74395d29009d6604 from upstream rs=jesup,sotaro
https://chromium.googlesource.com/libyuv/libyuv

MozReview-Commit-ID: 8RTYSNenvVH

--HG--
rename : media/libyuv/AUTHORS => media/libyuv/libyuv/AUTHORS
rename : media/libyuv/Android.mk => media/libyuv/libyuv/Android.mk
rename : media/libyuv/BUILD.gn => media/libyuv/libyuv/BUILD.gn
rename : media/libyuv/LICENSE => media/libyuv/libyuv/LICENSE
rename : media/libyuv/LICENSE_THIRD_PARTY => media/libyuv/libyuv/LICENSE_THIRD_PARTY
rename : media/libyuv/OWNERS => media/libyuv/libyuv/OWNERS
rename : media/libyuv/PATENTS => media/libyuv/libyuv/PATENTS
rename : media/libyuv/README.chromium => media/libyuv/libyuv/README.chromium
rename : media/libyuv/README.md => media/libyuv/libyuv/README.md
rename : media/libyuv/all.gyp => media/libyuv/libyuv/all.gyp
rename : media/libyuv/docs/getting_started.md => media/libyuv/libyuv/docs/deprecated_builds.md
rename : media/libyuv/docs/environment_variables.md => media/libyuv/libyuv/docs/environment_variables.md
rename : media/libyuv/docs/filtering.md => media/libyuv/libyuv/docs/filtering.md
rename : media/libyuv/docs/formats.md => media/libyuv/libyuv/docs/formats.md
rename : media/libyuv/docs/rotation.md => media/libyuv/libyuv/docs/rotation.md
rename : media/libyuv/download_vs_toolchain.py => media/libyuv/libyuv/download_vs_toolchain.py
rename : media/libyuv/gyp_libyuv => media/libyuv/libyuv/gyp_libyuv
rename : media/libyuv/gyp_libyuv.py => media/libyuv/libyuv/gyp_libyuv.py
rename : media/libyuv/include/libyuv.h => media/libyuv/libyuv/include/libyuv.h
rename : media/libyuv/include/libyuv/basic_types.h => media/libyuv/libyuv/include/libyuv/basic_types.h
rename : media/libyuv/include/libyuv/compare.h => media/libyuv/libyuv/include/libyuv/compare.h
rename : media/libyuv/include/libyuv/compare_row.h => media/libyuv/libyuv/include/libyuv/compare_row.h
rename : media/libyuv/include/libyuv/cpu_id.h => media/libyuv/libyuv/include/libyuv/cpu_id.h
rename : media/libyuv/include/libyuv/mjpeg_decoder.h => media/libyuv/libyuv/include/libyuv/mjpeg_decoder.h
rename : media/libyuv/include/libyuv/rotate_argb.h => media/libyuv/libyuv/include/libyuv/rotate_argb.h
rename : media/libyuv/include/libyuv/row.h => media/libyuv/libyuv/include/libyuv/row.h
rename : media/libyuv/include/libyuv/scale.h => media/libyuv/libyuv/include/libyuv/scale.h
rename : media/libyuv/include/libyuv/scale_argb.h => media/libyuv/libyuv/include/libyuv/scale_argb.h
rename : media/libyuv/include/libyuv/version.h => media/libyuv/libyuv/include/libyuv/version.h
rename : media/libyuv/include/libyuv/video_common.h => media/libyuv/libyuv/include/libyuv/video_common.h
rename : media/libyuv/tools/OWNERS => media/libyuv/libyuv/infra/config/OWNERS
rename : media/libyuv/libyuv.gyp => media/libyuv/libyuv/libyuv.gyp
rename : media/libyuv/libyuv.gypi => media/libyuv/libyuv/libyuv.gypi
rename : media/libyuv/libyuv_nacl.gyp => media/libyuv/libyuv/libyuv_nacl.gyp
rename : media/libyuv/libyuv_test.gyp => media/libyuv/libyuv/libyuv_test.gyp
rename : media/libyuv/linux.mk => media/libyuv/libyuv/linux.mk
rename : media/libyuv/public.mk => media/libyuv/libyuv/public.mk
rename : media/libyuv/source/compare.cc => media/libyuv/libyuv/source/compare.cc
rename : media/libyuv/source/compare_common.cc => media/libyuv/libyuv/source/compare_common.cc
rename : media/libyuv/source/compare_gcc.cc => media/libyuv/libyuv/source/compare_gcc.cc
rename : media/libyuv/source/compare_neon.cc => media/libyuv/libyuv/source/compare_neon.cc
rename : media/libyuv/source/compare_neon64.cc => media/libyuv/libyuv/source/compare_neon64.cc
rename : media/libyuv/source/compare_win.cc => media/libyuv/libyuv/source/compare_win.cc
rename : media/libyuv/source/convert.cc => media/libyuv/libyuv/source/convert.cc
rename : media/libyuv/source/convert_argb.cc => media/libyuv/libyuv/source/convert_argb.cc
rename : media/libyuv/source/convert_from.cc => media/libyuv/libyuv/source/convert_from.cc
rename : media/libyuv/source/convert_from_argb.cc => media/libyuv/libyuv/source/convert_from_argb.cc
rename : media/libyuv/source/convert_jpeg.cc => media/libyuv/libyuv/source/convert_jpeg.cc
rename : media/libyuv/source/convert_to_argb.cc => media/libyuv/libyuv/source/convert_to_argb.cc
rename : media/libyuv/source/convert_to_i420.cc => media/libyuv/libyuv/source/convert_to_i420.cc
rename : media/libyuv/source/cpu_id.cc => media/libyuv/libyuv/source/cpu_id.cc
rename : media/libyuv/source/mjpeg_decoder.cc => media/libyuv/libyuv/source/mjpeg_decoder.cc
rename : media/libyuv/source/mjpeg_validate.cc => media/libyuv/libyuv/source/mjpeg_validate.cc
rename : media/libyuv/source/planar_functions.cc => media/libyuv/libyuv/source/planar_functions.cc
rename : media/libyuv/source/rotate.cc => media/libyuv/libyuv/source/rotate.cc
rename : media/libyuv/source/rotate_any.cc => media/libyuv/libyuv/source/rotate_any.cc
rename : media/libyuv/source/rotate_argb.cc => media/libyuv/libyuv/source/rotate_argb.cc
rename : media/libyuv/source/rotate_common.cc => media/libyuv/libyuv/source/rotate_common.cc
rename : media/libyuv/source/rotate_mips.cc => media/libyuv/libyuv/source/rotate_dspr2.cc
rename : media/libyuv/source/rotate_neon.cc => media/libyuv/libyuv/source/rotate_neon.cc
rename : media/libyuv/source/rotate_neon64.cc => media/libyuv/libyuv/source/rotate_neon64.cc
rename : media/libyuv/source/rotate_win.cc => media/libyuv/libyuv/source/rotate_win.cc
rename : media/libyuv/source/row_any.cc => media/libyuv/libyuv/source/row_any.cc
rename : media/libyuv/source/row_common.cc => media/libyuv/libyuv/source/row_common.cc
rename : media/libyuv/source/row_gcc.cc => media/libyuv/libyuv/source/row_gcc.cc
rename : media/libyuv/source/row_neon.cc => media/libyuv/libyuv/source/row_neon.cc
rename : media/libyuv/source/row_neon64.cc => media/libyuv/libyuv/source/row_neon64.cc
rename : media/libyuv/source/row_win.cc => media/libyuv/libyuv/source/row_win.cc
rename : media/libyuv/source/scale.cc => media/libyuv/libyuv/source/scale.cc
rename : media/libyuv/source/scale_argb.cc => media/libyuv/libyuv/source/scale_argb.cc
rename : media/libyuv/source/scale_common.cc => media/libyuv/libyuv/source/scale_common.cc
rename : media/libyuv/source/scale_mips.cc => media/libyuv/libyuv/source/scale_dspr2.cc
rename : media/libyuv/source/scale_gcc.cc => media/libyuv/libyuv/source/scale_gcc.cc
rename : media/libyuv/source/scale_neon.cc => media/libyuv/libyuv/source/scale_neon.cc
rename : media/libyuv/source/scale_neon64.cc => media/libyuv/libyuv/source/scale_neon64.cc
rename : media/libyuv/source/scale_win.cc => media/libyuv/libyuv/source/scale_win.cc
rename : media/libyuv/source/video_common.cc => media/libyuv/libyuv/source/video_common.cc
rename : media/libyuv/tools/OWNERS => media/libyuv/libyuv/tools_libyuv/OWNERS
rename : media/libyuv/tools/msan/OWNERS => media/libyuv/libyuv/tools_libyuv/msan/OWNERS
rename : media/libyuv/tools/msan/blacklist.txt => media/libyuv/libyuv/tools_libyuv/msan/blacklist.txt
rename : media/libyuv/tools/ubsan/OWNERS => media/libyuv/libyuv/tools_libyuv/ubsan/OWNERS
rename : media/libyuv/tools/ubsan/blacklist.txt => media/libyuv/libyuv/tools_libyuv/ubsan/blacklist.txt
rename : media/libyuv/tools/ubsan/vptr_blacklist.txt => media/libyuv/libyuv/tools_libyuv/ubsan/vptr_blacklist.txt
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.bat => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.bat
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.py => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.py
rename : media/libyuv/tools/valgrind-libyuv/libyuv_tests.sh => media/libyuv/libyuv/tools_libyuv/valgrind/libyuv_tests.sh
rename : media/libyuv/tools/valgrind-libyuv/tsan/OWNERS => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/OWNERS
rename : media/libyuv/tools/valgrind-libyuv/memcheck/PRESUBMIT.py => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/PRESUBMIT.py
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions.txt
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions_mac.txt
rename : media/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt => media/libyuv/libyuv/tools_libyuv/valgrind/memcheck/suppressions_win32.txt
rename : media/libyuv/unit_test/basictypes_test.cc => media/libyuv/libyuv/unit_test/basictypes_test.cc
rename : media/libyuv/unit_test/color_test.cc => media/libyuv/libyuv/unit_test/color_test.cc
rename : media/libyuv/unit_test/compare_test.cc => media/libyuv/libyuv/unit_test/compare_test.cc
rename : media/libyuv/unit_test/cpu_test.cc => media/libyuv/libyuv/unit_test/cpu_test.cc
rename : media/libyuv/unit_test/math_test.cc => media/libyuv/libyuv/unit_test/math_test.cc
rename : media/libyuv/unit_test/planar_test.cc => media/libyuv/libyuv/unit_test/planar_test.cc
rename : media/libyuv/unit_test/rotate_argb_test.cc => media/libyuv/libyuv/unit_test/rotate_argb_test.cc
rename : media/libyuv/unit_test/rotate_test.cc => media/libyuv/libyuv/unit_test/rotate_test.cc
rename : media/libyuv/unit_test/scale_argb_test.cc => media/libyuv/libyuv/unit_test/scale_argb_test.cc
rename : media/libyuv/unit_test/scale_test.cc => media/libyuv/libyuv/unit_test/scale_test.cc
rename : media/libyuv/unit_test/testdata/arm_v7.txt => media/libyuv/libyuv/unit_test/testdata/arm_v7.txt
rename : media/libyuv/unit_test/testdata/juno.txt => media/libyuv/libyuv/unit_test/testdata/juno.txt
rename : media/libyuv/unit_test/testdata/tegra3.txt => media/libyuv/libyuv/unit_test/testdata/tegra3.txt
rename : media/libyuv/unit_test/unit_test.cc => media/libyuv/libyuv/unit_test/unit_test.cc
rename : media/libyuv/unit_test/unit_test.h => media/libyuv/libyuv/unit_test/unit_test.h
rename : media/libyuv/unit_test/video_common_test.cc => media/libyuv/libyuv/unit_test/video_common_test.cc
rename : media/libyuv/util/Makefile => media/libyuv/libyuv/util/Makefile
rename : media/libyuv/util/compare.cc => media/libyuv/libyuv/util/compare.cc
rename : media/libyuv/util/convert.cc => media/libyuv/libyuv/util/convert.cc
rename : media/libyuv/util/cpuid.c => media/libyuv/libyuv/util/cpuid.c
rename : media/libyuv/util/psnr.cc => media/libyuv/libyuv/util/psnr.cc
rename : media/libyuv/util/psnr.h => media/libyuv/libyuv/util/psnr.h
rename : media/libyuv/util/psnr_main.cc => media/libyuv/libyuv/util/psnr_main.cc
rename : media/libyuv/util/ssim.cc => media/libyuv/libyuv/util/ssim.cc
rename : media/libyuv/util/ssim.h => media/libyuv/libyuv/util/ssim.h
rename : media/libyuv/winarm.mk => media/libyuv/libyuv/winarm.mk
2017-02-24 13:45:02 -05:00
Alfredo.Yang 1f16c44c38 Bug 1340446 - check the rounding error smaller or euqal to one. r=kinetik
MozReview-Commit-ID: 5LYzYlZzmEB

--HG--
extra : rebase_source : c8a831212ea4d06da4105ff1186a67ffb5d9d96d
2017-02-22 11:38:16 +08:00
Alex Chronopoulos 6b65c12c74 Bug 1342363 - Update cubeb from upstream to 25b593f. r=padenot
MozReview-Commit-ID: BAwQSDLJoMx

--HG--
extra : rebase_source : 01c1c72c3b287f6e6608b84fc00cd80177ae65cc
2017-02-24 13:24:32 +02:00
Dan Minor 71b7ced622 Bug 1332622 - Remove MOZILLA_INTERNAL_API macro from webrtc; r=jesup
I've also cleaned up a few leftover references to USE_FAKE_MEDIA_STREAMS,
MOZILLA_EXTERNAL_LINKAGE and MOZ_WIDGET_GONK where I noticed them.

MozReview-Commit-ID: Cdo1Y4IrFqp

--HG--
extra : rebase_source : 4f7debb5ebc3e024410ec6456fae0d3463ca1d10
2017-02-22 09:07:32 -05:00
Wes Kocher 47dc9207cd Backed out changeset 20a81b2adf80 (bug 1330240) under suspicion of turning android mda1 nearly permafail a=backout
MozReview-Commit-ID: LUKhxorIzwU
2017-02-23 16:25:18 -08:00
Carsten "Tomcat" Book e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Jeff Walden a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
Jeff Walden c7aace8b67 Bug 1287006 - Make JsepTrackPair::mBundleLevel size_t instead of Maybe<size_t>, with SIZE_MAX encoding the previous not-size_t state. (mBundleLevel counts things in memory, so SIZE_MAX is excluded from the typical semantics.) r=bwc
--HG--
extra : rebase_source : 580a13b93cbec088c8937172948b30b4881d31ec
2017-02-21 23:57:56 -08:00
Jeff Walden d73ce21741 Bug 1287006 - Adjust media/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=jw_wang, r=rjesup
--HG--
extra : rebase_source : 176a2afde5772bbdf43f0f6dc8082201acadcf4f
2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book 9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Wes Kocher 5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Boris Zbarsky aed0bcf617 Bug 1340760. Link sdp_file_parser against mozglue, since it uses the PrintfTarget stuff from there. r=froydnj
MozReview-Commit-ID: K3nkeLd3oCs
2017-02-21 19:50:22 -05:00
Iris Hsiao 28ba840815 Backed out changeset 47b318d87004 (bug 1331330) for bustage 2017-02-22 15:31:37 +08:00
Alfredo.Yang daf25d9711 Bug 1340980 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: HrRkz8Sk0v7

--HG--
extra : rebase_source : d4ea066eb6acbaa648851fd2827e145b84004a14
2017-02-20 10:58:10 +08:00
Alfredo.Yang 652691c720 Bug 1331330 - compare rust parser and stagefright sample table. r=kinetik
MozReview-Commit-ID: G6ZqSNNo00J

--HG--
extra : rebase_source : ea6df10e95042cf14f65f81850e2a95f4a2ba2b0
2017-02-21 15:30:03 +08:00
Chris Peterson 436fefadc2 Bug 1341162 - Fix -Wunreachable-code-return warning in webrtc/signaling. r=bwc
The WebrtcVideoConduit::GetRTCPSenderReport() member function has an unnecessary scope block and unreachable `return false`.

media/webrtc/signaling/src/media-conduit/VideoConduit.cpp:847:10 [-Wunreachable-code-return] 'return' will never be executed

MozReview-Commit-ID: 1GFcupqcA9k

--HG--
extra : rebase_source : c46a012a99c66b3953262ba5f86810d62a5b48cf
extra : source : 6ca7c167f10cb234f67c89fb8b64c67f87ca5453
2017-02-20 14:45:30 -08:00