Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: docs/piranha_plant.md

Issue 1309473002: WIP: Migrate Wiki content over to src/docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/ninja_build.md ('k') | docs/profiling_content_shell_on_android.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Introduction
2
3 Piranha Plant is the name of a project, started in November 2013, that aims to d eliver the future architecture of MediaStreams in Chromium.
4
5 Project members are listed in the [group for the project](https://groups.google. com/a/chromium.org/forum/#!members/piranha-plant).
6
7 The Piranha Plant is a monster plant that has appeared in many of the Super Mari o games. In the original Super Mario Bros, it hid in the green pipes and is thus an apt name for the project as we are fighting "monsters in the plumbing."
8
9 ![http://files.hypervisor.fr/img/super_mario_piranha_plant.png](http://files.hyp ervisor.fr/img/super_mario_piranha_plant.png)
10
11 # Background
12
13 When the MediaStream spec initially came to be, it was tightly coupled with Peer Connection. The infrastructure for both of these was initially implemented prima rily in libjingle, and then used by Chromium. For this reason, the MediaStream i mplementation in Chromium is still somewhat coupled with the PeerConnection impl ementation, it still uses some libjingle interfaces on the Chromium side, and pr ogress is sometimes more difficult as changes need to land in libjingle before c hanges can be made in Chromium.
14
15 Since the early days, the MediaStream spec has evolved so that PeerConnection is just one destination for a MediaStream, multiple teams are or will be consuming the MediaStream infrastructure, and we have a clearer vision of what the archit ecture should look like now that the spec is relatively stable.
16
17 # Goals
18 1. Document the idealized future design for MediaStreams in Chromium (MS) as w ell as the current state.
19 1. Create and execute on a plan to incrementally implement the future design.
20 1. Improve quality, maintainability and readability/understandability of the M S code.
21 1. Make life easier for Chromium developers using MS.
22 1. Balance concerns and priorities of the different teams that are or will be using MS in Chromium.
23 1. Do the above without hurting our ability to produce the WebRTC.org delivera bles, and without hurting interoperability between Chromium and other software b uilt on the WebRTC.org deliverables.
24
25 # Deliverables
26
27 1. Project code name: Piranha Plant.
28 1. A [design document](http://www.chromium.org/developers/design-documents/ide alized-mediastream-design) for the idealized future design (work in progress).
29 1. A document laying out a plan for incremental steps to achieve as much of th e idealized design as is pragmatic. See below for current draft.
30 1. A [master bug](http://crbug.com/323223) to collect all existing and current ly planned work items:
31 1. Sub-bugs of the master bug, for all currently known and planned work.
32 1. A document describing changed and improved team policies to help us keep im proving code quality (e.g. naming, improved directory structure, OWNERS files). Not started.
33
34 # Task List
35 Here are some upcoming tasks we need to work on to progress towards the idealize d design. Those currently being worked on have emails at the front:
36 * General
37 * More restrictive OWNERS
38 * DEPS files to limit dependencies on libjingle
39 * Rename MediaStream{Manager, Dispatcher, DispatcherHandler} to CaptureDevic e{...} since it is a bit confusing to use the MediaStream name here.
40 * Rename MediaStreamDependencyFactory to PeerConnectionDependencyFactory.
41 * Split up MediaStreamImpl.
42 * Change the RTCPeerConnectionHandler to only create the PeerConnection and related stuff when necessary.
43 * Audio
44 * [xians](xians.md) Add a Content API where given an audio WebMediaStreamTra ck, you can register as a sink for that track.
45 * Move RendererMedia, the current local audio track sink interface, to //med ia and change as necessary.
46 * Put a Chrome-side adapter on the libjingle audio track interface.
47 * Move the APM from libjingle to Chrome, putting it behind an experimental f lag to start with.
48 * Do format change notifications on the capture thread.
49 * Switch to a push model for received PeerConnection audio.
50 * Video
51 * [perkj](perkj.md) Add a Chrome-side interface representing a sink for a vi deo track.
52 * [perkj](perkj.md) Add a Content API where given a video WebMediaStreamTrac k, you can register as a sink for that track.
53 * Add a Chrome-side adapter for libjingle’s video track interface, which may also need to change.
54 * Implement a Chrome-side VideoSource and constraints handling (currently in libjingle).
OLDNEW
« no previous file with comments | « docs/ninja_build.md ('k') | docs/profiling_content_shell_on_android.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698