Post

Replies

Boosts

Views

Activity

WatchConnectivity File Transfer is received but can’t find file on watch
I am successfully transferring a .mov file and the correct delegate is being called from the watch counterpart. Yet when I try to reference the URL of the file that was transferred, the file is can’t be found. Is there a specific file path that transferred files are saved to? Is there another way I can download a .mov file from my iPhone device to a counterpart?
2
0
849
Apr ’22
Changing Frame Rate
I have set up an AVCaptureSession that connects to a video Preview Layer, and I am trying to give the option of changing the currect active format (Dimensions and FPS). However after changing the camera settings the video preview layer is runnning a lot slower now. What could be the issue? try backCamera.lockForConfiguration() backCamera.activeFormat = recordingOptions[indexPath.row].0 let duration = recordingOptions[indexPath.row].1 backCamera.activeVideoMinFrameDuration = CMTime(seconds: 1, preferredTimescale: Int32(duration)) backCamera.activeVideoMaxFrameDuration = CMTime(seconds: 1, preferredTimescale: Int32(duration)) backCamera.unlockForConfiguration()
0
0
689
Oct ’20
App Freezing without Errors
Currently I am trying to append to an array in a SampleBufferDelegate while recording from the camera, however after the 16th iteration the app just freezes and I get no errors. It does not seem like a memory from what I have learned debugging. If I limit the size of the array to 15 it won't crash, if I add an amount greater than 16 to the array in a while loop, the 16th time appending it will freeze.
5
0
2.1k
Oct ’20