[*] 日常优化

This commit is contained in:
acgist
2023-06-11 08:12:29 +08:00
parent 6749339162
commit 0908996fb0
6 changed files with 390 additions and 71 deletions

View File

@@ -1032,7 +1032,7 @@ public final class Taoyao implements ITaoyao {
roomId,
key -> new Room(
roomId, this.name,
this.clientId, password,
password, this.clientId,
this, this.mainHandler,
resources.getBoolean(R.bool.preview),
resources.getBoolean(R.bool.playAudio),
@@ -1043,6 +1043,7 @@ public final class Taoyao implements ITaoyao {
resources.getBoolean(R.bool.dataProduce),
resources.getBoolean(R.bool.audioProduce),
resources.getBoolean(R.bool.videoProduce),
resources.getBoolean(R.bool.roomUseIceServer),
this.mediaManager.getMediaProperties(),
this.mediaManager.getWebrtcProperties()
)

View File

@@ -40,6 +40,8 @@
<integer name="channelCount">1</integer>
<!-- 视频关键帧频率 -->
<integer name="iFrameInterval">1</integer>
<!-- 视频房间是否使用iceServer -->
<bool name="roomUseIceServer">false</bool>
<!-- 图片存储目录 -->
<string name="imagePath">/taoyao</string>
<!-- 视频存储目录 -->