RTCMultiConnection Docs

RTCMultiConnection API Reference / "onspeaking"

  1. onspeaking and onsilence events are added in v1.5.
  2. connection.onspeaking = function (e) {
        // e.streamid, e.userid, e.stream, etc.
        e.mediaElement.style.border = '1px solid red';
    };
    
    connection.onsilence = function (e) {
        // e.streamid, e.userid, e.stream, etc.
        e.mediaElement.style.border = '';
    };
    


Want to ask a Question?

You can include your email for private conversation!