Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] 语聊房 #3293

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
f064023
[chatroom] initial
kelzr May 11, 2023
2027a87
[chatroom] initial
kelzr May 12, 2023
c3fbc89
[chatroom] initial
kelzr May 15, 2023
e4fd119
[chatroom] initial
kelzr May 15, 2023
4911067
[chatroom] initial
kelzr May 15, 2023
0b4842f
[chatroom] initial
kelzr May 16, 2023
e2cf460
[chatroom] wip
kelzr May 16, 2023
c225a53
[chatroom] wip
kelzr May 17, 2023
664d1ae
[chatroom] wip
kelzr May 17, 2023
fbcce20
[chatroom] wip
kelzr May 17, 2023
56d5884
[chatroom] wip
kelzr May 18, 2023
1e8f27f
[chatroom] wip
kelzr May 18, 2023
91104b2
[chatroom] wip
kelzr Jul 11, 2023
c97fc9f
[showroom] wip
kelzr Jul 11, 2023
08aba77
[showroom] wip
kelzr Jul 11, 2023
cbbd5b8
[chatroom] wip
kelzr Jul 11, 2023
3e5d01b
[chatroom] wip
kelzr Jul 12, 2023
2a06f09
[chatroom] wip
kelzr Jul 13, 2023
d2cfa25
[chatroom] wip
kelzr Jul 17, 2023
0ea9102
[chatroom] wip
kelzr Jul 20, 2023
47bfcc0
[chatroom] wip
kelzr Jul 20, 2023
1942471
Merge branch 'master' into release/chatroom
kelzr Jul 20, 2023
cc8d2f3
[chatroom] wip
kelzr Jul 20, 2023
c311aea
[chatroom] wip
kelzr Jul 20, 2023
43b3d0e
[chatroom] wip
kelzr Jul 27, 2023
50158a0
[chatroom] wip
kelzr Jul 31, 2023
b2358ce
[chatroom] wip
kelzr Jul 31, 2023
d4955c9
[chatroom] wip
kelzr Jul 31, 2023
db32f98
[chatroom] wip
kelzr Aug 1, 2023
1e1d7cd
[chatroom] wip
kelzr Aug 2, 2023
4225942
[chatroom] wip
kelzr Aug 2, 2023
d54fbd3
[chatroom] wip
kelzr Aug 2, 2023
f51872d
[chatroom] wip
kelzr Aug 2, 2023
55592a0
[chatroom] wip
kelzr Aug 2, 2023
4253ecf
[chatroom] wip
kelzr Aug 2, 2023
9cf05fd
Merge branch 'master' into release/chatroom
kelzr Aug 2, 2023
45d84bf
[chatroom] udpate after review
kelzr Aug 7, 2023
db14510
[chatroom] udpate after review
kelzr Aug 7, 2023
bf9588c
[chatroom] wip
kelzr Aug 8, 2023
fd88734
[chatroom] fix
kelzr Sep 15, 2023
e09d9c4
[uikit] add
kelzr Oct 8, 2023
7a8d9d1
[uikit] add
kelzr Oct 8, 2023
acdcecf
[uikit] add
kelzr Oct 9, 2023
96c16df
[uikit] add
kelzr Oct 11, 2023
ffedde7
[uikit] add
kelzr Oct 11, 2023
f7e4889
[uikit] add
kelzr Oct 12, 2023
6fb6acf
[uikit] add
kelzr Oct 12, 2023
1ece79c
[uikit] add
kelzr Oct 16, 2023
138a192
[uikit] add
kelzr Oct 17, 2023
bf55ce0
[uikit] add
kelzr Oct 18, 2023
8e9906d
[uikit] add
kelzr Oct 18, 2023
8294d3a
[uikit] add
kelzr Oct 18, 2023
fa41549
[uikit] add
kelzr Oct 18, 2023
7821806
[uikit] add
kelzr Oct 18, 2023
cbad348
[uikit] add
kelzr Oct 19, 2023
ac12f87
[uikit] add
kelzr Oct 19, 2023
c53799a
[uikit] add
kelzr Oct 19, 2023
47d3c33
[uikit] add
kelzr Oct 23, 2023
c644c89
[uikit] add
kelzr Oct 23, 2023
4ae0176
[uikit] add
kelzr Oct 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions markdown/chatroom/01-进出房间.wsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@startuml
title 用户进出语聊房的流程图
start
: 进入语聊房列表;
: 初始化信令系统;
: 登录信令系统;
if (是否需要创建房间) then (Yes)
: 创建房间;
else(No)
endif
:进入房间;
fork
:初始化 RTC 引擎;
:[RTC] 加入频道;
fork again
:[信令] 加入聊天室;
endfork
:显示聊天消息和声音;
if (是否离开房间) then (Yes)
fork
:[RTC] 退出频道;
:销毁 RTC 引擎;
fork again
:[信令] 离开聊天室;
endfork
if (角色是否为房主) then (Yes)
:销毁房间;
else (No)
:离开房间;
endif
else (No)
endif
stop
@enduml
26 changes: 26 additions & 0 deletions markdown/chatroom/02-房主邀请.wsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@startuml
title 房主邀请听众上麦的流程图
start
if (角色是否为房主) then (Yes)
:房主向听众发起上麦邀请;
:房主收到听众对邀请的响应;
if (听众同意房主的邀请) then (Yes)
:房主收到麦位已更新的通知;
else (No)
stop
endif
else(No)
:听众收到房主的上麦邀请;
if (听众是否同意房主的邀请) then (Yes)
:听众发起同意邀请的通知;
:上麦并修改麦位信息;
:[RTC] 更新当前用户角色为主播;
:[RTC] 发布本地音频流;
else (No)
:发起拒绝邀请的通知;
stop
endif
endif
:更新麦位 UI 界面;
stop
@enduml
21 changes: 21 additions & 0 deletions markdown/chatroom/03-观众申请.wsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@startuml
title 听众向房主申请上麦的流程图
start
if (角色是否为房主) then (Yes)
:房主收到听众的上麦申请;
if (房主是否同意申请) then (Yes)
:房主发送接受听众上麦申请的通知;
:房主修改麦位信息以让听众上麦;
else (No)
:房主发送拒绝听众上麦申请的通知;
stop
endif
else(No)
:听众向房主发起上麦申请;
:房主接受后,听众收到自己上麦的消息;
:[RTC] 更新当前用户角色为主播;
:[RTC] 发布本地音频流;
endif
:更新麦位 UI 界面;
stop
@enduml
9 changes: 9 additions & 0 deletions markdown/chatroom/AUIVoiceRoom/chatroom_pass_overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
声动语聊解决方案提供了同时支持含 UI 和无 UI 组件的集成方案。

无 UI 组件的语聊集成方案是 PaaS 方案。该方案通过集成声网的实时互动(RTC)、即时通讯(IM)、云服务(Service)产品,提供房间管理、麦位控制、聊天打赏、音频特效等核心功能。

相较于含 UI 组件的集成方案,无 UI 组件的语聊集成方案具有以下特点和优势:

- 灵活开发:交互逻辑完全在客户端实现,修改业务逻辑时无需依赖后端介入,更加灵活。
- 全面功能演示:含有最新的功能迭代,提供更全面的效果演示能力。
- 丰富最佳实践参考:积累了丰富的语聊集成最佳实践,为开发者提供更多可参考的代码逻辑。
Empty file.
Empty file.
Loading
Loading