tirtc-devtools-cli 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,23 +40,6 @@ function renderTomlConfigTemplate() {
|
|
|
40
40
|
'video_stream_id = 11',
|
|
41
41
|
'audio_stream_id = 10',
|
|
42
42
|
'',
|
|
43
|
-
'[connection]',
|
|
44
|
-
'# 作为客户端 connection connect 默认 service_entry(可留空)',
|
|
45
|
-
'service_entry = ""',
|
|
46
|
-
'peer_id = ""',
|
|
47
|
-
'token = ""',
|
|
48
|
-
'',
|
|
49
|
-
'[connection.auto_token]',
|
|
50
|
-
'# 留空则使用 runtime/core/credential 默认 openapi entry',
|
|
51
|
-
'# openapi_entry = ""',
|
|
52
|
-
'# access/secret/local 三元组用于自动签发 token',
|
|
53
|
-
'# access_id = ""',
|
|
54
|
-
'# secret_key = ""',
|
|
55
|
-
'# local_id = ""',
|
|
56
|
-
'# 可选 TTL(秒)',
|
|
57
|
-
'# user_ttl_seconds = 86400',
|
|
58
|
-
'# channel_ttl_seconds = 300',
|
|
59
|
-
'',
|
|
60
43
|
'[logging]',
|
|
61
44
|
'# session 日志根目录;每个 session 会写到 <root_dir>/<session_id>/',
|
|
62
45
|
'root_dir = "./.tmp/tirtc-devtools-cli/logging"',
|
|
@@ -65,13 +48,6 @@ function renderTomlConfigTemplate() {
|
|
|
65
48
|
'# verbose|debug|info|warn|error|fatal(预留)',
|
|
66
49
|
'level = "info"',
|
|
67
50
|
'',
|
|
68
|
-
'[debug.connect_bootstrap]',
|
|
69
|
-
'access_id = ""',
|
|
70
|
-
'secret_key = ""',
|
|
71
|
-
'peer_id = ""',
|
|
72
|
-
'# 可留空,走 runtime/core/transport 默认 service_entry',
|
|
73
|
-
'service_entry = ""',
|
|
74
|
-
'',
|
|
75
51
|
].join('\n');
|
|
76
52
|
}
|
|
77
53
|
function writeConfigTemplate(outputPath) {
|
|
@@ -15,7 +15,7 @@ const media_assets_1 = require("./media_assets");
|
|
|
15
15
|
const token_command_1 = require("./token_command");
|
|
16
16
|
const transport_1 = require("./transport");
|
|
17
17
|
const progress_1 = require("./progress");
|
|
18
|
-
const CLI_VERSION = '0.0.
|
|
18
|
+
const CLI_VERSION = '0.0.10';
|
|
19
19
|
const HOST_VERSION = '1.0.0';
|
|
20
20
|
const PROTOCOL_VERSION = '1.0.0';
|
|
21
21
|
if (process.argv.includes('--version') || process.argv.includes('-V')) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tirtc-devtools-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"tirtc-devtools-cli": "
|
|
7
|
+
"tirtc-devtools-cli": "bin/tirtc-devtools-cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"README.md",
|