Coder Social home page Coder Social logo

amirsanni / conference-call-ratchet Goto Github PK

View Code? Open in Web Editor NEW
46.0 3.0 23.0 58 KB

A conference call implementation using WebRTC and Ratchet Web Socket

PHP 19.64% CSS 6.74% JavaScript 60.96% HTML 12.65%
webrtc ratchet video-call chat conference-call screen-sharing recording

conference-call-ratchet's Introduction

Conference Call

A conference call implementation using WebRTC, Ratchet Web Socket.

Getting Started

  • Run composer install to install the dependencies.
  • Set your web socket domain name and port in ws/bin/server.php
  • Update your websocket URL (wsUrl) in assets/js/chat.js

Features

  • Multi-participants
  • Toggling of video stream
  • Toggling of audio stream (mute & unmute)
  • Screen sharing
  • Text chat
  • Mute individual participant
  • Expand participants' stream
  • Screen Recording
  • Video Recording

Note

The app uses xirsys free ice servers which you can get by creating a free xirsys account. If you opt for that, ensure you rename the Server.example.php in the root directory to Server.php and replace the dummy credentials there with yours.

Alternative

If you prefer to use socket.io and NodeJS instead of PHP Web socket (Ratchet), check out the NodeJS version here.

conference-call-ratchet's People

Contributors

amirsanni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

conference-call-ratchet's Issues

tutorial for this repo

Hi very appreciate the work you done when you made this repo.But if you have some spare time can you make video tutorial for this repo.Or step you need to do .Because right now i'm only can create a user to user but not multiple user like yours
Thks for reading this

failed: Error in connection establishment

facing two error
chat.js:41 WebSocket connection to 'ws://vchat.borg:8085/comm' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

helpers.js:65 Uncaught Error: User media not available
at Object.getUserFullMedia (helpers.js:65)
at getAndSetUserStream (chat.js:158)
at chat.js:49
I tried everything

when I am running server.php getting issue

`C:\xampp\htdocs\conference-call-ratchet>php Server.php
PHP Notice: Trying to get property 'v' of non-object in C:\xampp\htdocs\conference-call-ratchet\Server.php on line 15

Notice: Trying to get property 'v' of non-object in C:\xampp\htdocs\conference-call-ratchet\Server.php on line 15
PHP Notice: Trying to get property 'iceServers' of non-object in C:\xampp\htdocs\conference-call-ratchet\Server.php on line 15

Notice: Trying to get property 'iceServers' of non-object in C:\xampp\htdocs\conference-call-ratchet\Server.php on line 15
null`

Server running but not accessible via localhost

Hi! First of all, thanks for this wonderful server! I installed the project and managed to get the server running easily. However, when I try to access localhost:8080, nothing is returned. Maybe I am not understanding how to access the app from the browser :)
Thanks a lot!!

when launching server.php i get this error

php Server.php
PHP Notice: Trying to get property 'iceServers' of non-object in D:\Projects\The Net VR\Net VR Conference\web\conference\Server.php on line 15

Notice: Trying to get property 'iceServers' of non-object in D:\Projects\The Net VR\Net VR Conference\web\conference\Server.php on line 15
null

error

Uncaught SyntaxError: Unexpected reserved word in chat.js line 118

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.