Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wqqas1/laravel-video-chat-demo
https://github.com/wqqas1/laravel-video-chat-demo
chat chat-demo laravel laravel-echo-server laravel-video-chat video-chat-demo vue vuejs webrtc webrtc-video
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wqqas1/laravel-video-chat-demo
- Owner: wqqas1
- Created: 2018-10-14T20:30:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T22:09:23.000Z (almost 2 years ago)
- Last Synced: 2024-05-20T20:01:05.841Z (8 months ago)
- Topics: chat, chat-demo, laravel, laravel-echo-server, laravel-video-chat, video-chat-demo, vue, vuejs, webrtc, webrtc-video
- Language: PHP
- Size: 675 KB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-video-chat-demo
Laravel Video Chat using Socket.IO and WebRTC ( Demo )Install the JavaScript dependencies:
```javascript
npm install
npm install --save laravel-echo js-cookie vue-timeago socket.io socket.io-client webrtc-adapter vue-chat-scroll
laravel-echo-server init
```
To start laravel-echo-server
````javascript
laravel-echo-server start
```````php
cp .env.example .env
composer install
php artisan key:generate
php artisan migrate --seed
php artisan storage:link
```
change APP_URL in .env
change BROADCAST_DRIVER=redis in .env
Uncomment App\Providers\BroadcastServiceProvider in the providers array of your config/app.php configuration file
If you are running the Socket.IO server on the same domain as your web application, you may access the client library like```javascript
```
Finally, you will need to run a compatible Socket.IO server. Use tlaverdure/laravel-echo-server GitHub repository.
[laravel-video-chat](https://github.com/Wqqas1/laravel-video-chat)
This whole work is based on https://github.com/PHPJunior/laravel-video-chat but modified to make it compatible with laravel 5.7 this version does not work with laravel versions less than 5.7 for that you can download the original package