[Reland] capture_mode: Recording service lifetime and APIs
This is a reland of https://crrev.com/c/2536030, which was reverted by mistake. The actual failure was caused by another CL (https://crrev.com/c/2537939) which was also reverted. No changes were made in this CL from the original. TBR=jamescook@chromium.org, dcheng@chromium.org Original CL description: This is a follow-up CL to handle requests made on the recording service CL (https://crrev.com/c/2404145): - The Record*() APIs of the service should provide the needed client, video capturer, and audio stream factory, instead of exposing APIs in the client so that anyone can bind to those capturers. - The service is launched to handle video recording, and terminated once recording ends, and all the chunks have been sent. - A GPU crash is handled by ending the recording. BUG=1126586, 1147989, 1143411 TEST=Manually, existing tests. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536030Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#828574} Change-Id: I747e6f74005b304e3954dc77615574ffe7a27cc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2546857Reviewed-by:
Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#828943}
Showing
This diff is collapsed.
Please register or sign in to comment