SavandBros / whisper

Whisper chat for me, myself and I
GNU General Public License v3.0
5 stars 0 forks source link

Video/Call chat #59

Open Alir3z4 opened 6 years ago

Alir3z4 commented 6 years ago

this is pretty simple to go with.

For beginning, this should completely done via text and not fancy buttons yet. Syntax => "call USERNAME" like "call amir" then when "amir" receives the the same message "call amir", you should make the call object.

The call object is like:

// we have to wait until it's ready
    webrtc.on('readyToCall', function () {
        // you can name it anything
        webrtc.joinRoom('Makiato'); // Malianto should be unique or anything you want, something for both parties.
    });

I'm going to make a dirty pull request so you can follow.

AmirSavand commented 6 years ago

Fantastic.

Alir3z4 commented 6 years ago

It's really simple to work with. You can try the pull request right away and it works

Just get a working example of it