examples/phonegap1/plugins/cordova-plugin-media-capture/src/windows/CaptureProxy.js
function destroyCameraPreview() {
        capturePreview.pause();
        capturePreview.src = null;
        if (previewContainer) {
            document.body.removeChild(previewContainer);
        }
        if (capture) {
            capture.stopRecordAsync();
            capture = null;
        }
    }
function destroyCameraPreview() {
        capturePreview.pause();
        capturePreview.src = null;
        if (previewContainer) {
            document.body.removeChild(previewContainer);
        }
        if (capture) {
            capture.stopRecordAsync();
            capture = null;
        }
    }
function destroyCameraPreview ( ) { capturePreview . pause ( ) ; capturePreview . src = null ; if ( previewContainer ) { document . body . removeChild ( previewContainer ) ; } if ( capture ) { capture . stopRecordAsync ( ) ; capture = null ; } }
Destroys camera preview, removes all elements created
Destroys camera preview removes all elements created