twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
461 stars 178 forks source link

is it possible to screen sharing like skype during live video call in ios ? #260

Closed kushJadia closed 6 years ago

kushJadia commented 6 years ago

Before filing an issue please check that the issue is not already addressed by the following:

If this is an issue with the QuickStart itself, file it here. If this is an issue with the SDK or how to do something with the SDK please use twilio-video-ios instead.

Description

[Description of the issue]

Steps to Reproduce

  1. [Step one]
  2. [Step two]
  3. [Insert as many steps as needed]

Code

// Code that helps reproduce the issue

Expected Behavior

[What you expect to happen]

Actual Behavior

[What actually happens]

Reproduces How Often

[What percentage of the time does it reproduce?]

Logs

// Log output when the issue occurs

Versions

All relevant version information for the issue.

Video iOS SDK

[e.g. 1.3.12 via CocoaPods]

Xcode

[e.g. 9.2]

iOS Version

[e.g. 11.2.6]

iOS Device

[e.g. iPhone 8 Plus]

ceaglest commented 6 years ago

Hi @kushJadia,

You can share the screen in two ways on iOS.

  1. Draw a UIView hierarchy repeatedly. This works on all versions of iOS, but is pretty slow and doesn't scale well to larger screens. This technique is used by our TVIScreenCapturer, and also demonstrated in our ScreenCapturerExample.
  2. Use ReplayKit to capture the screen (including audio if you'd like). We don't have sample code yet, but there is some discussion of this in https://github.com/twilio/twilio-video-ios/issues/7.

I hope this helps, but let me know if there is any other questions you have.

Best, Chris

kushJadia commented 6 years ago

Hi @ceaglest ,

thanks for your help.(Y)