void DeleteConnection()
        {
            connection.DeleteConnection(_connectionId);
            _connectionId = null;

            startButton.gameObject.SetActive(true);
            stopButton.gameObject.SetActive(false);
        }
Exemple #2
0
 private void OnStop()
 {
     connection.DeleteConnection(connectionId);
     connectionId                   = String.Empty;
     connectionIdInput.text         = String.Empty;
     connectionIdInput.interactable = true;
     startButton.gameObject.SetActive(true);
     stopButton.gameObject.SetActive(false);
 }
Exemple #3
0
        private void HangUp()
        {
            singleConnection.DeleteConnection(connectionId);

            remoteVideoImage.texture       = null;
            setUpButton.interactable       = true;
            hangUpButton.interactable      = false;
            connectionIdInput.interactable = true;
            connectionIdInput.text         = $"{Random.Range(0, 99999):D5}";
        }