sendConnectionRequest method

void sendConnectionRequest(
  1. String otherUserId
)

Implementation

void sendConnectionRequest(String otherUserId) {
  sendMessage('connection-request', {
    'name': name,
    'userId': userId,
    'otherUserId': otherUserId,
    'config': {
      'audioEnabled': audioEnabled,
      'videoEnabled': videoEnabled,
    },
  });
}