-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twilio signaling room error while using broadcast extension with ReplayKit (iOS). #302
Comments
@HRN8891 When application is backgrounded, the video sdk depends on the audio usage if it should terminate the signaling connection. In order to debug the problem, can you provide following information -
Best, |
Hi @piyushtank. Thanks for the update. Here is the further details for Twilio ASK setup for App and Extension.
====================================================================
}
func connect() {
================================================================== Here is also some logs which we get when user1 disconnect from the Room. 2018-09-07 15:00:15.607415+0530 ScreenShareTwilio[525:23910] INFO:TwilioVideo:[Signaling]:RESIP::SIP: SipMessage::getContents: got content type (application/room-signaling+json) that is not known, returning as opaque application/octet-stream Via: SIP/2.0/TLS 127.0.0.1;received=182.72.43.194;branch=z9hG4bK-524287-1---2a8e875e3a308453;rport=4148 To: sip:[email protected];tag=97981637_6772d868_0b37fae1-d04f-469b-96e8-b08829930a07 From: "Ad5Ab107ff75477e9D00BA368BB3aC07" sip:[email protected];tag=c0c728ef Call-ID: RB0p5AfP2IQ1E1qYmrpZ4g.. CSeq: 11 UPDATE Server: Twilio Content-Length: 0 Question : |
@HRN8891 Thanks for t he detailed answer. Since The In the meantime, is it possible for you to try following workaround - Try it out and let me know if you have any questions. |
Hiii @piyushtank Question 1 Question 2 |
@HRN8891 sorry for the delay in response.
Thats correct you should see the same behavior but the workaround described above should resolve the problem.
Have you tried callbacks from |
Requirement: We are implementing Video Call feature with Screen sharing in iOS Application. We are using the ReplayKit broadcast extension for it
Description
We are using the ReplayKit broadcast extension for share the screen to the connected remote participant. When we start to share screen using the replay kit broadcast extension and user go to the background of the iOS application, it gets disconnected from the room which it has connected for Video Call.
Steps to Reproduce
Lets we have two user User1, User2 and they are connected with same room for video calling.
Room Name: CallTest
Application-A (User1) and Application-B(User2) are connected to the room CallTest.
Both the Application started video calling for the room CallTest.
Application-A (User1) started to broadcast extension and connect with the room CallTest with new room identity UserScreen.
Now, Application-A has two room instance one for User1 identity and other is for UserScreen identity.
Application-A is going to background and after a few minutes User1 is disconnected from the room with error "Signaling connection timed out". This thing happens only when the iOS application stays in the background for 2 to 3 minutes.
We are getting the Error: "Signaling connection timed out" when we launch the application from background to foreground.
Error : Optional(Error Domain=com.twilio.video Code=53002 "Signaling connection timed out" UserInfo={NSLocalizedDescription=Signaling connection timed out})
Note: User1 is got connected in the background if we perform only video calling. As we start the broadcast extension it gets disconnected.
iOS Version: Higher Than 11.0
Xcode: 9.4
Video iOS SDK: 2.0.1
iPhone Device : iPhone-X, iPhone-6.
The text was updated successfully, but these errors were encountered: