MySQL Datenbank Design Standard
2018-01-26
Übersicht
SimpleWebRTC: usage example of sendDirectlyToAll
2017-02-22
How to send text or data to all peers in SimpleWebRTC by using sendDirectlyToAll
method.
Here is my usage example showing how i managed to get it working:
/**
* send directly to all other peers
*/
oSimpleWebRTC.sendDirectlyToAll(
'meta', // sLabel
'info', // sType - will become oData.sType
{"foo": "bar"} // oData - will become oData.payload
);
/**
* Handle incoming […]