close method
Closes all peer connections, local streams, and the socket connection.
Implementation
Future<void> close() async {
await _cleanSessions();
_socket.close();
}
Closes all peer connections, local streams, and the socket connection.
Future<void> close() async {
await _cleanSessions();
_socket.close();
}