Now I can capture and encode video on WebM format.
The next steps, upload the captured video, emulating Mirror API, and implement a glassware to allow upload captured video to YouTube