Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Open Android
BRTC
BRTM uni-app demo
Commits
314aa12e
Commit
314aa12e
authored
1 month ago
by
XuYu
Browse files
Options
Download
Email Patches
Plain Diff
feat: 新增 onLog 回调监听 sdk 内部详细日志,方便跟踪排查问题和进行业务分析
parent
8ee6c88a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
BrtmSdk/lib/BrtmCallback.d.ts
BrtmSdk/lib/BrtmCallback.d.ts
+1
-0
nativeplugins/BRTMUniPlugin-BRTMImpl/android/BrtmUniPlugin-release.aar
.../BRTMUniPlugin-BRTMImpl/android/BrtmUniPlugin-release.aar
+0
-0
pages/examples/docshare_wb.nvue
pages/examples/docshare_wb.nvue
+3
-0
No files found.
BrtmSdk/lib/BrtmCallback.d.ts
View file @
314aa12e
...
...
@@ -7,6 +7,7 @@ export interface BrtmCallback {
onLeaveRoom
:
()
=>
void
;
onMessageReceived
:
(
key
:
string
,
content
:
string
,
userId
:
string
)
=>
void
;
onBroadcastMessageReceived
:
(
key
:
string
,
content
:
string
)
=>
void
;
onLog
:
(
logContent
:
string
)
=>
void
;
// ***** 文档 & 白板 *****
onDocumentServiceEnable
:
(
enable
:
boolean
,
userId
:
string
)
=>
void
;
...
...
This diff is collapsed.
Click to expand it.
nativeplugins/BRTMUniPlugin-BRTMImpl/android/BrtmUniPlugin-release.aar
View file @
314aa12e
No preview for this file type
This diff is collapsed.
Click to expand it.
pages/examples/docshare_wb.nvue
View file @
314aa12e
...
...
@@ -248,6 +248,9 @@
+ ", pageId=" + pageChangeInfo.pageId);
this.updatePageLabel();
});
this.brtmInstance.on("onLog", (logContent) => {
console.log(logContent);
});
},
handleUninstallEvents() {
this.brtmInstance.off('*');
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment