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.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.RongIMClient;
|
||||
import io.rong.imlib.model.Conversation;
|
||||
@ -120,6 +116,7 @@ public class GameSwMicManager {
|
||||
Log.e("wewe", contentJson);
|
||||
SudGameSocketImEvent sudGameSocketImEvent = new Gson().fromJson(contentJson, SudGameSocketImEvent.class);
|
||||
sudGameSocketImEvent.getMsg().get(0).setTime("11");
|
||||
processingMessage(sudGameSocketImEvent);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -152,6 +152,7 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
||||
@Override
|
||||
public void onSuccess(RoomMicStatusModel data) {
|
||||
gameMicManager = new GameSwMicManager();
|
||||
gameMicManager.attachView(SudSwGameActivity.this);
|
||||
//初始化声网引擎
|
||||
SWAuManager.get().initRtcEngineAudio(mContext);
|
||||
//语音
|
||||
|
Loading…
Reference in New Issue
Block a user