Trtc Log名字修改
This commit is contained in:
@@ -83,23 +83,6 @@ object HomeModel : BaseModel() {
|
||||
}.compose(RxHelper.handleSchAndExce())
|
||||
}
|
||||
|
||||
|
||||
fun getGameCode(): Single<Int> {
|
||||
return api.getCode("https://fat-mgp-hello.sudden.ltd/login", AuthModel.get().currentUid)
|
||||
.flatMap { unReadCountInfoServiceResult ->
|
||||
if (unReadCountInfoServiceResult.isSuccess) {
|
||||
val unReadCountInfo = unReadCountInfoServiceResult.data
|
||||
if (unReadCountInfo != null) {
|
||||
Single.just(unReadCountInfoServiceResult.data?.total ?: 0)
|
||||
} else {
|
||||
Single.just(0)
|
||||
}
|
||||
} else {
|
||||
Single.just(0)
|
||||
}
|
||||
}.compose(RxHelper.handleSchAndExce())
|
||||
}
|
||||
|
||||
suspend fun getHomeBanner(type: String): List<BannerInfo>? =
|
||||
launchRequest {
|
||||
api.apiHomeBanner(
|
||||
|
@@ -67,7 +67,7 @@ public class TRtcEngineManager extends BaseEngine {
|
||||
mRtcEngine.enableDualStreamMode(true);
|
||||
mRtcEngine.setLogFile(Environment.getExternalStorageDirectory()
|
||||
+ File.separator + BasicConfig.INSTANCE.getAppContext().getPackageName()
|
||||
+ "/log/agora-rtc.log");
|
||||
+ "/log/trtc.log");
|
||||
}
|
||||
mRtcEngine.joinChannel(AvRoomDataManager.get().trtcSig, String.valueOf(channelId), null, (int) uid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user