Ran into a couple of issues relating to video yesterday. Â First, in the docs for the Camera class, it says getCamera() can accept a ‘name’ parameter specifying which camera driver to use. Â As far as I can tell, this is not the case. Â You need to use the camera name’s index of it’s position in the Camera.names array, and you need to pass the index as a string:
Camera.getCamera('2');Â
Also, it appears that Video.clear() does not really work, at least it didn’t for me. Â It simply clears what looks like a single pixel in the top-left corner of the video object that the webcam was attached to. Â I’m guessing at this point that it probably only works with flv’s that were streaming in, and not video from an input source.Â
Yes, I’ve noticed the same problem. Just 1 pixel in the top left corner is cleared. And I could not find anyone mentioning it, you are the first.