1、游戏IM修复 1
This commit is contained in:
parent
b23b975edd
commit
5f4bae667b
@ -16,10 +16,6 @@ import com.yunbao.common.utils.WordUtil;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import cn.rongcloud.rtc.api.RCRTCRemoteUser;
|
|
||||||
import cn.rongcloud.rtc.api.callback.IRCRTCResultCallback;
|
|
||||||
import cn.rongcloud.rtc.api.stream.RCRTCInputStream;
|
|
||||||
import cn.rongcloud.rtc.base.RTCErrorCode;
|
|
||||||
import io.rong.imlib.IRongCallback;
|
import io.rong.imlib.IRongCallback;
|
||||||
import io.rong.imlib.RongIMClient;
|
import io.rong.imlib.RongIMClient;
|
||||||
import io.rong.imlib.model.Conversation;
|
import io.rong.imlib.model.Conversation;
|
||||||
@ -120,6 +116,7 @@ public class GameSwMicManager {
|
|||||||
Log.e("wewe", contentJson);
|
Log.e("wewe", contentJson);
|
||||||
SudGameSocketImEvent sudGameSocketImEvent = new Gson().fromJson(contentJson, SudGameSocketImEvent.class);
|
SudGameSocketImEvent sudGameSocketImEvent = new Gson().fromJson(contentJson, SudGameSocketImEvent.class);
|
||||||
sudGameSocketImEvent.getMsg().get(0).setTime("11");
|
sudGameSocketImEvent.getMsg().get(0).setTime("11");
|
||||||
|
processingMessage(sudGameSocketImEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -152,6 +152,7 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(RoomMicStatusModel data) {
|
public void onSuccess(RoomMicStatusModel data) {
|
||||||
gameMicManager = new GameSwMicManager();
|
gameMicManager = new GameSwMicManager();
|
||||||
|
gameMicManager.attachView(SudSwGameActivity.this);
|
||||||
//初始化声网引擎
|
//初始化声网引擎
|
||||||
SWAuManager.get().initRtcEngineAudio(mContext);
|
SWAuManager.get().initRtcEngineAudio(mContext);
|
||||||
//语音
|
//语音
|
||||||
|
Loading…
Reference in New Issue
Block a user