New issue
Advanced search Search tips

Issue 720500 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jan 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Enable Mojo video capture service on Android

Project Member Reported by chfremer@chromium.org, May 10 2017

Issue description

The video capture service is currently not yet working on Android, because unsandboxed utility processes are currently not allowed on Android. There is a DCHECK enforcing this at [1].

To enable, we need to:
1.) Resolve concerns regarding the memory cost and startup overhead of utility processes on Android. This probably means measuring the cost and then weighing it against the expected benefits of running the service in a separate process.
2.) Loosen the DCHECK at [1].
3.) Use VideoCaptureBrowserTest to check if hosting the service in the utility process works. Resolve issues if needed.

[1] https://cs.chromium.org/chromium/src/content/browser/child_process_launcher_helper_android.cc?type=cs&q=child_process_launcher_helper_and&l=57
 

Comment 1 by boliu@chromium.org, May 10 2017

also a related snag. right now there's no design for how utility process "importance" should work. On android, we have to tell OS how important a "child" process is, so when android starts killing things to free memory, it starts with the least important one first

the current system was designed when there were only renderer processes. then gpu process came along, and it got to be the most important one, because it was split out of browser process and is needed all the time

then the (sandboxed) utility process got added, and I don't think anyone gave any thought to how it should work. so right now it's probably some arbitrary "default" behavior. probably should work that out before adding more things to utility processes, sandboxed or not
Status: Archived (was: Untriaged)
Archiving P3s older than 1 year with no owner or component.

Sign in to add a comment