muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.55k stars 1.38k forks source link

Support for Laravel Echo #605

Open shohag121 opened 6 years ago

shohag121 commented 6 years ago

Hi, I'm trying to implement RTCMultiConnection with Laravel Echo for Scalable Video Broadcasting. Currently installed "laravel-echo-server" as Socket.io.

The demo is only working with connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/';

but not for laravel echo socket URL connection.socketURL = 'https://testdomain.test:6001/';

Is it possible to integrate RTCMultiConnection with Laravel Echo?

Thanks.

Madriix commented 6 years ago

it is weird the port "6001", a ssl connection works only with "443" ?!

shohag121 commented 6 years ago

Laravel echo server is configured to accept https on the port 6001 by default.

The connection is not the issue here; I think. Because I'm getting io is connected message on the console.

shohag121 commented 6 years ago

Is it possible to get a demo with Laravel?

Madriix commented 6 years ago

https://github.com/muaz-khan/RTCMultiConnection/blob/master/server.js

it's the only server that takes the "RTCMultiConnection" I think.

Like here: https://rtcmulticonnection.herokuapp.com:443/ use server.js from https://github.com/muaz-khan/RTCMultiConnection/blob/master/server.js