-
Notifications
You must be signed in to change notification settings - Fork 144
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
Not working on local #45
Comments
Hi, based on your Notice, I doubt your Server.php is not configured correctly. |
Hello,
I have done that still I am getting error. it is not getting connected.
do you have any idea about this? ->
https://stackoverflow.com/questions/62869583/php-web-socket-not-connect-in-ssl
Thank you
…On Mon, Jul 13, 2020 at 12:06 PM xuzhousoft09 ***@***.***> wrote:
Hi, based on your Notice, I doubt your Server.php is not configured
correctly.
You need a turn/stun server <https://xirsys.com/>, and the Server.php
file should be configured like this:
[image: image]
<https://user-images.githubusercontent.com/12077057/87277791-9e5b7380-c515-11ea-950a-b1d42a4bb683.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALRRHG7P4YFRBYSBCQVFWZLR3KTPVANCNFSM4OYGDN5Q>
.
|
Hi, you should configure your apache proxy correctly.
ServerAdmin webmaster@localhost
RewriteCond ${HTTP:Upgrade} websocket [NC]
......
'use strict'; const appRoot = 'https://192.168.0.109/video-call-app/';
const room = getRoom(); window.addEventListener('load', function(){
require 'vendor/autoload.php'; use Amir\Comm; //set an array of origins allowed to connect to this server // Run the server application through the WebSocket protocol on port 8080 //create socket routes //run websocket
I hope it can help you. |
@ElsnerPHP If you're testing on local, you should be able to connect to the web socket server successfully without using SSL (i.e. |
Notice: Undefined property: stdClass::$v in C:\xampp\htdocs\Video-Call-App-master\Server.php on line 15
Notice: Trying to get property 'iceServers' of non-object in C:\xampp\htdocs\Video-Call-App-master\Server.php on line 15
null****
The text was updated successfully, but these errors were encountered: