Download the plugin from here : Video Call
Other HMMG Plugins : Plugins Directory
Demo : capx
There may be few bugs , I count on you to report me bugs and
Thanks
Hey guys , so here is my newest Plugin "VideoCall" ,give Video + Audio Or Audio Only calls (Now you can make your own Viber and WhatsUp)
Preview
GIF
How it works
At first you have to create an Account on this website "Click on Developer - Free" , create you account,then create a new APIkey , copy it and paste it , in the Properties of the Plugin , then you can start using it.
How to install
Copy/Paste the Folder in the zip file to your plugin's directory
Close and re-open Construct 2 if it's opened
How to use it
Please Look at the demo to understand , it's quite Complexe but it will be easy when you understand the concept
************** Condition **************
User connected : Trigger when the user connect
Peer has connected : Trigger when a peer has just connected
Message received : Trigger when a message is received
Call received : Trigger when a call is received
Message sent : Trigger the message is Sent
User Answer Call : Trigger when user answer a call
Peer stream received : Trigger when peer stream received
User stream ready : Trigger when user stream is ready
User Hang Up : Trigger when user hang up
************** Action **************
Connect : Connect to the server
Send Message : Send Message to a peer
Call : Call a peer (You can select the Type Video+Audio , or Audio Only)
Answer call : Answer a call (You can select the Type Video+Audio , or Audio Only)
Hang Up : Hang Up a call
************** Properties **************
LastMessagePeerId : Return the last Peer's id that sent a message
LastCallerPeerId : Return the last Peer's id that called
LastReceivedMessage : Return the last received Message
UserId : Return the current User id
LastSentMessage : Return the last sent message
PeerStream : Return the peer stream data (The source to add to the video element for peer Stream)
UserStream : Return the user stream data (The source to add to the video element for user Stream)
Tested Only on Firefox/Chrome/Opera , if any one can tell us if it works on Mobiles that would be awsome