MySQL Datenbank Design Standard
2018-01-26
IN1, 2018-01-26 00:00:00
IN1, 2023-04-10 14:16:29


SimpleWebRTC: usage example of sendDirectlyToAll
2017-02-22
IN1, 2017-02-22 00:00:00
IN1, 2023-04-10 14:16:29


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 […]


This website uses Cookies to provide you with the best possible service. Please see our Privacy Policy for more information. Click the check box below to accept cookies. Then confirm with a click on "Save".