twilio / video-quickstart-ios

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

sometimes local streaming is showing black screen #625

Closed jobanjeet-mansa closed 2 years ago

jobanjeet-mansa commented 3 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.

Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

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

Debug level logs are helpful when investigating issues. To enable debug level logging, add the following code to your application:

TwilioVideoSDK.setLogLevel(.debug)
// 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 3 years ago

Hi @jobanjeet-mansa,

Could you please provide the information requested in the issue template?

Usually if you are seeing local video as black you have two AVCaptureSessions existing in the app. Check out https://github.com/twilio/video-quickstart-ios/issues/597 for some pointers if that is the case.

Best, Chris