The mozCamera API provides an interface
"CameraManager.getCamera(... onsuccess(camera) ... )"
which gets an object 'camera' of class CameraControl. When I look at its API. CameraControl's member function '.getPreviewStream()' providedes a MediaStream object. So far so good.
But how is it possible to get something like chunks of Uint8Array-s out of this stream? (This is necessary in order to pass the stream through a device-specific communication infrastructure.)