Exemple #1
0
    public void Join(string roomName)
    {
        _callAppUi.uAudioToggle.isOn        = true;
        _callAppUi.uVideoToggle.isOn        = true;
        _callAppUi.uRoomNameInputField.text = roomName;

        _callAppUi.JoinButtonPressed();
        _callAppUi.Fullscreen();

        _customWebRtcRestManager.SimplePostRequest(_uri + roomName);
    }
Exemple #2
0
    public void Join()
    {
        _callAppUi.uAudioToggle.isOn        = true;
        _callAppUi.uVideoToggle.isOn        = false;
        _callAppUi.uRoomNameInputField.text = _roomName;


        _callAppUi.JoinButtonPressed();
        _callAppUi.Fullscreen();

        _customWebRtcRestManager.SimpleDeleteRequest(_uri + _roomName);
    }
 public void OnPointerClick(PointerEventData eventData)
 {
     //Check for two clicks short after each other. Should work
     //on mobile and desktop platforms
     if ((eventData.clickTime - mLastClick) < 0.5f)
     {
         mParent.Fullscreen();
     }
     else
     {
         mParent.ShowOverlay();
     }
     mLastClick = eventData.clickTime;
 }