Пример #1
0
        private void startCall()
        {
            CallModel.changeState("call");
            //AUDIO START...
            AudioManager = new AudioManager();
            AudioManager.Initialize(CallModel.FriendLogin, udpClient);
            AudioManager.StartCall(CallModel.FriendAddressIP);
            AudioManager.ListenForMessage("XD", "XD");

            if (pastState == "create")
            {
                CallModel.RestWebApiRequest.ReceivedCall(CallModel.Login, CallModel.Password, CallModel.CallID, "true");
            }
        }