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

14464 Коммитов

Автор SHA1 Сообщение Дата
Bryce Van Dyk d217fb09a2 Bug 1515471 - Add gtest for mp4 sample description entry lookup. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D15442

--HG--
extra : moz-landing-system : lando
2019-01-04 17:57:18 +00:00
Bryce Van Dyk d93e35223b Bug 1515471 - Tidy mp4parser test cases. r=jya
Driveby tidying:
- Tidy and clarify comment impacted by global clang-formatting.
- Update comments on two test cases disabled by bug 1224019. These tests no
  longer have log spam issues, and have some value as sanity tests, but remain
  disabled due to being resource hogs. Comments indicate this.

Differential Revision: https://phabricator.services.mozilla.com/D15441

--HG--
extra : moz-landing-system : lando
2019-01-03 14:14:24 +00:00
Bryce Van Dyk 49eadf9b1e Bug 1515471 - Persist the track fragment header box on the Moof class. r=jya
Persisting this box lets us use it later while indexing into metadata.
Importantly, it lets us look up the appropriate sample description entry, which
lets us determine if a fragment is associated with crypto information in the
init segment.

Being able to do this is required for cbcs encryption. This will be done in a
follow up bug: Bug 1487416 (and possibly others).

Differential Revision: https://phabricator.services.mozilla.com/D15440

--HG--
extra : moz-landing-system : lando
2019-01-03 14:14:00 +00:00
Bryce Van Dyk 07b9273ae0 Bug 1515471 - Have the moof parser store if sample description entries contain crypto info. r=jya
This is required to disambiguate if samples should be considered encrypted or
not when parsing certain cbcs encrypted files. Unlike with cenc encryption, cbcs
encrypted media may have fragments that lack characteristics from which we can
infer encryption. Because of this we need to store and trust this information
from the sample description box.

Differential Revision: https://phabricator.services.mozilla.com/D15439

--HG--
extra : moz-landing-system : lando
2019-01-04 17:57:04 +00:00
Bryce Van Dyk 5daa213b32 Bug 1515471 - Remove unused code from MoofParser.h r=jya
The following code appears to be dead and is removed:
- The AuxInfo class.
- Moof::ParseSaiz.
- Moof::ParseSaio.
- MoofParser::ParseSinf.

Differential Revision: https://phabricator.services.mozilla.com/D15438

--HG--
extra : moz-landing-system : lando
2019-01-03 14:13:09 +00:00
Andreas Pehrson fef7f858ef Bug 1513973 - Remove mutable keyword from MediaEngineWebRTCMicrophoneSource runnables. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15220

--HG--
extra : moz-landing-system : lando
2019-01-04 06:40:05 +00:00
Andreas Pehrson 8acabc8a13 Bug 1513973 - Log NotifyPull per track instead of per stream. r=jib
This better reflects the actual pulling that we do.

Differential Revision: https://phabricator.services.mozilla.com/D15195

--HG--
extra : moz-landing-system : lando
2019-01-04 06:39:58 +00:00
Andreas Pehrson 997855e877 Bug 1513973 - Enable pulling at the same time as starting audio sources. r=jib
Otherwise we risk building up a buffer in the microphone source from when
Start() is run until pulling is enabled. This manifests itself as input latency
to the user.

Differential Revision: https://phabricator.services.mozilla.com/D15194

--HG--
extra : moz-landing-system : lando
2019-01-04 06:39:43 +00:00
Andreas Pehrson d8bf65f800 Bug 1513973 - Make MediaEngineSource::SetTrack return void. r=jib
All subclasses are now returning NS_OK, so there's no point in keeping nsresult
as the return type.

Differential Revision: https://phabricator.services.mozilla.com/D15193

--HG--
extra : moz-landing-system : lando
2019-01-04 06:39:40 +00:00
Andreas Pehrson de06fc1905 Bug 1513973 - Remove check for `false`. r=jib
The microphone source is no longer shared so this check is moot.

Differential Revision: https://phabricator.services.mozilla.com/D15192

--HG--
extra : moz-landing-system : lando
2019-01-04 06:39:33 +00:00
Ciure Andrei 7a748ae68f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-04 01:03:06 +02:00
Boris Zbarsky 058f83508f Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D15673

--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Andreas Pehrson 4e9e43bc92 Bug 1515873 - Don't create a backend as part of cleanup. r=jib
There's no guarantee a backend exists when a MediaManager does, and
crash-stats shows that shutdown can occur between posting a task and running
it, making it illegal to create a backend anew.

We're safer off avoiding creating a new backend. The cleanup step we're trying
to do is only effective if a backend already exists anyway.

Differential Revision: https://phabricator.services.mozilla.com/D15631

--HG--
extra : moz-landing-system : lando
2019-01-03 04:21:09 +00:00
Andreas Pehrson e72c999524 Bug 1515873 - Remove aWindowId arg from MediaManager::GetBackend. r=jib
It is unused.

Differential Revision: https://phabricator.services.mozilla.com/D15630

--HG--
extra : moz-landing-system : lando
2019-01-03 05:18:09 +00:00
Bogdan Tara 954395da08 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-02 23:41:59 +02:00
Bogdan Tara 6582cc9a1d Merge inbound to mozilla-central. a=merge 2019-01-02 23:36:12 +02:00
Geoff Brown 06eb954bfa Bug 1516441 - Skip dom/media/tests/mochitest/identity on android; r=bc
These tests were already skipped on the Android 4.3 emulator and started
failing on hardware when host-utils were updated to 66.0a.
2019-01-02 09:50:37 -07:00
Geoff Brown 3830f1cb12 Bug 1517170 - Skip some https tests on Android; r=bc
These tests have always been skipped silently. Now that https tests are
enabled to actually run, we find that some (all?) actually fail on Android:
now explicitly skipped to allow for green runs of tier 1 suites.
2019-01-02 09:50:37 -07:00
Nathan Froyd 9acf5a0c63 Bug 1517276 - thread callbacks through MemoryReportRequestClient; r=mccr8
The guts of MemoryReportRequestClient's supporting runnables contain
switches on the particular type of process we're running.  If you're
bringing up a new process type, having to add extra cases for your
process type here is a bit onerous.  These runnables really shouldn't
know anything about the process types that they're running on, either.

The easiest thing to do is modify MemoryReportRequestClient::Start to
take callbacks for what to do when a report is created and when
reporting is finished.  Then all process-specific knowledge can be
pushed out to the clients themselves, leaving MemoryReportRequestClient
and friends process-type agnostic.  We could even, at some later date,
move this code into xpcom/base/ to sit near nsMemoryReporterManager,
where it belongs.
2019-01-02 16:18:13 -05:00
James Willcox d72a96de1f Bug 1450762 - Don't prompt for device permissions on Android in MediaDevices.enumerateDevices() r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D14575

--HG--
extra : moz-landing-system : lando
2019-01-02 16:44:35 +00:00
Geoff Brown 35e432a3a8 Bug 1392946 - backout 61eca43af2dffc3ba19cf343210d851c638694d5 since it was not effective 2018-12-31 13:24:26 -07:00
Geoff Brown 300213c9ea Bug 1516441 - backout f2dc090551f076387b984a670fe9eb7be9c8d460 since it was not effective 2018-12-31 13:24:23 -07:00
Geoff Brown d8589d86d7 Bug 1516441 - Skip test_fingerprints.html on android-hw; r=me,a=test-only
This test started to perma-fail after host-utils were updated.
2018-12-31 11:46:07 -07:00
Geoff Brown fdae0d32eb Bug 1392946 - Skip test_webvtt_positionalign.html on android-hw; r=me,a=test-only
This test started to perma-fail after host-utils were updated.
2018-12-31 11:46:04 -07:00
Andrea Marchesini a7033b2822 Bug 1515658 - ChannelMediaResource should use the BlobURLs' length when known, r=jya 2019-01-03 19:22:49 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Jan-Ivar Bruaroey cbb94950ec Bug 1321221 - Delay getDisplayMedia() promise until first frame arrives, to pass wpt. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D15283

--HG--
extra : moz-landing-system : lando
2018-12-28 03:13:11 +00:00
Jan-Ivar Bruaroey c8bbcb8047 Bug 1321221 - Implement getDisplayMedia() and update related wpt tests. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D15058

--HG--
extra : moz-landing-system : lando
2018-12-28 03:12:57 +00:00
Jan-Ivar Bruaroey ee3a9f9f4f Bug 1474376 - Merge window+screen sharing for content (list fullscreen as option in window-list), and get away from MediaSourceEnum. r=pehrsons,florian
Differential Revision: https://phabricator.services.mozilla.com/D14941

--HG--
extra : moz-landing-system : lando
2018-12-27 23:40:36 +00:00
Cosmin Sabou 03bc294fa4 Backed out changeset 0e9a610fe05f (bug 1450762) for turning bug 1481028 into permafail. 2018-12-27 01:31:50 +02:00
James Willcox 9df4e19fb4 Bug 1514349 - Skip test_peerConnection_captureStream_canvas_webgl.html on Android e10s emulators r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D14611

--HG--
extra : moz-landing-system : lando
2018-12-19 22:22:22 +00:00
James Willcox 5535070e5b Bug 1450762 - Don't prompt for device permissions on Android in MediaDevices.enumerateDevices() r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D14575

--HG--
extra : moz-landing-system : lando
2018-12-26 19:33:13 +00:00
Andreas Pehrson cb8996408e Bug 1512958 - Properly clean up produced tracks in DecodedStream. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14584

--HG--
extra : source : 74101900e7d484cc9ddcba2cd867ca172b961ea0
2018-12-21 16:23:57 +00:00
Andreas Pehrson 7a2e26a568 Bug 1512958 - Add mochitest. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D14583

--HG--
extra : source : 1d4816ef6e013b44000d5c633245ec8effef810d
2018-12-21 16:23:55 +00:00
Coroiu Cristina 0215638358 Backed out 2 changesets (bug 1512958) for frequently failing mda at /dom/media/MediaDecoderStateMachine.cpp a=backout
Backed out changeset 74101900e7d4 (bug 1512958)
Backed out changeset 1d4816ef6e01 (bug 1512958)
2018-12-22 06:14:56 +02:00
alwu c0ee00e2c3 Bug 1505250 - change state to 'completedState' if we can't get any sample anymore. r=jya
If we can't get any sample anymore, the resource might have been closed, so we should change state to 'completedState'.

Differential Revision: https://phabricator.services.mozilla.com/D15029

--HG--
extra : moz-landing-system : lando
2018-12-21 21:06:42 +00:00
Michael Froman c0a8a08f40 Bug 1500454 - remove PVideoDecoder, etc from dom namespace. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D15156

--HG--
extra : moz-landing-system : lando
2018-12-21 22:34:57 +00:00
Dorel Luca 12e4f91411 Backed out 5 changesets (bug 1513973) for browser-chrome failures in browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js. CLOSED TREE
Backed out changeset 2ddf61b1db11 (bug 1513973)
Backed out changeset 6c839f548745 (bug 1513973)
Backed out changeset 5669b30f2265 (bug 1513973)
Backed out changeset 6781e633d62c (bug 1513973)
Backed out changeset f1892f178011 (bug 1513973)
2018-12-21 23:28:51 +02:00
Andreas Pehrson 567bfc91f0 Bug 1513973 - Remove mutable keyword from MediaEngineWebRTCMicrophoneSource runnables. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D15220

--HG--
extra : moz-landing-system : lando
2018-12-21 20:05:05 +00:00
Andreas Pehrson 37c4490c3b Bug 1513973 - Log NotifyPull per track instead of per stream. r=jib
This better reflects the actual pulling that we do.

Differential Revision: https://phabricator.services.mozilla.com/D15195

--HG--
extra : moz-landing-system : lando
2018-12-21 20:21:24 +00:00
Andreas Pehrson 45dfbfc836 Bug 1513973 - Enable pulling at the same time as starting audio sources. r=jib
Otherwise we risk building up a buffer in the microphone source from when
Start() is run until pulling is enabled. This manifests itself as input latency
to the user.

Differential Revision: https://phabricator.services.mozilla.com/D15194

--HG--
extra : moz-landing-system : lando
2018-12-21 20:03:48 +00:00
Andreas Pehrson 4c26324fd2 Bug 1513973 - Make MediaEngineSource::SetTrack return void. r=jib
All subclasses are now returning NS_OK, so there's no point in keeping nsresult
as the return type.

Differential Revision: https://phabricator.services.mozilla.com/D15193

--HG--
extra : moz-landing-system : lando
2018-12-21 20:03:42 +00:00
Andreas Pehrson 2e3209d6dc Bug 1513973 - Remove check for `false`. r=jib
The microphone source is no longer shared so this check is moot.

Differential Revision: https://phabricator.services.mozilla.com/D15192

--HG--
extra : moz-landing-system : lando
2018-12-21 20:03:36 +00:00
Andreas Pehrson 8567b073f3 Bug 1512958 - Properly clean up produced tracks in DecodedStream. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14584

--HG--
extra : moz-landing-system : lando
2018-12-21 16:23:57 +00:00
Andreas Pehrson 63c1afee2b Bug 1512958 - Add mochitest. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D14583

--HG--
extra : moz-landing-system : lando
2018-12-21 16:23:55 +00:00
Alastor Wu 862fdf36a9 Bug 1511235 - part3 : ensure video is visible before starting test r=jya,baku
Add testing function to know whether video is visible or not.

Differential Revision: https://phabricator.services.mozilla.com/D14667

--HG--
extra : moz-landing-system : lando
2018-12-21 06:40:10 +00:00
alwu 16fe01f1fd Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

Differential Revision: https://phabricator.services.mozilla.com/D13805

--HG--
extra : moz-landing-system : lando
2018-12-20 20:01:46 +00:00
alwu 41df7a6715 Bug 1511235 - part1 : suspend video decoding for video whose visibility state is UNTRACK. r=jya
If video has not been within the potential visible range (which is larger than viewport) yet, its visibility state won't
be updated and would stay in 'UNTRACK'. As those kinds of video are still invisible to users, we don't need to decode
any video frames, we can suspend their video decoding until they're going to be visible.

Differential Revision: https://phabricator.services.mozilla.com/D13804

--HG--
extra : moz-landing-system : lando
2018-12-20 20:02:24 +00:00
Nico Grunbaum bb1557ee1c Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug
Removes RTP stat field isRemote and adds the new types remote-inbound-rtp, and remote-outbound-rtp

Differential Revision: https://phabricator.services.mozilla.com/D15068

--HG--
extra : moz-landing-system : lando
2018-12-21 02:35:58 +00:00
Narcis Beleuzu 1110297dc8 Backed out changeset ccb218cd2d87 (bug 1380555) for mozlint failure on PeerConnection.js . CLOSED TREE 2018-12-21 04:20:58 +02:00
Nico Grunbaum 684ea28cec Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug
Removes RTP stat field isRemote and adds the new types remote-inbound-rtp, and remote-outbound-rtp

Differential Revision: https://phabricator.services.mozilla.com/D15068

--HG--
extra : moz-landing-system : lando
2018-12-21 00:46:54 +00:00
Nico Grunbaum 4f1b23fe19 Bug 1328194 - Remove deprecated legacy WebRTC stats callback and associated dictionary like results r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D13393

--HG--
extra : moz-landing-system : lando
2018-12-21 00:46:12 +00:00
Blake Kaplan 730f9f9bf9 Bug 1509442 - Enter a realm here. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D13481

--HG--
extra : moz-landing-system : lando
2018-12-20 05:40:20 +00:00
Nico Grunbaum 998bea5c67 Bug 1515527 - log why GMPVideoEncoderParent::Encode fails r=dminor
Adds log statements for all the reasons that GMPVideoEncoderParent::Encode can fail

Differential Revision: https://phabricator.services.mozilla.com/D15051

--HG--
extra : moz-landing-system : lando
2018-12-20 19:11:44 +00:00
Dan Minor 7904bce009 Bug 1515548 - Fix potential divide by zero in DesktopCaptureImpl; r=jib
This clamps requests for FPS that are below 1 to 1. As far as I can tell,
the getDisplayMedia specification does not provide any guidance on how to
interpret negative or zero FPS constraints, so this seems like a reasonable
limitation.

I'm not adding a test here as there will be a wpt test that covers this
as part of Bug 1321221.

Differential Revision: https://phabricator.services.mozilla.com/D15105

--HG--
extra : moz-landing-system : lando
2018-12-20 17:57:58 +00:00
Karl Tomlinson d5065c1a5d Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13220

--HG--
extra : moz-landing-system : lando
2018-12-20 07:58:13 +00:00
Andreea Pavel d5f0aa2919 Backed out 2 changesets (bug 1513722) for build bustages
Backed out changeset 8e2c3015fc95 (bug 1513722)
Backed out changeset 0c454fd1dbcb (bug 1513722)
2018-12-20 06:57:15 +02:00
Karl Tomlinson 880bb5a5a9 Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13220

--HG--
extra : moz-landing-system : lando
2018-12-20 04:22:15 +00:00
Nico Grunbaum 7cd09e1947 Bug 1515379 - initialize frames delivered stat and add test r=dminor
This initializes a one of the stats that lost its default initialization when it was changed from an Atomic to a plain old int.

Differential Revision: https://phabricator.services.mozilla.com/D14978

--HG--
extra : moz-landing-system : lando
2018-12-19 17:57:15 +00:00
Andreas Pehrson 1e5789506e Bug 1515032 - Add mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D14871

--HG--
extra : moz-landing-system : lando
2018-12-19 15:43:02 +00:00
Andreas Pehrson 88cb071d63 Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt
Differential Revision: https://phabricator.services.mozilla.com/D14421

--HG--
extra : moz-landing-system : lando
2018-12-19 04:34:10 +00:00
Andreas Pehrson 8dec05474b Bug 1513638 - Don't resolve DOMMediaStream::CountUnderlyingStreams promise in stable state. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14420

--HG--
extra : moz-landing-system : lando
2018-12-18 15:39:54 +00:00
Bogdan Tara 91d742d138 Merge inbound to mozilla-central. a=merge 2018-12-19 06:50:57 +02:00
Bogdan Tara a5963704c0 Backed out changeset 134d6c86e984 (bug 1509442) for browser_webAudio_silentData.js failures CLOSED TREE 2018-12-19 03:03:42 +02:00
Blake Kaplan d418ca74d9 Bug 1509442 - Enter a realm here. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D13481

--HG--
extra : moz-landing-system : lando
2018-12-12 14:24:29 +00:00
John Lin 9abf52aa0f Bug 1511607 - don't suspend background video decoding for unseekable media. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14821

--HG--
extra : moz-landing-system : lando
2018-12-18 19:46:16 +00:00
Jean-Yves Avenard 25657ee569 Bug 1513511 - P2. Ensure all frames are decoded. r=bryce
vp9 streams contains superframes. Ensure they are all properly handled.

Differential Revision: https://phabricator.services.mozilla.com/D14699

--HG--
extra : moz-landing-system : lando
2018-12-17 20:30:46 +00:00
Jean-Yves Avenard 0855e7a7da Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.

This resulted in some YouTube videos for about 10% of the frames to never be returned.

Only the new API properly behaves so we upgrade our code to use it.

Differential Revision: https://phabricator.services.mozilla.com/D14682

--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Dan Minor 73d9c4cce6 Bug 1498253 - Remove mozAvSyncDelay and mozJitterBufferDelay; r=ng
The value for mozAvSyncDelay has been broken since the branch 57 update
(Bug 1341285). We added SetCurrentSyncOffset() but never called it from
anywhere.

In the future we should be getting stats from AudioReceiveStream rather than
modifying the channel code, the delay_estimate_ms field provides almost the
same information.

Since we're attempting to get rid of moz prefixed stats, it makes sense to just
remove this code rather than fix it. The associated telemetry code has been
broken since Bug 1341285 as well so I think it is safe to remove.

Differential Revision: https://phabricator.services.mozilla.com/D14462

--HG--
extra : moz-landing-system : lando
2018-12-14 13:08:12 +00:00
Timothy Guan-tin Chien 3913ded230 Bug 1510848 - Do not unattach UA Widget Shadow Root if the element is already re-attached to the tree r=emilio,smaug
This patch moves all UA Widget calls to helper functions in Element.cpp. The helper function AttachAndSetUAShadowRoot sets the shadow root in a runnable, so that it is in the same order of NotifyUAWidget* runnables.

Differential Revision: https://phabricator.services.mozilla.com/D13479

--HG--
extra : moz-landing-system : lando
2018-12-15 02:48:46 +00:00
Sylvestre Ledru 6f45c666bc Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D14595

--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Nico Grunbaum ecedddea82 Bug 1495446 - fix timestamp of WebRTC RTCP stats r=jib
The RTCP timestamps have different timebases and reporting sources, this makes the source and timebase the same for all RTCP stats

Differential Revision: https://phabricator.services.mozilla.com/D7354

--HG--
extra : moz-landing-system : lando
2018-12-14 01:55:21 +00:00
Timothy Guan-tin Chien 0bdd6f623a Bug 1511130 - Part II, Allow UAWidgetsChild to destruct widgets even if it throws during construction r=bgrins
This patch move the actual widget construction to a onsetup method, allow UAWidgetsChild to hold the reference of the widget instance even if the actual setup (happens in the onsetup call) throws. With the reference of the widget kept, UAWidgetsChild will finally able to call its destructor later on.

Depends on D13607

Differential Revision: https://phabricator.services.mozilla.com/D13608

--HG--
extra : moz-landing-system : lando
2018-12-13 20:59:00 +00:00
Alastor Wu 41ffd33d93 Bug 1512362 - hook pref "media.autoplay.allow-muted" to all inaudible autoplay media policy r=cpearce
When talking about autoplay, video without audio track should also be controlled by the pref "media.autoplay.allow-muted".

Differential Revision: https://phabricator.services.mozilla.com/D14480

--HG--
extra : moz-landing-system : lando
2018-12-13 21:31:42 +00:00
Jean-Yves Avenard 1eaf0bea3e Bug 1443429 - P4. Ensure MediaShutdownManager is initialized outside stable state. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D14283

--HG--
extra : moz-landing-system : lando
2018-12-13 20:06:03 +00:00
Jean-Yves Avenard 03276c5356 Bug 1443429 - P3. Don't use WebVTTListener while in stable state. r=smaug
WebVTTListener is a JS wrapper around vtt.js.

Differential Revision: https://phabricator.services.mozilla.com/D14282

--HG--
extra : moz-landing-system : lando
2018-12-13 20:06:02 +00:00
Cosmin Sabou edce6c68ac Merge autoland to mozilla-central. a=merge 2018-12-13 05:54:41 +02:00
Cosmin Sabou 0bedc24aae Backed out 2 changesets (bug 1511235) for causing bugs 1513454, 1513456 as alwu requested on irc. a=backout
Backed out changeset 4c9f874d6868 (bug 1511235)
Backed out changeset 3432e8bee7f1 (bug 1511235)
2018-12-13 03:43:36 +02:00
Dorel Luca d1d958a798 Backed out 4 changesets (bug 1512280) for bmsvc build bustage
Backed out changeset abe934612616 (bug 1512280)
Backed out changeset 9463a1a3d790 (bug 1512280)
Backed out changeset 9a68c5f1ca0d (bug 1512280)
Backed out changeset 616721cad893 (bug 1512280)
2018-12-12 07:22:49 +02:00
Jan-Ivar Bruaroey 826b382038 Bug 1512280 - Less verbose code in MediaManager in places. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13986

--HG--
extra : moz-landing-system : lando
2018-12-12 04:22:06 +00:00
Jan-Ivar Bruaroey 3120eb8814 Bug 1512280 - Add out-parameter to EnumerateDevicesImpl(); clearer semantics and flattens things. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13985

--HG--
extra : moz-landing-system : lando
2018-12-12 04:00:42 +00:00
Jan-Ivar Bruaroey b43cd8e1dd Bug 1512280 - Make LOG macros clang-format friendlier. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13859

--HG--
extra : moz-landing-system : lando
2018-12-12 02:36:51 +00:00
Jan-Ivar Bruaroey 2fc3a23b7c Bug 1512280 - Fix some nits and shorten MediaManager::GetUserMedia(). r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D13858

--HG--
extra : moz-landing-system : lando
2018-12-12 02:23:57 +00:00
alwu aba79e9edc Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

Differential Revision: https://phabricator.services.mozilla.com/D13805

--HG--
extra : moz-landing-system : lando
2018-12-12 02:16:55 +00:00
alwu 7b4432b505 Bug 1511235 - part1 : suspend video decoding for video whose visibility state is UNTRACK. r=jya
If video has not been within the potential visible range (which is larger than viewport) yet, its visibility state won't
be updated and would stay in 'UNTRACK'. As those kinds of video are still invisible to users, we don't need to decode
any video frames, we can suspend their video decoding until they're going to be visible.

Differential Revision: https://phabricator.services.mozilla.com/D13804

--HG--
extra : moz-landing-system : lando
2018-12-10 18:21:13 +00:00
alwu dd8abd37d5 Bug 1512506 - Prevent MDSM from dispatching lots of audio decoding tasks when seeking directly to EOS during looping. r=jya
To make sure media sink starts from the correct position, otherwise, we would incorrectly estimate the decoded audio
duration when we directly seek looping audio to EOS. That would results in MDSM continually dispatching decoding tasks
even if we've enough data.

Differential Revision: https://phabricator.services.mozilla.com/D13949

--HG--
extra : moz-landing-system : lando
2018-12-12 01:52:06 +00:00
Dorel Luca 58cd1ee36a Backed out changeset b3a9872c08d7 (bug 1513042) for Gtest failure
--HG--
extra : rebase_source : 6930ed8e1ea84af3a83f380279138d75ce2bde30
2018-12-12 02:13:45 +02:00
Bryce Van Dyk 74daa628bc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
Update mp4parse-rust update script and pull the new version.

This update changes the mp4parse C-API. Specifically, each track can now
have multiple sample descriptions. Previously we'd just exposed the first for
the entire track, and if others were available they were not exposed via the
API. Because of the API change, we update the C++ interface with mp4parse-rust.

We now inspect the sample info to make sure they're consistent with the parsers
expectations:
- Only a single codec is present for a track, multiple codecs in a track will
  result in us returning an error.
- Only 0 or 1 crypto info is present for a track, more than one set of info will
  result in us returning an error.

We still generalize some of the first sample info to the samples of the track,
as we did before this patch. However, we will now catch the above cases
explicitly.

We now handle crypto information if it is not present on the first sample info.
The parser will iterate through sample infos and use the first set of crypto
info it finds (and fail if it finds 2+).

Differential Revision: https://phabricator.services.mozilla.com/D14107

--HG--
extra : moz-landing-system : lando
2018-12-11 20:55:26 +00:00
Jan-Ivar Bruaroey 76f3de75e7 Bug 1512280 - Less verbose code in MediaManager in places. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13986

--HG--
extra : moz-landing-system : lando
2018-12-12 20:43:23 +00:00
Jan-Ivar Bruaroey c5cf4c239c Bug 1512280 - Add out-parameter to EnumerateDevicesImpl(); clearer semantics and flattens things. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13985

--HG--
extra : moz-landing-system : lando
2018-12-12 20:42:54 +00:00
Jan-Ivar Bruaroey 5a89bd8fda Bug 1512280 - Make LOG macros clang-format friendlier. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13859

--HG--
extra : moz-landing-system : lando
2018-12-12 20:42:18 +00:00
Jan-Ivar Bruaroey af3c7b9ee4 Bug 1512280 - Fix some nits and shorten MediaManager::GetUserMedia(). r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D13858

--HG--
extra : moz-landing-system : lando
2018-12-12 20:42:01 +00:00
Jean-Yves Avenard ed5b2cd92a Bug 1513227 - P2. Remove unused files. r=jolin
Depends on D14158

Differential Revision: https://phabricator.services.mozilla.com/D14159

--HG--
extra : moz-landing-system : lando
2018-12-11 17:38:53 +00:00
Jean-Yves Avenard 7f7e06e3f1 Bug 1513227 - P1. Use correct constant to determine if HW decoding is enabled. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D14158

--HG--
extra : moz-landing-system : lando
2018-12-11 17:37:47 +00:00
Jean-Yves Avenard 3d5c3c9538 Bug 1512456 - P4. Replace assert with MOZ_ASSERT. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D14027

--HG--
extra : moz-landing-system : lando
2018-12-11 10:46:25 +00:00
Jean-Yves Avenard cf0ff88211 Bug 1512456 - P1. Don't use GenericPromise with MediaSink. r=alwu
The VideoSink shares the AudioSink's own EndedPromise to notify its user that it has ended. As such, the MozPromise used must be non-exclusive.
Using the GenericPromise for such purpose only hid that requirement.

We also remove the MediaSink from the media namespace, and clarify the naming of some arguments and class members to accurately describe what they do.

Differential Revision: https://phabricator.services.mozilla.com/D14024

--HG--
extra : moz-landing-system : lando
2018-12-11 10:44:51 +00:00
Jean-Yves Avenard 48517afae6 Bug 1512298 - Make IPDL MozPromise exclusive. r=gerald,froydnj
MozPromise most common use is to have an single or exclusive listener. By making the MozPromise generated by IPDL exclusive we can also use move semantics.

While at it, we also use move semantics for the ResponseRejectReason and via the callback's reject method so that the lambda used with the MozPromise::Then can be identical to the one used by the IPDL callback.
As it currently is, it provides no advantage over a copy as it's just an enum; however, this will facilitate future changes where it may not be.

Differential Revision: https://phabricator.services.mozilla.com/D13906

--HG--
extra : moz-landing-system : lando
2018-12-11 19:22:26 +00:00
Mark Banner 8c00ef3f30 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Dan Minor 71d10e00cf Bug 1497573 - Create desktop_capturer_cursor_composer_ lazily; r=ng
The webrtc.org capturer implementations do not allow Start to be called more
than once. Previously we worked around this by adding a Stop method that was
called from StopCapture. With this change, we instead free the capturer in
StopCapture and create or re-create it as needed from StartCapture or
FocusOnSelectedSource.

Depends on D14066

Differential Revision: https://phabricator.services.mozilla.com/D14067

--HG--
extra : moz-landing-system : lando
2018-12-10 17:27:42 +00:00
Sylvestre Ledru ad75e912fb Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D14060

--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
John Lin 9249bf1d0a Bug 1495053 - p3: implement MediaDrmCDMProxy::SetServerCertificate(). r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D7792

--HG--
extra : moz-landing-system : lando
2018-12-07 14:44:34 +00:00
John Lin 356abac240 Bug 1495053 - p2: add setServerCertificate() to Java/JNI proxy classes. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D7791

--HG--
extra : moz-landing-system : lando
2018-12-07 14:44:10 +00:00
John Lin eb4a57903b Bug 1510424 - fix AAC and FLAC EME support configuration. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D13135

--HG--
extra : moz-landing-system : lando
2018-12-07 14:40:50 +00:00
Nico Grunbaum 4380b01ee3 Bug 1512517 - update WebRTC stat deprecation messages r=jib
Update WebRTC stat deprecation messages which were originally targeting 65, which are now targeting 66.

Differential Revision: https://phabricator.services.mozilla.com/D13950

--HG--
extra : moz-landing-system : lando
2018-12-06 21:48:31 +00:00
Andrea Marchesini 8c648079ae Bug 1514581 - Don't use async streams with FileMediaResource, r=jya 2018-12-18 17:20:14 +01:00
Jean-Yves Avenard a3f78d31a5 Bug 1510265 - P2. Don't use AllPromiseType in GMPServiceParent. r=gerald
It's not needed, and only makes code harder to follow.

Differential Revision: https://phabricator.services.mozilla.com/D13869

--HG--
extra : moz-landing-system : lando
2018-12-06 20:16:15 +00:00
Jean-Yves Avenard 44594dd77a Bug 1510265 - P1. Enforce template-parameter classes restrictions in MozPromise. r=gerald
And some required fixes to make things compile.

Differential Revision: https://phabricator.services.mozilla.com/D13868

--HG--
extra : moz-landing-system : lando
2018-12-06 16:26:01 +00:00
Jan-Ivar Bruaroey 0979860740 Bug 1512197 - Temporary fix for incorrect sharing of MozPromiseHolder in MediaManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D13847

--HG--
extra : moz-landing-system : lando
2018-12-05 21:46:51 +00:00
Jean-Yves Avenard 590f06d6e0 Bug 1509875 - P1. Retrieve extended profile from mp4parse. r=kinetik
Depends on D13765

Differential Revision: https://phabricator.services.mozilla.com/D13766

--HG--
extra : moz-landing-system : lando
2018-12-05 16:54:21 +00:00
Ciure Andrei ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner 8256078237 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Depends on D13745

Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Bryce Van Dyk d9995b9edc Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya
Update mp4parse-rust update script and pull the new version.

This update changes the mp4parse C-API. Specifically, each track can now
have multiple sample descriptions. Previously we'd just exposed the first for
the entire track, and if others were available they were not exposed via the
API. Because of the API change, we update the C++ interface with mp4parse-rust.

We now inspect the sample info to make sure they're consistent with the parsers
expectations:
- Only a single codec is present for a track, multiple codecs in a track will
  result in us returning an error.
- Only 0 or 1 crypto info is present for a track, more than one set of info will
  result in us returning an error.

We still generalize some of the first sample info to the samples of the track,
as we did before this patch. However, we will now catch the above cases
explicitly.

We now handle crypto information if it is not present on the first sample info.
The parser will iterate through sample infos and use the first set of crypto
info it finds (and fail if it finds 2+).

Differential Revision: https://phabricator.services.mozilla.com/D14107

--HG--
extra : moz-landing-system : lando
2018-12-12 15:04:18 +00:00
Paul Adenot 8104b9b6eb Bug 1145816 - Reenbable test_mediaElementAudioSourceNodePassThrough.html on Android. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D13430

--HG--
extra : moz-landing-system : lando
2018-11-29 19:31:16 +00:00
Ciure Andrei 2edebf41a2 Merge inbound to mozilla-central. a=merge 2018-12-02 11:46:09 +02:00
Alex Chronopoulos e1c6dec154 Bug 1509327 - Use timing and color information from decoded picture in dav1d wrapper. r=jya
Latest dav1d version supports to store the timing information in undecoded frame and restore it later from decoded picture. This can provide more accurate timing especially during drain. In additionto that, colorspace information is set according to the size of the image. Finally this patch addresses some style comments.

Differential Revision: https://phabricator.services.mozilla.com/D13428

--HG--
extra : moz-landing-system : lando
2018-12-01 22:03:29 +00:00
Coroiu Cristina 1ca919f882 Merge mozilla-central to autoland a=merge 2018-12-01 07:55:13 +02:00
Dan Minor 032512790d Bug 1498205 - Move PlatformUIThread from rtc_base to video_engine; r=pehrsons
PlatformUIThread is only used by the video_engine code, so it makes sense to
move it there rather than maintain it as a diff against upstream webrtc.org.

Differential Revision: https://phabricator.services.mozilla.com/D13531

--HG--
extra : moz-landing-system : lando
2018-11-30 17:46:38 +00:00
Jan Andre Ikenmeyer [:darkspirit] 318c8c660e Bug 1477037 - Add NULL check on aArgv. r=froydnj 2018-12-01 02:08:42 +01:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jan-Ivar Bruaroey 01afd58c84 Bug 1492479 - Move MediaStreamError out of MediaManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D13175

--HG--
extra : moz-landing-system : lando
2018-11-30 05:15:54 +00:00
Jan-Ivar Bruaroey ae9fd82ada Bug 1492479 - Simplify MediaDeviceSetRefCnt by removing one redundant pointer indirection. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D11842

--HG--
extra : moz-landing-system : lando
2018-11-30 05:15:34 +00:00
Jan-Ivar Bruaroey 2cbbb1a103 Bug 1497175 - Remove media::Pledge. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8011

--HG--
extra : moz-landing-system : lando
2018-11-30 05:15:00 +00:00
Jan-Ivar Bruaroey 7cc33e93cf Bug 1497175 - Have DOMMediaStream::TrackPort::BlockSourceTrackId() return a promise. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8010

--HG--
extra : moz-landing-system : lando
2018-11-30 05:14:40 +00:00
Jan-Ivar Bruaroey 8ce38b2a13 Bug 1475209 - Have MediaManager::EnumerateDevices() return a promise. r=achronop,jya
Differential Revision: https://phabricator.services.mozilla.com/D8009

--HG--
extra : moz-landing-system : lando
2018-11-30 05:14:05 +00:00
Jan-Ivar Bruaroey e3194aa305 Bug 1492479 - Have MediaManager::GetUserMedia() return a promise. r=achronop,jya
Differential Revision: https://phabricator.services.mozilla.com/D8008

--HG--
extra : moz-landing-system : lando
2018-11-30 05:13:58 +00:00
Razvan Maries 12299139d5 Backed out changeset 0e1dbfd10378 (bug 1501709) for build bustages on Windows platform, CLOSED TREE. 2018-11-30 06:58:06 +02:00
Arnaud Bienner 6a459e7170 Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11741

--HG--
extra : moz-landing-system : lando
2018-11-30 02:55:06 +00:00
Karl Tomlinson 0138ac87a9 Bug 1476514 store AudioContext destination stream on AudioWorkletImpl r=padenot
The destination stream will provide currentFrame for AudioWorkletGlobalScope on the worklet execution thread.

On the control thread, it supports messages via the MediaStreamGraph and identifies the associated AudioContext.

Differential Revision: https://phabricator.services.mozilla.com/D13219

--HG--
extra : moz-landing-system : lando
2018-11-30 02:28:34 +00:00
Karl Tomlinson 5995caa7e9 Bug 1476514 return concrete AudioNodeStream instead of base from DestinationStream() r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13218

--HG--
extra : moz-landing-system : lando
2018-11-30 02:26:29 +00:00
Andreea Pavel 8e973f56b2 Backed out 3 changesets (bug 1509327) for build bustages on a CLOSED TREE
Backed out changeset aeb00b8974a4 (bug 1509327)
Backed out changeset ea27440a2126 (bug 1509327)
Backed out changeset 9881fd46fde2 (bug 1509327)
2018-11-30 05:16:08 +02:00
Alex Chronopoulos 74a439c923 Bug 1509327 - Use timing and color information from decoded picture in dav1d wrapper. r=jya
Latest dav1d version supports to store the timing information in undecoded frame and restore it later from decoded picture. This can provide more accurate timing especially during drain. In additionto that, colorspace information is set according to the size of the image. Finally this patch addresses some style comments.

Differential Revision: https://phabricator.services.mozilla.com/D13428

--HG--
extra : moz-landing-system : lando
2018-11-29 19:08:03 +00:00
Timothy Guan-tin Chien d17b51ff5d Bug 1516292 - Use isSameNode() to compare mozFullScreenElement and the video host element r=edgar
This does what's done in bug 1505547 but in a different way. For some reason, access
shadowRoot.host in the function can trigger an assertion.

this.video is a Proxy so it cannot be compared, but all its methods are proxied.

Differential Revision: https://phabricator.services.mozilla.com/D15767

--HG--
extra : moz-landing-system : lando
2019-01-07 16:00:55 +00:00
Tooru Fujisawa 7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Andreas Pehrson f0bf48464f Bug 1509548 - Make MediaStreamGraph pull data per track instead of per stream. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D13086

--HG--
extra : moz-landing-system : lando
2018-11-29 17:37:42 +00:00
Andreas Pehrson 4954a5b020 Bug 1509548 - Remove early PullNewData return. r=padenot
Without knownTracksTime, StreamTracks::GetFirstTrackEnd() returns
STREAM_TIME_MAX for an empty StreamTracks, so PullNewData() thinks no new data
is needed.

This circumvents that by always checking whether tracks need data.

Differential Revision: https://phabricator.services.mozilla.com/D12928

--HG--
extra : moz-landing-system : lando
2018-11-29 17:37:35 +00:00
Andreas Pehrson 3410ec9f28 Bug 1509548 - Clean up what appears to be wip-leftover gunk in DecodedStream. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12926

--HG--
extra : moz-landing-system : lando
2018-11-29 17:37:21 +00:00
Andreas Pehrson 7348d2a804 Bug 1509548 - Rename track-end-time methods in StreamTracks. r=padenot
They deserve descriptive names.

Differential Revision: https://phabricator.services.mozilla.com/D12925

--HG--
extra : moz-landing-system : lando
2018-11-29 17:37:17 +00:00
Andreas Pehrson a02fa011f0 Bug 1509548 - Remove the concept of a known tracks time from MediaStreamGraph. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12923

--HG--
extra : moz-landing-system : lando
2018-11-29 17:37:06 +00:00
Nico Grunbaum 41a179ba06 Bug 1324788 - Bug 1324688 - Bring RTCIceCandidateStats up to spec r=mjf,jib,smaug
Bug 1324788 - P1 - rename RTCIceCandidate stat "portNumber" to spec "port"
Bug 1324788 - P2 - update RTCIceCandidateStats candidateType enum to spec
Bug 1324788 - P3 - add RTCIceCandidatePair.priority stat
Bug 1324788 - P4 - update WebRTC ICE candidate stats field componentId to spec name transportId
Bug 1324788 - P5 - remove deprecated RTCIceCandidateStats.mozLocalTransport field
Bug 1324788 - P6 - update WebRTC ICE candidate stats field transport to spec name, protocol
Bug 1324788 - P7 - remove deprecated RTCIceCandidateStats.candidateId
Bug 1324788 - P8 - reorder RTCIceCandidateStats dictionary members to match the spec
Bug 1324788 - P9 - make RTCIceCandidateStats.transportId ChromeOnly

Differential Revision: https://phabricator.services.mozilla.com/D12953

--HG--
extra : moz-landing-system : lando
2018-11-28 20:30:07 +00:00
Gabriele Svelto 19e52bebd4 Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240

--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Dan Minor 440fc58998 Bug 1509994 - Move video_engine from webrtc to systemservices; r=pehrsons
Historically this code was part of webrtc.org but has since been removed
from upstream. Rather than maintaining it as a local diff against upstream,
we should just move it to where it is used.

Differential Revision: https://phabricator.services.mozilla.com/D13092

--HG--
rename : media/webrtc/trunk/webrtc/video_engine/browser_capture_impl.h => dom/media/systemservices/video_engine/browser_capture_impl.h
rename : media/webrtc/trunk/webrtc/video_engine/desktop_capture_impl.cc => dom/media/systemservices/video_engine/desktop_capture_impl.cc
rename : media/webrtc/trunk/webrtc/video_engine/desktop_capture_impl.h => dom/media/systemservices/video_engine/desktop_capture_impl.h
extra : moz-landing-system : lando
2018-11-28 20:16:42 +00:00
Coroiu Cristina 47323ec73b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-28 23:56:03 +02:00
Coroiu Cristina 378481915d Merge autoland to mozilla-central a=merge 2018-11-28 23:47:17 +02:00
Brindusan Cristian eb07b312bf Backed out 3 changesets (bug 1486659) as requested by jhlin on irc for breaking video playback on Android and causing regression Bug 1510464. a=backout
Backed out changeset 9c2834ca8823 (bug 1486659)
Backed out changeset 5d897c0c7a25 (bug 1486659)
Backed out changeset b0fdcebfd20d (bug 1486659)
2018-11-28 19:09:13 +02:00
Paul Adenot cb75fadba6 Bug 1274392 - When echo cancellation is disabled, disable automatic gain control and noise suppression as well. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D12902

--HG--
extra : moz-landing-system : lando
2018-11-28 13:41:02 +00:00
Alex Chronopoulos a008331435 Bug 1509462 - Make DecoderDoctorLifeLogger constructor/destructor protected. r=gerald
DecoderDoctorLifeLogger is used as a base class in many classes but it does need to have a virtual destructor to avoid adding a vtable in the class. Thus the constructor and destructor become protected to avoid being used as base pointer to delete the real object.

Differential Revision: https://phabricator.services.mozilla.com/D13074

--HG--
extra : moz-landing-system : lando
2018-11-27 20:46:19 +00:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Ehsan Akhgari 2febd96e7e Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13073

--HG--
extra : moz-landing-system : lando
2018-11-28 00:54:56 +00:00
Cosmin Sabou 0afa5aa670 Backed out 2 changesets (bug 1508472) for causing build bustages on JobScheduler_posix.cpp. CLOSED TREE
Backed out changeset af951294cf96 (bug 1508472)
Backed out changeset 2320933cb7bc (bug 1508472)
2018-11-28 00:08:11 +02:00