These are chat archives for andyet/SimpleWebRTC

18th
May 2017
MicroMediaZagreb
@MicroMediaZagreb
May 18 2017 10:10
Hi guys, does anyone know how i can send a video with "sendDirectlyToAll"?
             webrtc.on('localScreenAdded', function (video, peer) {
                       webrtc.sendDirectlyToAll('screenSharing', 'screenSharing', { message: video});
            });
            webrtc.on('channelMessage', function (peer, label, data) {
                if (data.type === 'screenSharing') {
                    console.log('Received message: ' + data.payload.message + ' from ' + peer.id);
                }
            });
The data.payload.message just show "Object" and i can't append it to anything, any help?