This commit is contained in:
liyuhua
2024-03-23 16:28:10 +08:00
parent aeb26daad6
commit 2b5a1eb2a5
66 changed files with 2214 additions and 174 deletions

View File

@@ -33,12 +33,11 @@ class YinRoomTRTCManager: NSObject {
cloud.enableAudioVolumeEvaluation(true, with: params)
let yinParams = TRTCParams()
if AuthViewModel.authVM.appId.isEmpty{
yinParams.sdkAppId = UInt32("1400798783") ?? 0
}else{
yinParams.sdkAppId = UInt32(AuthViewModel.authVM.appId) ?? 0
}
yinParams.roomId = UInt32(curRoomId) ?? 0
yinParams.roomId = UInt32(curRoomId) ?? 0
let uid = "\(AuthManager.userUid)"
yinParams.userId = uid
let sign = self.roomData?.trtcSig ?? ""