twilio / video-quickstart-ios

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

Unable to cast Screen to a conference #474

Closed Raj123456788 closed 4 years ago

Raj123456788 commented 4 years ago

Description: I selected Broadcast extension for iOS . from Control center and selecting screen Recording.

I am getting an error : BroadcastExtension has stopped and Access token is expired or expiration date is invalid.

Now if I run from the app itself Once I click Start Broadcast: I don't see any option of BroadcastExtension Project only Record Screen.

[Description of the issue]

Steps to Reproduce

  1. Run the ReplayKit Example on iOS 13.4

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

latest

Xcode

Version 11.4 (11E146)

iOS Version

13.4

iOS Device

ipad

Raj123456788 commented 4 years ago

@piyushtank: Can you please answer my question?

piyushtank commented 4 years ago

@Raj123456788 Can you please fill in the issue template to help us understand the issue? Thanks.

Raj123456788 commented 4 years ago

Hi @piyushtank , when I run the ReplayKitExample: I am unable to see Broadcast Extenstion. I have followed your Read me. But I am unable test the screen broadcast. image

Raj123456788 commented 4 years ago

I am seeing this in control Center. And When I click on Broadcast Extension it says Broadcast Extension has stopped due to invalid or expired access Token. ReplayKitControlCenter

piyushtank commented 4 years ago

@Raj123456788 Can you check if the token you are using is valid?

Raj123456788 commented 4 years ago

Yes, I created token this morning. Created the token from Testing Tools tab. Does Client Identity matters?

Raj123456788 commented 4 years ago

@piyushtank :Can you please help me with my question?

ceaglest commented 4 years ago

Hey @Raj123456788,

Access tokens created using the Testing Tools page are only valid for 60 minutes after creation.

We also have a tutorial for access tokens with more info on creating them yourself.

Cheers, Chris

Raj123456788 commented 4 years ago

Hi @ceaglest , I tested within 60 mins and got the above error. But why I don't see the Broadcast extension option? Please see the images attached.

ceaglest commented 4 years ago

Hi @Raj123456788,

I tested within 60 mins and got the above error

Is it the access token expired error, or not being able to see video from the broadcast?

when I run the ReplayKitExample: I am unable to see Broadcast Extenstion.

ReplayKitExample doesn't render remote video tracks. You can use most of our other sample apps like the Quickstart to render remote video.

Cheers, Chris

ceaglest commented 4 years ago

Closing since I didn't hear back from you. Let me know if you need more help with screencast.