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.
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:
I'm going to make a dirty pull request so you can follow.