Meanwhile the CaptureDeviceManager isn't implemented yet we can have a temporary solution using env vars.
Created attachment 295598 [details] patch
Comment on attachment 295598 [details] patch LGTM
Committed r209125: <http://trac.webkit.org/changeset/209125>