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

6020 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 60f9bc442d Bug 1452509 - Require Jack package for --enable-jack build. r=froydnj
MozReview-Commit-ID: HT3ZCrEAN8Y

--HG--
extra : rebase_source : 0fc577c097fcc390c79514019099680b3129c748
2018-03-18 23:42:22 +00:00
Sebastian Hengst 0eb9d87997 merge mozilla-inbound to mozilla-central. a=merge 2018-04-12 22:20:13 +03:00
David Major 23a33f032e Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-04-12 10:22:42 -04:00
David Major 2ad23187c2 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-04-12 10:22:16 -04:00
Jan-Ivar Bruaroey b5b5ad5862 Bug 1452031 - Use strong types for Media error names, fixing OverconstrainedError typo. r=pehrsons
MozReview-Commit-ID: AqGoW9rBdl5

--HG--
extra : rebase_source : fc7a638a2502aaebf318a35c6135755558a7396b
2018-04-10 01:22:53 -04:00
Margareta Eliza Balazs 8ca418adb9 Merge inbound to mozilla-central. a=merge 2018-04-12 12:38:56 +03:00
David Major 1eda142373 Bug 1445922 - Disable PGO for Win32 libaom due to compiler OOMs. r=froydnj 2018-04-11 10:17:00 +03:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Dan Minor 30d5029270 Bug 1453030 - Only create RTCDTMFSender on audio RTCRtpSender senders; r=bwc
MozReview-Commit-ID: KsnUYCs8IYU

--HG--
extra : rebase_source : 2bee2f713ef65ef5baaa6cd37a3f9521beaa9a73
2018-04-10 13:19:42 -04:00
arthur.iakab 8f77825a58 Backed out 2 changesets (bug 1453061)For frequently failing build bustage on win-32 pgo on a CLOSED TREE
Backed out changeset 6a08a9249650 (bug 1453061)
Backed out changeset 1edfe06dff5b (bug 1453061)
2018-04-11 06:01:40 +03:00
David Major d7203d76cd Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-04-10 17:00:54 -04:00
David Major 03e4300156 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-04-10 17:00:38 -04:00
Andreas Pehrson 2dcab8c04e Bug 1452048 - Read _captureStarted under lock on the camera thread. r=dminor
It is written under lock on the controlling thread (CamerasParent) in
StartCapture/StopCapture.

MozReview-Commit-ID: E7eq1YElhwt

--HG--
extra : rebase_source : f37b666d84c6710ac0d5c56002b82c707635f49b
2018-04-06 15:50:31 +02:00
Andreas Pehrson 3ed24c4f4c Bug 1452048 - Leave critical section before calling into java StartCapture(). r=dminor
If we stay in the critical section, and the StartCapture() is a reconfiguring
one, we risk deadlocking with IncomingFrame which runs on the camera thread.

MozReview-Commit-ID: 5rU4urrBWxr

--HG--
extra : rebase_source : 4c6e0c1e02eb1116a1fe433681bf4ad36f47186a
2018-04-06 15:49:24 +02:00
Andreas Pehrson edabee9ab6 Bug 1452048 - Give Looper lifetime control to external callers. r=dminor
Looper lifetime must be handled by external callers as otherwise internal
callers may accidentally and unknowingly quit the looper and essentially
terminate the camera thread, stopping any flow of frames and preventing future
messages.

In this case, a reconfig of the capture settings through startCapture() causes
startCaptureOnCameraThread() to restart the capture by calling into
stopCaptureOnCameraThread() (quitting the looper) and then re-calling
startCaptureOnCameraThread() (not restarting the looper as that is invalid).

The camera thread is set up by startCapture() on the external calling thread,
which will never know that a seemingly graceful camera thread operation stopped
the camera thread altogether, and so it cannot take any action.

MozReview-Commit-ID: DUTFdanTan1

--HG--
extra : rebase_source : afeb80aa8b2596a2615f57ec4af182a837323b7e
2018-04-06 13:59:45 +02:00
Jean-Yves Avenard ccb5482936 Bug 1448762 - Update mp4parse-rust to 9e70cb4. r=padenot
MozReview-Commit-ID: 2RuByCeEEe5

--HG--
extra : rebase_source : 7233a91cffe16c2d89bbc1396dbfe1c834e2109b
2018-04-09 09:59:57 +02:00
Andreea Pavel 7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Dan Minor d474e7f00c Bug 1432793 - Add gtests for simulcast screenshare and odd resolutions; r=bwc
MozReview-Commit-ID: ADBh7SCVgoC

--HG--
extra : rebase_source : 561a924560c0dbffbc95317b4cc5303dec6a8de6
2018-04-04 13:09:06 -04:00
Dan Minor 3eee879885 Bug 1432793 - Force screensharing simulcast to one layer and stop generating layers once an odd width and height are found; r=bwc
This limits screensharing simulcast to a single layer. When window sharing, our
source video can have arbitrary dimensions. If one of those dimensions ends up
being odd, the aspect ratio of the smaller layer will not match the aspect ratio
of the odd sized layer, causing a runtime assertion failure and crash.

It is not sufficient to prevent the creation of odd sized layers in
CreateEncoderStreams because the user can resize the window while it is being
shared, which will cause a fatal assertion prior to the streams being recreated.

When switching back from window sharing to camera, a call to
CreateEncoderStreams will occur with resolutions matching the dimensions of
the window that was just shared. To prevent a crash, this also adds a check
which prevents the creation of layers with odd resolutions.

Looking at cricket::GetSimulcastConfig for the version of webrtc.org in tree,
the number of simulcast layers is limited to one, or two if a field experiment
is enabled. That code also limits resolutions at which screensharing is allowed
as well as the number of layers that can be created for each resolution, and
ensures that each layer is exactly half the size of the layer above.

Adding these new constraints to CreateEncoderStreams makes us more consistent
with what the webrtc.org code would do when creating streams, which should
help to avoid more assertion failures in the future. Long term, I believe we
should just switch to using cricket::GetSimulcastConfig.

MozReview-Commit-ID: 8gjdY5GPPjl

--HG--
extra : rebase_source : b13b7acdac7f1e0b6016417b83bbe97dc2417a92
2018-03-28 11:07:54 -04:00
Narcis Beleuzu 2e33871511 Backed out changeset 847e9f622eb7 (bug 1432793) for build bustages on VideoConduit.cpp. CLOSED TREE 2018-04-05 00:16:14 +03:00
Dan Minor cc64345766 Bug 1432793 - Force screensharing simulcast to one layer and stop generating layers once an odd width and height are found; r=bwc
This limits screensharing simulcast to a single layer. When window sharing, our
source video can have arbitrary dimensions. If one of those dimensions ends up
being odd, the aspect ratio of the smaller layer will not match the aspect ratio
of the odd sized layer, causing a runtime assertion failure and crash.

It is not sufficient to prevent the creation of odd sized layers in
CreateEncoderStreams because the user can resize the window while it is being
shared, which will cause a fatal assertion prior to the streams being recreated.

When switching back from window sharing to camera, a call to
CreateEncoderStreams will occur with resolutions matching the dimensions of
the window that was just shared. To prevent a crash, this also adds a check
which prevents the creation of layers with odd resolutions.

Looking at cricket::GetSimulcastConfig for the version of webrtc.org in tree,
the number of simulcast layers is limited to one, or two if a field experiment
is enabled. That code also limits resolutions at which screensharing is allowed
as well as the number of layers that can be created for each resolution, and
ensures that each layer is exactly half the size of the layer above.

Adding these new constraints to CreateEncoderStreams makes us more consistent
with what the webrtc.org code would do when creating streams, which should
help to avoid more assertion failures in the future. Long term, I believe we
should just switch to using cricket::GetSimulcastConfig.

MozReview-Commit-ID: 8gjdY5GPPjl

--HG--
extra : rebase_source : 5a22f6d0a995303e6a4039eafc056631fbb86415
2018-03-28 11:07:54 -04:00
Boris Zbarsky 5ae1563978 Bug 1450422. Get rid of nsIDOMDataChannel. r=mystor
MozReview-Commit-ID: Dei5EEd0FZO
2018-04-04 15:32:19 -04:00
Byron Campen [:bwc] d0a45cf0c0 Bug 1448863: Stop sync dispatching in Decode. r=jesup
MozReview-Commit-ID: 3EK0zAsFpHz

--HG--
extra : rebase_source : 0591c5a8fa4abbe46b789817fd9c617e9ef02da6
2018-03-26 10:19:31 -05:00
Andreas Pehrson 14c26e7086 Bug 1440255 - Remove tabs from VideoCaptureAndroid. r=dminor
MozReview-Commit-ID: Ga3TgD9J030

--HG--
extra : rebase_source : d8edb95a541ecfb9ee391f03c5484f92865a2e2d
2018-04-05 12:03:12 +02:00
Andreas Pehrson 74e4bc1164 Bug 1440255 - Consolidate failure paths. r=dminor
The cameraThread is set by startCapture(), so a failed startCapture() that
quits the Looper and runs the cameraThread to completion needs to set
cameraThread back to null for consistency.

Likewise, stopCapture() shall always quit the Looper and set cameraThread to
null.

MozReview-Commit-ID: H1ExLyTixYw

--HG--
extra : rebase_source : 472b657cd8219533a5878f5b268b6288e1fe6320
2018-04-05 16:04:13 +02:00
Andreas Pehrson d9f2b85781 Bug 1440255 - Make VideoCaptureAndroid reconfigurable through subsequent startCapture. r=dminor
MozReview-Commit-ID: 9yslx7rMN2w

--HG--
extra : rebase_source : 87808e17efb58b7194ce87719beb610a19fa0be3
2018-04-04 20:17:21 +02:00
Andreas Pehrson 75146eb774 Bug 1440255 - Move thread exchanging out to runnables. r=dminor
This is the proper fix for bug 1420585.

MozReview-Commit-ID: 5WKMvbpQFSE

--HG--
extra : rebase_source : 32269d06a7e826db2ea882cbc974c366a63f39c0
2018-04-05 11:56:30 +02:00
Andreas Pehrson 745c2b59a9 Bug 1440255 - Backout bug 1420585 deadlock wallpaper fix r=dminor
MozReview-Commit-ID: DurGH2RmXQH

--HG--
extra : rebase_source : 16400494705c332bb8739b28735a941c84f0a379
2018-04-05 11:55:26 +02:00
Andreas Pehrson 8333691fd5 Bug 1441585 - Set picture size to something valid. r=dminor
MozReview-Commit-ID: 13lZcfR9wlC

--HG--
extra : rebase_source : 4037cca90cccc846f7b4e0c6da12eace3962d5af
2018-04-05 17:32:09 +02:00
Matthew Gregan 5ad7da2a98 Bug 1447097 - Vendor in cubeb-rs 0.5.2. r=kamidphish
MozReview-Commit-ID: DK7KB9fzAF5

--HG--
extra : rebase_source : 894ce8dd498ee5f519041104589efb35eecb33f1
2018-04-04 16:58:41 +12:00
Alex Chronopoulos 2ef6a59abe Bug 1387454 - Create a MediaStreamGraph according to the given sample rate. r=padenot
MozReview-Commit-ID: 4YP8oWIVyjy

--HG--
extra : rebase_source : 54c83c0aa122fecc9e07868405e42d31b2172516
2018-04-03 20:02:15 +03:00
Nils Ohlmeier [:drno] 2058100636 Bug 1394602: don't allow SSRC changes with Bundle. r=bwc
MozReview-Commit-ID: Kgb0lghAY7r

--HG--
extra : rebase_source : 26d44970231736c5cfefef4dcfc3b5afcb8b24ba
2017-12-01 15:54:57 -08:00
Dan Glastonbury b32f1681cb Bug 1449342 - Update cubeb-pulse-rs to commit 55ce985. r=kinetik
Pull in fix for cubeb channel layout to PulseAudio channel layout.

MozReview-Commit-ID: L9v3cYM5PAY

--HG--
extra : rebase_source : bc4358efcd6ca6276c242ad3beec7f71288f36d7
2018-04-03 11:09:17 +10:00
Byron Campen [:bwc] 5d6b88c22d Bug 1449042: Negotiate tracks even when they're not active. r=drno
MozReview-Commit-ID: CBhwHgjt1gf

--HG--
extra : rebase_source : c38a52290154e6d800a9f34f1ce87eab8859afa5
extra : source : cd4a5a800efa075bc1c4ba0c672bd301ee694ec0
2018-03-27 13:39:10 -05:00
Tom Ritter 8c0ba05b9e Bug 1448461 Give libaom a x64 MinGW config r=kinetik
MozReview-Commit-ID: BiBqBFSWYtK

--HG--
extra : rebase_source : 2010d77e6971de38cf5ffd7c835d59a724a73195
2018-03-23 15:14:00 -05:00
Tom Ritter 987bacca5a Bug 1448453 Update libvpx to have a 64 bit mingw config r=kinetik
MozReview-Commit-ID: 1Dt3OcMgWii

--HG--
extra : rebase_source : 276e59d2c27a69d3f2526e027a11a413b618cfda
2018-03-23 14:56:54 -05:00
Tom Ritter 9f13fdcfce Bug 1449244 Remove SphinxBase r=drno
MozReview-Commit-ID: AIcwcWAa4nV

--HG--
extra : rebase_source : 26a1f1379595917c20f042abfa2fbb25c634a9db
2018-03-27 12:04:10 -05:00
Cosmin Sabou 6e054fe297 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-28 12:52:57 +03:00
Matthew Gregan f3e9b08714 Bug 776137 - Apply latency correction to audio stream position on macOS. r=padenot
--HG--
extra : rebase_source : ea7d68e32bdc1d3712b64a42f6fdaa75f0933988
2018-03-28 11:44:15 +13:00
Margareta Eliza Balazs adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Dan Glastonbury 875f549bac Bug 1446233 - P1: Update AudioIPC to commit b933866. r=kinetik
MozReview-Commit-ID: FxWVwbHUPkv

--HG--
extra : rebase_source : ec29c98971ba8004879372b64a6a046e331f0ffe
2018-03-08 15:20:23 +10:00
Nathan Froyd 052d391b9c Bug 1448031 - make various audio/video/media constructors explicit; r=gerald
Attempting to stand up the static analysis for Android builds revealed
that we weren't being explicit enough.
2018-03-27 10:51:32 -04:00
Tom Ritter ab88dba4b5 Bug 1448115 Update libtheora metadata to reference it's new(ish) git repository r=cpearce
The git commit for the subversion revision mentioned is
https://git.xiph.org/?p=theora.git;a=commit;h=74b57560775804bf248e3e5b4e57964112ccd7af

MozReview-Commit-ID: KPbMqgUXYAb

--HG--
extra : rebase_source : e1348db8d2ebe87e0560c33accf7bb073cd8b978
2018-03-22 14:05:04 -05:00
Bogdan Tara 302a55b534 Merge inbound to mozilla-central. a=merge 2018-03-27 12:12:57 +03:00
Jean-Yves Avenard fa6a33a217 Bug 1448883 - Resync with cubeb 7401fc25a9d. r=padenot
MozReview-Commit-ID: 1Lg0fpsSa10

--HG--
extra : rebase_source : 46d1fac5453a7425705b2c4c97940abaf11fe2d4
2018-03-26 18:07:10 +02:00
Paul Adenot 7eac0326f6 Bug 1448627 - Update cubeb to 7712aaab. r=jya
MozReview-Commit-ID: HbYayQvtQQc

--HG--
extra : rebase_source : b214c693b7f1c7914d39dfd363d85db7eebb0e6c
2018-03-25 11:33:26 +02:00
Jean-Yves Avenard a6adf4aa35 Bug 1432779 - Update audioipc to commit 7b3af898. r=kamidphish
This is a custom update, cherry-picking cubeb mixer related changes only.

MozReview-Commit-ID: Jwv2jM9nHqB
2018-03-24 10:57:58 +01:00
Dan Glastonbury 0a80a93867 Bug 1432779 - Update cubeb-pulse-rs to commit 247b01d. r=jya
MozReview-Commit-ID: ACsPdk19RoA
2018-03-24 10:57:57 +01:00
Jean-Yves Avenard deed151733 Bug 1432779 - Update libcubeb to revision 77cb1a9. r=padenot
MozReview-Commit-ID: DAfCxUBb41U
2018-03-24 10:57:57 +01:00
Cosmin Sabou d5f5fb893c Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00