MenuMenu

RTCMultiConnection.close

Close all peers

closeSocket is recommended

connection.closeSocket();
    

Please check "closeSocket" documentation: /docs/closeSocket/