Skip to content

Commit

Permalink
v0.9.11.0
Browse files Browse the repository at this point in the history
update CHANGELOG

update ChatActivity methods name
  • Loading branch information
Farhad7d7 committed Aug 21, 2021
1 parent f9fe744 commit 941883d
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 25 deletions.
88 changes: 88 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,94 @@
All notable changes to this project will be documented here.


## Version [0.9.11.0] -2021-8-21

[Added] **Video Call**

[Improved] **Audio Call**

[Added] Permission to use the camera

[َAdded] setupCall(VideoCallParam, AudioCallParam, CallConfig, List<CallPartnerView>)

[Added] requestCall(CallRequest) method

[Added] acceptVoiceCall(AcceptCallRequest) method

[Added] onCallCreated() callback

[Added] onCallDelivered(ChatResponse<CallDeliverResult>) callback

[Added] onReceiveCallRequest(ChatResponse<CallRequestResult>) callback

[Added] onVoiceCallStarted(ChatResponse<CallStartResult>) callback

[Added] rejectVoiceCall(RejectCallRequest) method

[Added] onCallRequestRejected(ChatResponse<CallRequestResult>) callback

[Added] endAudioCall(EndCallRequest) method

[Added] onVoiceCallEnded(ChatResponse<EndCallResult>) callback

[Added] onEndCallRequestFromNotification() callback

[Added] onCallReconnect(ChatResponse<CallReconnectResult>) callback

[Added] onCallConnect(ChatResponse<CallReconnectResult>) callback

[Added] MessageVO.getCallHistoryVO();

[Added] getCallsHistory(GetCallHistoryRequest) method

[Added] onReceiveCallHistory(ChatResponse<GetCallHistoryResult>) callback

[Added] switchCallMuteState(Boolean,CallId) method

[Added] onAudioCallMuted(ChatResponse<CallParticipantMuteResult>) callback

[Added] onAudioCallUnMuted(ChatResponse<CallParticipantMuteResult>) callback

[Added] requestMuteCallParticipant(MuteUnMuteCallParticipantRequest) method

[Added] onCallParticipantMuted(ChatResponse<CallParticipnatMuteResult>) callback

[Added] requestUnMuteCallParticipant(MuteUnMuteCallParticipantRequest) method

[Added] onCallParticipantUnMuted(ChatResponse<CallParticipnatMuteResult>) callback

[Added] onMutedByAdmin(ChatResponse<CallParticipantMuteResult>) callback

[Added] onUnMutedByAdmin(ChatResponse<CallParticipantMuteResult>) callback

[Added] switchCallSpeakerState(Boolean) method

[Added] openCamera() method

[Added] closeCamera() method

[Added] switchCamera() method

[Added] turnOnVideo(CallId) method

[Added] turnOffVideo(CallId) method

[Added] turnCallParticipantVideoOff(TurnCallParticipantVideoOffRequest) method

[Added] onCallParticipantStoppedVideo(ChatResponse<JoinCallParticipantResult>) callback

[Added] onCallParticipantStartedVideo(ChatResponse<JoinCallParticipantResult>) callback

[Added] getCallParticipants(GetCallParticipantsRequest)

[Added] onActiveCallParticipantsReceived(ChatResponse<GetCallParticipantResult>) callback







## Version [0.9.10.0] -2021-7-17

[Added] ```getMutualGroup``` method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.model.GlideUrl;
import com.bumptech.glide.load.model.LazyHeaders;
import com.bumptech.glide.request.RequestOptions;
Expand Down Expand Up @@ -134,7 +132,6 @@
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import com.mindorks.placeholderview.ExpandablePlaceHolderView;
import com.mindorks.placeholderview.annotations.Resolve;
import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.Logger;

Expand Down Expand Up @@ -2627,12 +2624,12 @@ public void onClick(View v) {

private void connect() {
if (serverType == ServerType.Main) {
SetMainServer();
setMainServer();
} else if (serverType == ServerType.Sandbox) {
SetSandBoxServer();
setSandBoxServer();
} else if (serverType == ServerType.Integration) {
SetIntgrationServer();
} else SetMainServer();
setIntgrationServer();
} else setMainServer();

RequestConnect rc = new RequestConnect.Builder(
socketAddress,
Expand All @@ -2649,8 +2646,8 @@ private void connect() {
tvServerType.setText(serverType.name());
}

private void SetMainServer() {
ssoHost = BaseApplication.getInstance().getString(R.string.sso_host);
private void setMainServer() {
ssoHost = BaseApplication.getInstance().getString(R.string.ssoHost);
serverName = "chat-server";

name = BaseApplication.getInstance().getString(R.string.main_server_name);
Expand All @@ -2659,7 +2656,7 @@ private void SetMainServer() {
fileServer = BaseApplication.getInstance().getString(R.string.fileServer);
}

private void SetSandBoxServer() {
private void setSandBoxServer() {
ssoHost = BaseApplication.getInstance().getString(R.string.sandbox_ssoHost);
serverName = BaseApplication.getInstance().getString(R.string.sandbox_server_name);

Expand All @@ -2670,7 +2667,7 @@ private void SetSandBoxServer() {

}

private void SetIntgrationServer() {
private void setIntgrationServer() {

ssoHost = BaseApplication.getInstance().getString(R.string.integration_ssoHost);
serverName = BaseApplication.getInstance().getString(R.string.integration_serverName);
Expand Down
25 changes: 11 additions & 14 deletions podchat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ apply plugin: 'com.kezong.fat-aar'
apply plugin: 'com.google.gms.google-services'

ext {
libraryVersion = '0.9.9.0-call-beta'
libraryVersion = '0.9.11.0'
}
android {

compileSdkVersion 29
defaultConfig {
minSdkVersion 17
targetSdkVersion 29
versionCode 169
versionCode 171
versionName libraryVersion

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -91,18 +91,15 @@ dependencies {


//call
api project(path: ':podcall')

// List<String> runTasks = gradle.startParameter.getTaskNames();
//
// for (String item : runTasks) {
// println(item)
// if (item.contains("assembleDebug")) {
// api project(path: ':podcall')
// } else {
// embed project(path: ':podcall')
// }
// }
List<String> runTasks = gradle.startParameter.getTaskNames();

for (String item : runTasks) {
if (item.contains("assembleDebug")) {
api project(path: ':podcall')
} else {
embed project(path: ':podcall')
}
}

}

Expand Down

0 comments on commit 941883d

Please sign in to comment.