Since we want to transmit the video stream of Vision Pro glasses to other Apple devices through TCP, we have obtained relevant enterprise API permissions, but the video stream obtained only includes the physical world and does not contain digital content.
Therefore, we obtained the relevant permissions for "direct access to screenshots" by applying for enterprise API permissions, and then we want to obtain screenshots of the physical world and digital content through screenshots, and then transmit them to the external world through TCP. So we want to ask how to call the screenshot function in the application?
Thank you very much. Due to some reasons, I forgot about this method. After watching it, although it cannot completely solve the problem, it can be modified from another perspective. Thank you very much!
Sorry
What I mean is that the file download operation is performed through the "Scoket connection", using "InputStream" and "OutputStream" to process the data stream. When I remove VisionPro, the download operation is interrupted and the StreamDelegate method "funcstream (_ aStream: Stream, handle eventCode: Stream. Event)" is called. The parameter returned by "Stream. Event" is ". endEncountered". So, how can I continue downloading files in the background without removing VisionPro??
Hello, I have found through testing that projects developed purely in Swift will not experience lag when running directly. However, integrating SwiftUI interface into Unity developed projects will inevitably result in lag during runtime. May I ask how to solve this?
Since we want to transmit the video stream of Vision Pro glasses to other Apple devices through TCP, we have obtained relevant enterprise API permissions, but the video stream obtained only includes the physical world and does not contain digital content.
Therefore, we obtained the relevant permissions for "direct access to screenshots" by applying for enterprise API permissions, and then we want to obtain screenshots of the physical world and digital content through screenshots, and then transmit them to the external world through TCP. So we want to ask how to call the screenshot function in the application?
Thank you very much. Due to some reasons, I forgot about this method. After watching it, although it cannot completely solve the problem, it can be modified from another perspective. Thank you very much!
Sorry
What I mean is that the file download operation is performed through the "Scoket connection", using "InputStream" and "OutputStream" to process the data stream. When I remove VisionPro, the download operation is interrupted and the StreamDelegate method "funcstream (_ aStream: Stream, handle eventCode: Stream. Event)" is called. The parameter returned by "Stream. Event" is ". endEncountered". So, how can I continue downloading files in the background without removing VisionPro??
Hello, I have found through testing that projects developed purely in Swift will not experience lag when running directly. However, integrating SwiftUI interface into Unity developed projects will inevitably result in lag during runtime. May I ask how to solve this?