Commit a18c9d6a by 严久程

咨询增加声网功能

parent b3c3fac4
...@@ -42,7 +42,7 @@ ext { ...@@ -42,7 +42,7 @@ ext {
ydlPublishVersion = [ ydlPublishVersion = [
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.48.7.14", "m-confide" : "0.0.48.7.17",
"m-consultant" : "0.0.57.4", "m-consultant" : "0.0.57.4",
"m-fm" : "0.0.29.3", "m-fm" : "0.0.29.3",
"m-user" : "0.0.60.1", "m-user" : "0.0.60.1",
...@@ -75,7 +75,7 @@ ext { ...@@ -75,7 +75,7 @@ ext {
"ydl-webview" : "0.0.38.24", "ydl-webview" : "0.0.38.24",
"ydl-media" : "0.0.20", "ydl-media" : "0.0.20",
"ydl-pay" : "0.0.17", "ydl-pay" : "0.0.17",
"m-audioim" : "0.0.48.3.4", "m-audioim" : "0.0.48.3.6",
"ydl-flutter-base": "0.0.10.9", "ydl-flutter-base": "0.0.10.9",
//以下 几乎不会动 //以下 几乎不会动
...@@ -121,7 +121,7 @@ ext { ...@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.24", "ydl-webview" : "0.0.38.24",
"ydl-media" : "0.0.20", "ydl-media" : "0.0.20",
"ydl-pay" : "0.0.17", "ydl-pay" : "0.0.17",
"m-audioim" : "0.0.48.3.4", "m-audioim" : "0.0.48.3.6",
"ydl-flutter-base": "0.0.10.9", "ydl-flutter-base": "0.0.10.9",
//以下 几乎不会动 //以下 几乎不会动
......
package com.ydl.consultantim.command package com.ydl.consultantim.command;
import com.ydl.ydlcommon.data.http.BaseCommand import com.ydl.ydlcommon.data.http.BaseCommand;
/** /**
* @author jiucheng * @author jiucheng
* @描述: * @描述:
* @Copyright Copyright (c) 2018 * @Copyright Copyright (c) 2018
* @Company 壹点灵 * @Company 壹点灵
* @date 2020/3/19 * @date 2020/3/30
*/ */
data class ListenTokenCmd( public class ListenTokenCmd extends BaseCommand {
/** /**
* 类别 TOKEN|SIGNAL_TOKEN * 类别 TOKEN|SIGNAL_TOKEN
*/ */
var type: String? = null, public String type;
/** /**
* 账号(就是uid) * 账号(就是uid)
* 如果是SIGNAL_TOKEN 则需要传递该参数 * 如果是SIGNAL_TOKEN 则需要传递该参数
*/ */
var account: String? = null, public String account;
/** /**
* 频道ID * 频道ID
*/ */
var channelId: String? = null, public String channelId;
/** /**
* 过期时间 * 过期时间
*/ */
var expired: String? = null public String expired;
) : BaseCommand() }
\ No newline at end of file
...@@ -227,6 +227,10 @@ class LogHelper private constructor() { ...@@ -227,6 +227,10 @@ class LogHelper private constructor() {
//获取声网日志 //获取声网日志
private fun getAgoraLog(context: Context): File { private fun getAgoraLog(context: Context): File {
val agora = FileUtils.getSDDirectory() + "/" + context.packageName + "/agorasdk.log" val agora = FileUtils.getSDDirectory() + "/" + context.packageName + "/agorasdk.log"
val filePath = context.filesDir.path + "/agorasdk.log"
return File(agora) return File(agora)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment