PhpDev.App
Mupati/laravel-video-chat

Mupati/laravel-video-chat

Stars: 145

Forks: 76

Pull Requests: 1

Issues: 12

Watchers: 5

Last Updated: 2021-10-04 09:54:39

A Collection of Demo Applications with Laravel + WebRTC

License:

Languages: Shell, PHP, Vue, Blade

https://laravel-video-call.herokuapp.com/login

A Collection of Laravel Projects

This repository contains a collection of applications built with Laravel.
At the moment I've been hacking around WebRTC so most of the applications are about WebRTC.
Most of them are demo applications for various Technical Articles I've written and going to write on Dev.to and Medium.

There are endpoints for some other applications I've built as well.

Consider Sponsoring.

I plan to explore various Real Time Communication offerings and build demo apps and write about them. To keep me going, you may consider sponsoring so that I dedicate a enough time to it. Interestingly, it seems a lot of people have found it helpful given the number of emails and queries I receive for support in one way or the other.

❤️ Sponsor

Project Setup

  1. Clone the repository.
    git clone https://github.com/Mupati/laravel-video-chat

  2. Install dependencies
    composer install && npm install

  3. Create your env file from the example.
    cp env.example env

  4. Add your db details, pusher API keys and TURN SERVER credentials.

Running the Application

  1. php artisan serve to start the server and npm run start to start the frontend.
  2. Note that the register endpoint has been removed to prevent people from creating
    a lot of users when they want to try out the online demo. In your local copy you can enable it in the routes/web.php file.

Available Applications

The following are the available applications and the links to the article I've written about it if available:

  1. Custom WebRTC Applications

    • Live stream with WebRTC in your Laravel application
      A Live streaming application built with WebRTC using the simple-peer.js package
      Medium Link
      Dev.to Link

    • Adding Video Chat To Your Laravel App
      This is one-on-one video call application with WebRTC using the simple-peer.js package
      Medium Link
      Dev.to Link

  2. Agora Platform Applications

  3. Wossop
    This is a messaging and video chat application with the WhatsApp web interface.
    The APIs are in this repository but the frontend sits elsewhere. I don't plan to blog about it.

Test Accounts for the Application

  1. Visit Demo url: https://laravel-video-call.herokuapp.com/login
  2. Login with these test accounts and test it
    email: password
    [email protected]: DY6m7feJtbnx3ud
    [email protected]: Me3tm5reQpWcn3Q

UI for one-on-one Video Call with WebRTC

Incoming Call UI

Incoming Call

Video Chat Session

Video Chat

RELEASES

See all