Camera Open test

This tests if the camera can be opened in VGA and deliver frames in a video tag.
Is there any point checking the video if the track has ended, e.g onended is fired when the camera is unplugged. Also the onmute event is fired whenever the track stops receiving frames (black or real frames does not matter, e.g blackmagic device without an input device connected).