Cubeb remoting, sandboxing support on Android needed
Categories
(Core :: Audio/Video: cubeb, task)
Tracking
()
People
(Reporter: owlish, Assigned: kinetik, NeedInfo)
References
(Depends on 1 open bug, Blocks 7 open bugs)
Details
(Whiteboard: [sandboxing] [geckoview:2022q3] [geckoview:2022q4])
We are currently working on sandboxing Fenix, and we need cubeb to be able to handle sandboxing on Android as well.
It appears remoting has to work for sandboxing. Currently, when I naively try to define MOZ_CUBEB_REMOTING
in [1] and remove this condition in [2], I get a linker error undefined hidden symbol: audioipc_client_init
.
[1] https://searchfox.org/mozilla-central/rev/36f79bed679ad7ec46f7cd05868a8f6dc823e1be/dom/media/CubebUtils.cpp#63
[2] https://searchfox.org/mozilla-central/source/toolkit/library/rust/gkrust-features.mozbuild#33
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
cubeb sandboxing is a prerequisite for Android process sandboxing, but it's not a blocker for shipping Android Fission.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•9 months ago
|
Comment 2•6 months ago
|
||
update - The new audio ipc remoting work landed and is enabled by default for testing.
Reporter | ||
Comment 3•6 months ago
|
||
That's great news! So, to make sure we are using remoted cubeb when running tests locally, all we need to do is to run our tests on a fresh rebase and fresh bootstrap, is that correct? We don't need to change anything here for Android?
Comment 4•5 months ago
|
||
re-routing that question to Mathew for confirmation but yes, it's on by default in mc so should get picked up for test runs.
Comment 5•5 months ago
|
||
All of the testing I could perform would suggest it works on mach run
but it does not work on mochitests
, but I believe I hve pinged :kinetic
enough already :)
Description
•