AVCaptureDeviceInput *videoDeviceInput = [AVCaptureDeviceInput deviceInputWithDevice:videoDevice error:nil];
[_captureSession addInput:videoDeviceInput];
movieFileOutput = [[AVCaptureMovieFileOutput alloc] init];
[_captureSession addOutput:movieFileOutput];
// Create output
multipeerVideoOutput = [[AVCaptureMultipeerVideoDataOutput alloc] initWithDisplayName:[[UIDevice currentDevice] name]];
[_captureSession addOutput:multipeerVideoOutput];
[_captureSession commitConfiguration];