MenuMenu

RTCMultiConnection.onNumberOfBroadcastViewersUpdated

Use this method for scalable-broadcast demos

How to use

connection.onNumberOfBroadcastViewersUpdated = function(event) {
    console.log('Number of broadcast (', event.broadcastId, ') viewers', event.numberOfBroadcastViewers);
};

Please check this demo: demos/Scalable-Broadcast.html