Initialize the media capture.
Merge pull request #818 from luke-barnett/3.2

Initialize the media capture.