Commit Graph

68 Commits

Author SHA1 Message Date
Stanca Serban
defb5d8d2b Backed out 3 changesets (bug 1919114) for causing nogpu related reftests failures. CLOSED TREE
Backed out changeset 9e75159e3f24 (bug 1919114)
Backed out changeset 9fbb4bf4480d (bug 1919114)
Backed out changeset 9c9e6df18d35 (bug 1919114)
2024-10-02 11:41:05 +03:00
Brad Werth
9dc9d22fc7 Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-10-02 06:49:33 +00:00
Iulian Moraru
a97cfcafb7 Backed out 3 changesets (bug 1919114) for causing multiple no-gpu reftest failures. CLOSED TREE
Backed out changeset d64a523fd44c (bug 1919114)
Backed out changeset 1a78a03693b0 (bug 1919114)
Backed out changeset eeba73c31be2 (bug 1919114)
2024-10-02 01:55:14 +03:00
Brad Werth
2c2f281d2d Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-10-01 15:12:08 +00:00
Stanca Serban
b290fbeff6 Backed out 3 changesets (bug 1919114) for causing no-gpu related reftests failures.
Backed out changeset e7b92733fa76 (bug 1919114)
Backed out changeset f8e4f207430b (bug 1919114)
Backed out changeset cec6c1dcdfae (bug 1919114)
2024-10-01 06:47:56 +03:00
Brad Werth
4d5e30137e Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-30 15:55:30 +00:00
Iulian Moraru
3af3bfc7a6 Backed out 3 changesets (bug 1919114) for causing multiple nogpu reftest failures.
Backed out changeset bd7b34ae33ef (bug 1919114)
Backed out changeset 226668ab3f35 (bug 1919114)
Backed out changeset ea1c122a3848 (bug 1919114)
2024-09-27 22:13:34 +03:00
Brad Werth
fcceab2f9d Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-26 23:55:38 +00:00
Butkovits Atila
088fc6de68 Backed out 3 changesets (bug 1919114) for causing refetest failures. CLOSED TREE
Backed out changeset 0852cb6ea78f (bug 1919114)
Backed out changeset 9db329e6c216 (bug 1919114)
Backed out changeset 3b459fd776e6 (bug 1919114)
2024-09-26 04:29:40 +03:00
Brad Werth
13eddc0e00 Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-25 20:20:26 +00:00
Iulian Moraru
38b0a400c6 Backed out 3 changesets (bug 1919114) for causing multiple reftest failures on multiple platforms with no-gpu enabled flavors. CLOSED TREE
Backed out changeset a69fadab030b (bug 1919114)
Backed out changeset e4cf55f1c4da (bug 1919114)
Backed out changeset bd75acb8f7ff (bug 1919114)
2024-09-25 04:05:19 +03:00
Brad Werth
e74f8ace8d Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-24 19:39:53 +00:00
Norisz Fay
0af7bfb7c4 Backed out 2 changesets (bug 1919114) for multiple R-nogpu failures CLOSED TREE
Backed out changeset 87a86132adad (bug 1919114)
Backed out changeset 4054f51f1754 (bug 1919114)
2024-09-24 00:22:18 +03:00
Brad Werth
04166107af Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-23 18:08:22 +00:00
Nika Layzell
2c721f79d8 Bug 1908725 - Part 2: Make the ChildID available in the same places as OtherPid, r=ipc-reviewers,media-playback-reviewers,win-reviewers,alwu,rkraesig,gfx-reviewers,mccr8,nical
This requires quite a bit of piping to get the ChildID passed everywhere where
we currently pass the pid in IPC. This is done by adding a new struct type
(EndpointProcInfo), which is passed around instead of OtherPid in these places,
and contains the full pid.

In most cases, it was a fairly painless change to move over, however in some
cases, more complex changes were required, as the pid was being stored
previously in something like an Atomic<...>, and needed to be switched to using
a mutex-protected value.

In the future, it may be possible to remove OtherPid from IPDL actors once
everything is migrated to ChildID, but we're still a long way off from that, so
for now we unfortunately need to pass both around.

Differential Revision: https://phabricator.services.mozilla.com/D217118
2024-08-07 20:39:39 +00:00
Chun-Min Chang
68957e5ce1 Bug 1865896 - Apply DefineEnum to CryptoScheme r=media-playback-reviewers,padenot
Depends on D204451

Differential Revision: https://phabricator.services.mozilla.com/D204452
2024-07-31 00:09:56 +00:00
alwu
9acfc6c79a Bug 1898588 - part5 : remove encryption scheme per key system. r=jolin
As we've added encryption scheme per content type in previous patches,
there is no need to keep this old encryption scheme.

Differential Revision: https://phabricator.services.mozilla.com/D211793
2024-05-29 18:27:04 +00:00
alwu
bf1341a6f8 Bug 1898588 - part2 : remove duplicated method 'EncryptionSchemeStr'. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D211643
2024-05-29 18:27:03 +00:00
alwu
7bebc7420a Bug 1898588 - part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type r=jolin
Currently our implementation is the scheme support per key system,
not per content type. As each content type can have different supported
scheme, eg. type A only supports cenc, but type B only supports cbcs,
only having scheme per key system can't return a precise result.

Differential Revision: https://phabricator.services.mozilla.com/D211642
2024-05-29 18:27:03 +00:00
Narcis Beleuzu
63cafbc4ec Backed out 5 changesets (bug 1898588) for bustages on MediaData.cpp . CLOSED TREE
Backed out changeset d23ba62a5165 (bug 1898588)
Backed out changeset dd7a777b034f (bug 1898588)
Backed out changeset 62c4a3361e00 (bug 1898588)
Backed out changeset 2643cfcd1ba7 (bug 1898588)
Backed out changeset 940fca861f93 (bug 1898588)
2024-05-29 02:15:25 +03:00
alwu
7f03a4465e Bug 1898588 - part5 : remove encryption scheme per key system. r=jolin
As we've added encryption scheme per content type in previous patches,
there is no need to keep this old encryption scheme.

Differential Revision: https://phabricator.services.mozilla.com/D211793
2024-05-28 21:10:39 +00:00
alwu
03946889a0 Bug 1898588 - part2 : remove duplicated method 'EncryptionSchemeStr'. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D211643
2024-05-28 21:10:38 +00:00
alwu
f1d0a686b0 Bug 1898588 - part1 : add encryptionSchemes in MFCDMMediaCapability in order to support scheme per type r=jolin
Currently our implementation is the scheme support per key system,
not per content type. As each content type can have different supported
scheme, eg. type A only supports cenc, but type B only supports cbcs,
only having scheme per key system can't return a precise result.

Differential Revision: https://phabricator.services.mozilla.com/D211642
2024-05-28 21:10:38 +00:00
alwu
7a08b4ab0c Bug 1868482 - part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D205394
2024-03-26 01:28:30 +00:00
Cristian Tuns
a8ee7ba541 Backed out 8 changesets (bug 1883784, bug 1868482) for causing bc failures in /ipc/EnumSerializer.h CLOSED TREE
Backed out changeset 38d3d0010972 (bug 1868482)
Backed out changeset 72de2a649e60 (bug 1868482)
Backed out changeset 5849055ce485 (bug 1868482)
Backed out changeset 396b76ded255 (bug 1883784)
Backed out changeset 3974723c71be (bug 1883784)
Backed out changeset c569adae327d (bug 1883784)
Backed out changeset 8f1acf9322b9 (bug 1883784)
Backed out changeset e112d7db9cbb (bug 1883784)
2024-03-23 02:23:28 -04:00
alwu
73c1a80ae0 Bug 1868482 - part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D205394
2024-03-23 04:22:37 +00:00
pstanciu
d87e4ff27d Backed out 8 changesets (bug 1868482, bug 1883784) for causing build bustages on MFCDMParent.cpp CLOSED TREE
Backed out changeset 4f65f68ee848 (bug 1868482)
Backed out changeset 44f7868b7c85 (bug 1868482)
Backed out changeset 9eebfe985d87 (bug 1868482)
Backed out changeset 583a6e5b34d4 (bug 1883784)
Backed out changeset 6a72ba930bd7 (bug 1883784)
Backed out changeset d7ec6f631e8d (bug 1883784)
Backed out changeset b5794c5f581e (bug 1883784)
Backed out changeset c5746d7c29ac (bug 1883784)
2024-03-23 04:47:38 +02:00
alwu
be54081f51 Bug 1868482 - part3 : ensure HDCP2.2 compatible would be vaild when the flag contains 'CapabilitesFlag::NeedHDCPCheck'. r=jolin
Depends on D205393

Differential Revision: https://phabricator.services.mozilla.com/D205394
2024-03-22 20:27:20 +00:00
alwu
961641e385 Bug 1884719 - part1 : init gfxVar when creating a UtilityAudioDecoderParent. r=gerard-majax
Move initializing gfxVar from creating a video bridge to the moment we
create UtilityAudioDecoderParent in order to ensure that we can always
get correct value from gfxVar.

Differential Revision: https://phabricator.services.mozilla.com/D204292
2024-03-13 17:58:03 +00:00
alwu
df64af2da5 Bug 1884016 - part6 : avoid re-initialize the video bridge. r=gerard-majax
There is a timing issue where we would re-initialize the video bridge
causing an assertion, which is discovered by
`browser_utility_multipleAudio.js`.

Differential Revision: https://phabricator.services.mozilla.com/D203518
2024-03-07 00:29:15 +00:00
Natalia Csoregi
23ef24fd57 Backed out 7 changesets (bug 1881620) for causing frequent media crashes. CLOSED TREE
Backed out changeset d07acf022aad (bug 1881620)
Backed out changeset c58d5ba5c317 (bug 1881620)
Backed out changeset 5f23b23fc038 (bug 1881620)
Backed out changeset 1d7ec3e9b00f (bug 1881620)
Backed out changeset fab988ca73ff (bug 1881620)
Backed out changeset dcafb1fadf9b (bug 1881620)
Backed out changeset 7a2fb26876e1 (bug 1881620)
2024-03-06 11:50:52 +02:00
alwu
9f04010a36 Bug 1881620 - part7 : avoid re-initialize the video bridge. r=gerard-majax
There is a timing issue where we would re-initialize the video bridge
causing an assertion, which is discovered by
`browser_utility_multipleAudio.js`.

Depends on D203307

Differential Revision: https://phabricator.services.mozilla.com/D203518
2024-03-05 02:03:47 +00:00
Peter Van der Beken
0f266299d5 Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201334
2024-03-02 07:50:19 +00:00
Peter Van der Beken
41dfa49835 Bug 1640839 - Move size template parameter for EnumeratedArray to the end. r=glandium,jgilbert,media-playback-reviewers,credential-management-reviewers,padenot,dimi
This will allow us to provide a default value for the size when some enum
helper traits are defined.

Differential Revision: https://phabricator.services.mozilla.com/D201333
2024-03-02 07:50:19 +00:00
Natalia Csoregi
10b9ceb789 Backed out 13 changesets (bug 1640839) for causing bustage on Element.cpp CLOSED TREE
Backed out changeset 179ceb82c9e5 (bug 1640839)
Backed out changeset 73f498a821f0 (bug 1640839)
Backed out changeset dc2d3d0e0365 (bug 1640839)
Backed out changeset ddc989ac0509 (bug 1640839)
Backed out changeset e595bb3feea8 (bug 1640839)
Backed out changeset c85aca04e27f (bug 1640839)
Backed out changeset 98e8e3a4047a (bug 1640839)
Backed out changeset 59ef180517db (bug 1640839)
Backed out changeset af2f5e293662 (bug 1640839)
Backed out changeset 89aa6d9dc598 (bug 1640839)
Backed out changeset 67b722a722f9 (bug 1640839)
Backed out changeset 24a9665c6ced (bug 1640839)
Backed out changeset d93f199385e9 (bug 1640839)
2024-03-01 18:23:08 +02:00
Peter Van der Beken
e5be7aeaf9 Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201334
2024-03-01 14:31:09 +00:00
Peter Van der Beken
d2abb054b6 Bug 1640839 - Move size template parameter for EnumeratedArray to the end. r=glandium,jgilbert,media-playback-reviewers,credential-management-reviewers,padenot,dimi
This will allow us to provide a default value for the size when some enum
helper traits are defined.

Differential Revision: https://phabricator.services.mozilla.com/D201333
2024-03-01 14:31:09 +00:00
alwu
ffe268d9c7 Bug 1878039 - part3 : display HDCP 2.2 compatible in 'about:support'. r=fluent-reviewers,jolin,flod
HDCP 2.2 is the version which the video provide usually want to have
in order to stream 4K video securely, so we choose to display whether
the CDM supports HDCP 2.2.

Differential Revision: https://phabricator.services.mozilla.com/D201010
2024-02-10 00:24:34 +00:00
Narcis Beleuzu
0aefaadbf7 Backed out 5 changesets (bug 1878713, bug 1878039) for wpt failure on clearkey-check-status-for-hdcp.https.html
Backed out changeset ba6c8f006d21 (bug 1878039)
Backed out changeset 825190c91d7a (bug 1878039)
Backed out changeset dda9fe6e9007 (bug 1878039)
Backed out changeset 1ad9eddcde2a (bug 1878713)
Backed out changeset 693b73304431 (bug 1878713)
2024-02-09 03:16:47 +02:00
alwu
91f48243a5 Bug 1878039 - part3 : display HDCP 2.2 compatible in 'about:support'. r=fluent-reviewers,jolin,flod
HDCP 2.2 is the version which the video provide usually want to have
in order to stream 4K video securely, so we choose to display whether
the CDM supports HDCP 2.2.

Differential Revision: https://phabricator.services.mozilla.com/D201010
2024-02-08 23:25:03 +00:00
alwu
7d5b2f9880 Bug 1869399 - reject promise when IPC fails. r=media-playback-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D196096
2023-12-11 20:19:47 +00:00
alwu
ccc0ea37f5 Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-06 18:16:06 +00:00
alwu
0c704e05f4 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 18:16:05 +00:00
alwu
3de0b2d419 Bug 1846848 - part3 : add a way to get CDM capabilities from the chrome process. r=gerard-majax,jolin
Differential Revision: https://phabricator.services.mozilla.com/D194452
2023-12-06 18:16:04 +00:00
Norisz Fay
e8c1f3da7e Backed out 9 changesets (bug 1846848) for causing bustages on UtilityAudioDecoderParent.cpp
Backed out changeset 3ef263566f4f (bug 1846848)
Backed out changeset 8499da15a162 (bug 1846848)
Backed out changeset 47ebd92f3778 (bug 1846848)
Backed out changeset 373b7ca4d079 (bug 1846848)
Backed out changeset ca7cb687ee2c (bug 1846848)
Backed out changeset bf0bebf8c994 (bug 1846848)
Backed out changeset 26cccc9b7894 (bug 1846848)
Backed out changeset d655082ad764 (bug 1846848)
Backed out changeset 4a1db8b9112c (bug 1846848)
2023-12-06 13:08:22 +02:00
alwu
ebf7a80d56 Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-06 09:04:04 +00:00
alwu
ed26a30ec5 Bug 1846848 - part5 : display MFCDM capabilites in about:support. r=fluent-reviewers,gerard-majax,jolin,niklas
This patch implements retrieving the capabilities from MFCDMs. I will
add non-MFCDM support in following patches, eg. Widevine L3, and
ClearKey.

Differential Revision: https://phabricator.services.mozilla.com/D194837
2023-12-06 09:04:03 +00:00
alwu
ad843e13ee Bug 1846848 - part3 : add a way to get CDM capabilities from the chrome process. r=gerard-majax,jolin
Differential Revision: https://phabricator.services.mozilla.com/D194452
2023-12-06 09:04:02 +00:00
Iulian Moraru
89fe7146d2 Backed out 9 changesets (bug 1846848) for causing multiple build bustages. CLOSED TREE
Backed out changeset e5333509733c (bug 1846848)
Backed out changeset bf4ac7f56486 (bug 1846848)
Backed out changeset 5d794cd95fc7 (bug 1846848)
Backed out changeset 203f9c356a36 (bug 1846848)
Backed out changeset a755043387c2 (bug 1846848)
Backed out changeset 2fdeb001c68a (bug 1846848)
Backed out changeset 9a13867df758 (bug 1846848)
Backed out changeset 773368f5552d (bug 1846848)
Backed out changeset 43360fe1a5fa (bug 1846848)
2023-12-05 05:41:47 +02:00
alwu
871506b865 Bug 1846848 - part8 : display clear lead support. r=jolin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D195058
2023-12-05 01:13:49 +00:00