private void SetupCallApp() { //Set true to allow sending video and audio to other connections mApp.SetAudio(true); mApp.SetLoudspeakerStatus(true); mApp.SetRemoteVolume(1); mApp.SetVideo(false); mApp.SetAutoRejoin(uRejoinToggle.isOn); mApp.SetupCall(); EnsureLength(); Append("Trying to listen on address " + uRoomNameInputField.text); mApp.Join(uRoomNameInputField.text); }
private void SetupCallApp() { mApp.SetVideoDevice(GetSelectedVideoDevice()); mApp.SetAudio(uAudioToggle.isOn); mApp.SetVideo(uVideoToggle.isOn); int width = TryParseInt(uIdealWidth.text, 320); int height = TryParseInt(uIdealHeight.text, 240); int fps = TryParseInt(uIdealFps.text, 30); mApp.SetIdealResolution(width, height); mApp.SetIdealFps(fps); mApp.SetAutoRejoin(uRejoinToggle.isOn); mApp.SetShowLocalVideo(uLocalVideoToggle.isOn); mApp.SetupCall(); EnsureLength(); Append("Trying to listen on address " + uRoomNameInputField.text); mApp.Join(uRoomNameInputField.text); }