This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╷ | |
│ Error: Plugin did not respond | |
│ | |
│ with aws_eip.asg-static-ip, | |
│ on dns.tf line 1, in resource "aws_eip" "asg-static-ip": | |
│ 1: resource "aws_eip" "asg-static-ip" { | |
│ | |
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).UpgradeResourceState call. | |
│ The plugin logs may contain more details. | |
╵ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AgoraVideoCall videoCall = new AgoraVideoCall(getApplicationContext(), "app id", null, "channel name"); | |
UIConfig config = new UIConfig(); | |
config.showCheckButton(); | |
videocall.setConfig(config); | |
Intent intent = videoCall.start(); | |
startActivity(intent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AgoraVideoCall videoCall = new AgoraVideoCall(getApplicationContext(), "app id", null, "channel name"); | |
Intent intent = videoCall.start(); | |
startActivity(intent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onResume() { | |
super.onResume(); | |
addCallback(); | |
enableLoginBtnClick = true; | |
StringBuffer version = new StringBuffer("" + AGApplication.the().getmAgoraAPI().getSdkVersion()); | |
if (version.length() >= 8) { | |
String strVersion = "version " + version.charAt(2) + "." + version.charAt(4) + "." + version.charAt(6); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void addCallback() { | |
AGApplication.the().getmAgoraAPI().callbackSet(new AgoraAPI.CallBack() { | |
@Override | |
public void onLoginSuccess(int i, int i1) { | |
Log.i(TAG, "onLoginSuccess " + i + " " + i1); | |
initUI(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void initUI() { | |
AGApplication.the().getmAgoraAPI().channelJoin(channelName); | |
} | |
public void onClickLogin(View v) { | |
if (enableLoginBtnClick) { | |
account = textAccountName.getText().toString(); | |
if (account == null || account.equals("")) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.EditText; | |
import android.widget.TextView; | |
import java.lang.ref.WeakReference; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onChatClicked(View view) { | |
Intent loginIntent = new Intent(this, LoginActivity.class); | |
loginIntent.putExtra(LOGIN_MESSAGE, channelName); | |
startActivity(loginIntent); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onSwitchCameraClicked(View view) { | |
mRtcEngine.switchCamera(); | |
} | |
public void onEndCallClicked(View view) { | |
finish(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onSwitchCameraClicked(View view) { | |
mRtcEngine.switchCamera(); | |
} | |
public void onEndCallClicked(View view) { | |
finish(); | |
} |
NewerOlder