protected async ValueTask TryAddRoom(object args)
        {
            if (string.IsNullOrWhiteSpace(RoomName))
            {
                return;
            }

            var takeAction = args switch
            {
                KeyboardEventArgs keyboard when keyboard.Key == "Enter" => true,
                MouseEventArgs _ => true,
                _ => false
            };

            if (takeAction)
            {
                var addedOrJoined = await VideoJS.CreateOrJoinRoomAsync(JsRuntime, RoomName);

                if (addedOrJoined)
                {
                    _activeRoom = RoomName;
                    RoomName    = null;

                    await _hubConnection.InvokeAsync(NotificationHub.RoomAddedRoute, _activeRoom);
                }
            }
        }
        protected async ValueTask TryJoinRoom(string roomName)
        {
            if (string.IsNullOrWhiteSpace(roomName))
            {
                return;
            }

            var joined = await VideoJS.CreateOrJoinRoomAsync(JsRuntime, roomName);

            if (joined)
            {
                _activeRoom = roomName;
            }
        }