skip to Main Content

Is it possible to only screenshare a specific UIView using AppScreenSource?

I’m creating an iOS app which is using RealityKit to place virtual objects on screen. I’d like to share this video with the other connected user in the room. AppScreensource seems like an almost perfect solution, but I don’t want to share the entire screen – just my ARView. Is there a way to do this? Or do I need to go another route?

2

Answers


  1. After going through the doc. I don’t find any solution for capturing a portion of the screen. AppScreensource will the whole screen.

    Link to the docs – https://www.twilio.com/docs/video/ios-v4-screen-capture

    Login or Signup to reply.
  2. maybe you can use ARView’s instance method snapshot(saveToHDR:completion:). There is a working example mentioned in this blog.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search