Post

Replies

Boosts

Views

Activity

Comment on Spatial streaming from iPhone
sorry to bother again, but I also notice that "builtInDualWideCamera" when connected with two AVCaptureConnection(inputPorts: output:) works but the preview camera is always set to ultra wide. Is there a way to set the previewLayer to use wide port? I tried setting another "AVCaptureConnection(inputPort: widePort, videoPreviewLayer: videoPreview!)" but it displays nothing when added inside "UIViewRepresentable" as a sublayer of a UIView.
Oct ’24
Comment on Spatial streaming from iPhone
Hello, I've been testing out AVCaptureMultiCamSession & my current approach is to use ultra wide & wide camera. However, the AVCaptureVideoDataOutputSampleBufferDelegate outputs both stream separately in a single captureOutput callback. So, Is there any sample to capture dual camera stream synced in single output for processing? What should be the correct crop strategy on ultra wide to avoid geometric distortion & discomfort? (as of now I used 2x zoom on ultrawide to match with wide)
Oct ’24
Comment on VideoMaterial to display SBS Stereoscopic 3D video? [VisionOS]
Hi Greg, thanks for the reply. I decided to use MV-HEVC instead of SBS. I tried to test stream MV-HEVC spatial video to my RTMP server via OBS (HEVC encoding), converting it to HLS with EXT-X-VERSION set to 12 and REQ-VIDEO-LAYOUT set to CH-STEREO. The HLS plays fine in my VisionOS 1.2 simulator, but VideoMaterial's currentViewingMode API always prints "mono". Is this a simulator issue? Perhaps AVPlayerViewController has some API to detect video is being played in stereo or not in Simulator?
Aug ’24