Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

Woogeen.ConferenceClient.send broadcast - getting invalid receiver

Paul_S_1
Beginner
421 Views

Hello,

the documentation states to use 0 as the receiver in order to broadcast to all of the clients, however when using 0 I am getting an "invalid receiver" error. If I use a valid client id the message gets sent/ is received successfully.

I am using v3.3, and here is my code:

conference.send($('#dataSent').val(), 0, function (success) {
            L.Logger.info('Message Sent Success:', success);
        }, function (error) {
            L.Logger.info('Message Sent Failure:', error);
        });

Thanks!

0 Kudos
1 Reply
Jianjun_Z_Intel
Employee
421 Views

Hi Paul,

Sorry for the mistake in API description. Please use undefined instead of 0 if you want to broadcast message. Thanks.

0 Kudos
Reply