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.53k stars 1.37k forks source link

RTCMultiConnection allow fcm push notifications? #787

Open geeksha opened 4 years ago

geeksha commented 4 years ago

Hello Muaz,

Thanks for your great job. I have a question: Is it RTCMultiConnection compatible with fcm node module to do that??

I want to use RTCMulticonnection in a project which it's actually with appRTC. Basically, add RTCMulticonnection to its room server (socket.io based) and client (socket.io-client based). The idea is to start a room with a chat instead of the videoconference 1 to 1, and later add video+audio. It would be necessary that the chat can send fcm push notifications. Is it RTCMultiConnection compatible with node module to do that??

muaz-khan commented 4 years ago

Following code requires a little updates:

Simply implement according to latest FCP client-side API.

PS. RTCMultiConnection supports all possible signaling implementations: https://www.rtcmulticonnection.org/docs/setCustomSocketHandler/

geeksha commented 4 years ago

Thanks a lot for the answer.

In my case, I would like to use Firebase as notification server and RTCMultiConnection as signaling server connected with collider -appRTC-. Firebase as signaling server can connect with collider signaling server?

Thanks a lot for the FirebaseConnection example code!!

geeksha commented 4 years ago

I thought your second link was answering my second question, sorry.I will test it!!

Thanks!