-
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 Video is not working on proxy network #159
Comments
Hi @NaveenGB,
We distribute our SDK via the CocoaPods Master Spec Repo which is hosted on Github. The Podfiles themselves link to binaries on our CDN. For example, our latest release is:
As for the Client itself, at a minimum it needs to be able to establish a TLS connection with our signaling servers on port 443. Detailed information for signaling servers and Group Rooms media servers can be found here. If you are using Peer-to-Peer Rooms then you will want to allow connectivity to our STUN / TURN servers as well. This should get you up and running, but please let me know if you have any more questions. Cheers, |
Hi Christoper Eagleston,
I have one more issue raised in stack overflow, Please check the below link
and revert back
https://stackoverflow.com/questions/45459043/unable-to-set-the-full-screen-for-remote-video-view-using-twiliovideoios/45560011#45560011
…On Tue, Aug 8, 2017 at 10:24 PM, Christopher Eagleston < ***@***.***> wrote:
Hi @NaveenGB <https://github.com/naveengb>,
Twilio Video is not working proxy on proxy network showing below logs,
even I was not able install pods on proxy. Kindly let me know the URL's
where all TwilioVideo is hitting so that I will remove proxy for those URL's
We distribute our SDK using the CocoaPods Master Spec Repo which is hosted
on Github. The Podfiles themselves link to binaries on our CDN. For
example, for our latest release:
https://media.twiliocdn.com/sdk/ios/video/releases/1.3.0/
twilio-video-ios-1.3.0.tar.bz2
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: socket error 32
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: TLS handshake failed
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: socket error 32
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: TLS handshake failed
As for the Client itself, at a minimum it needs to be able to establish a
TLS connection with our signaling servers on port 443. Detailed information
for signaling servers and Group Rooms media servers can be found here
<https://www.twilio.com/docs/api/video/ip-address-whitelisting>.
If you are using Peer-to-Peer Rooms then you will want to allow
connectivity to our STUN / TURN
<https://www.twilio.com/docs/api/stun-turn/regions> servers as well.
This should get you up and running, but please let me know if you have any
more questions.
Cheers,
Chris Eagleston
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQJp1e7kHZlkCj8qFTvB4noV5a0td--Sks5sWJLBgaJpZM4OwauS>
.
|
Hi @NaveenGB, On stack overflow you said:
There is some punctuation missing (closing brace) in your code snippet. I'm assuming you based it on: https://www.twilio.com/docs/api/video/specifying-video-constraints I don't see any issues in the sample code snippet, and this works for me locally. Can you provide debug logs from your app? Are these real iPhone devices or the simulator? The camera will not work on the simulator. Does the camera capturer construction succeed or fail? Best, |
Actually closing brace is there in my code I didn't add in the question. Our application is developed in both Mobile(iOS and Android) and Web(PHP) we have integrated twilio in both the platform, problem is when we connect room via mobile to mobile it is showing in full screen, but mobile to web it is showing small(vertically small), even in web to web is fine, web to mobile is small(horizontally small). Its not showing any error logs. |
Actually closing brace is there in my code I didn't add in the question.
Our application is developed in both Mobile(iOS and Android) and Web(PHP)
we have integrated twilio in both the platform, problem is when we connect
room via mobile to mobile it is showing in full screen, but mobile to web
it is showing small(vertically small), even in web to web is fine, web to
mobile is small(horizontally small). Its not showing any error logs.
…On Thu, Aug 10, 2017 at 9:58 PM, Christopher Eagleston < ***@***.***> wrote:
Hi @NaveenGB <https://github.com/naveengb>,
On stack overflow you said:
let videoConstraints = TVIVideoConstraints { (constraints) in
constraints.maxSize = TVIVideoConstraintsSize960x540;
constraints.minSize = TVIVideoConstraintsSize960x540;
constraints.maxFrameRate = TVIVideoConstraintsFrameRateNone;
constraints.minFrameRate = TVIVideoConstraintsFrameRateNone;
camera = TVICameraCapturer(source: .frontCamera, delegate: self)
localVideoTrack = TVILocalVideoTrack.init(capturer: camera!,
enabled: true,
constraints: videoConstraints)
"Error: Failed to create a video track using the local camera."
Video call is for iPhone SE, 6, 6s, 7 form factors
There is some punctuation missing (closing brace) in your code snippet.
I'm assuming you based it on: https://www.twilio.com/docs/
api/video/specifying-video-constraints
I don't see any issues here, and this works for me locally. Can you
provide debug logs from your app? Are these real iPhone devices or the
simulator? Does the camera capturer construction succeed or fail?
Best,
Chris Eagleston
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQJp1WrzouPv5Q5_Hh_v56TDgys5aHUaks5sWy-egaJpZM4OwauS>
.
|
Hi @NaveenGB, Can you provide detailed logs showing the failure? Video constraints (using the code snippet in our docs) should work just fine and I'm not aware of any bugs or regressions in this area. Try adding:
At the start of your code which creates a capture / track. Without more info, I'm not sure how I can solve this issue as its not reproducible on my end. If you'd like I can post a branch with a modified version of the QS which uses constraints just to be sure we are on the same page. Best, |
Closing this ticket since we didn't hear back from you. If you're still having issues please reopen with Debug logs of the failure. |
Description
Twilio Video is not working on proxy network showing below logs, even I was not able install pods on proxy. Kindly let me know the URL's where all TwilioVideo is hitting so that I will remove proxy for those URL's
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: socket error 32
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: TLS handshake failed
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: socket error 32
ERROR:TwilioVideo:[Signaling]:RESIP::TRANSPORT: TLS handshake failed
The text was updated successfully, but these errors were encountered: