Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e1b7bd69a8587ef3e4ec41776c2847c9a14ba7d9
e1b7bd69
1 parent
1e4e2b14
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js
util/Agora_Recording_SDK_for_Linux_FULL/samples/shellUtil.js
查看文件 @
e1b7bd6
...
...
@@ -7,14 +7,14 @@ function shell(){
shell
.
prototype
.
Recording
=
async
(
appId
,
uid
,
channel
,
channelKey
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
let
shell
=
`
pwd
&&
.
/
Recorder_local
`
+
let
shell
=
`
cd
util
/
Agora_Recording_SDK_for_Linux_FULL
/
samples
/
&&
.
/
Recorder_local
`
+
`
--
appId
`
+
appId
+
`
--
uid
`
+
uid
+
`
--
channel
`
+
channel
+
`
--
channelKey
`
+
channelKey
+
" --appliteDir \`pwd\`/../bin"
;
console
.
log
(
shell
)
callfile
.
exec
(
'pwd'
,
function
(
err
,
stdout
,
stderr
){
callfile
.
exec
(
shell
,
function
(
err
,
stdout
,
stderr
){
console
.
log
(
arguments
);
if
(
err
){
reject
(
err
);
...
...
请
注册
或
登录
后发表评论