Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

Woogeen.ConferenceClient.send broadcast - getting invalid receiver

Paul_S_1
Beginner
86 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
86 Views

Hi Paul,

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

Reply