RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

How to close the Connection

Open Vuyiswamb opened this issue 1 year ago • 0 comments

Good Day

I have an open connection , now i want to close the feed on a click of the button . i looked at the connection object, tried to set it to null.

        document.getElementById('close-room').onclick = function () {
             
            connection = null;
        };

but nothing happens

Thanks

Vuyiswamb avatar Aug 06 '22 21:08 Vuyiswamb