Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
00aee5e3
authored
Mar 06, 2026
by
suolong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人通话bug
parent
c0758565
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
1 deletions
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSChatCallHelper.swift
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatHttpHelper.h
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatHttpHelper.m
Modules/FUSChatCenterModule/FUSChatCenterModule/Others/FUSChatCenterURLs.h
Modules/FUSChatCenterModule/FUSChatCenterModule/Others/FUSChatCenterURLs.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSChatCallHelper.swift
View file @
00aee5e3
This diff is collapsed.
Click to expand it.
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatHttpHelper.h
View file @
00aee5e3
...
@@ -194,4 +194,10 @@
...
@@ -194,4 +194,10 @@
+
(
void
)
fus_requestOneToOneCallConnectSuccessWith
:(
NSString
*
)
callId
+
(
void
)
fus_requestOneToOneCallConnectSuccessWith
:(
NSString
*
)
callId
success
:(
void
(
^
)(
void
))
success
success
:(
void
(
^
)(
void
))
success
failure
:(
void
(
^
)(
NSString
*
,
int
))
failure
;
failure
:(
void
(
^
)(
NSString
*
,
int
))
failure
;
/// 1对1 获取rtcdata
+
(
void
)
fus_requestOneToOneGetRTCDataWithRoomId
:(
NSString
*
)
roomId
succeed
:(
void
(
^
)(
NSDictionary
*
dataDict
))
succeed
failure
:(
void
(
^
)(
NSString
*
msg
,
int
code
))
failure
;
@end
@end
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatHttpHelper.m
View file @
00aee5e3
...
@@ -432,4 +432,30 @@
...
@@ -432,4 +432,30 @@
}];
}];
}
}
/// 1对1 获取rtcdata
+
(
void
)
fus_requestOneToOneGetRTCDataWithRoomId
:(
NSString
*
)
roomId
succeed
:(
void
(
^
)(
NSDictionary
*
dataDict
))
succeed
failure
:(
void
(
^
)(
NSString
*
msg
,
int
code
))
failure
{
if
([
NSString
isNull
:
roomId
])
{
if
(
failure
)
failure
(
nil
,
ERROR_CODE
);
return
;
}
NSDictionary
*
params
=
@{
@"toUid"
:
roomId
};
[
FUSHttpHelper
postRequestBinaryWithUrl
:
FUSChatCenterURLs
.
fus_URL_oneToOneRtcData
params
:
params
success
:^
(
NSDictionary
*
dataDict
,
int
code
)
{
if
(
succeed
)
{
succeed
(
dataDict
);
}
}
failure
:^
(
NSDictionary
*
dataDict
,
int
code
)
{
if
(
failure
)
failure
(
FAILURE_MESSAGE
,
code
);
}];
}
@end
@end
Modules/FUSChatCenterModule/FUSChatCenterModule/Others/FUSChatCenterURLs.h
View file @
00aee5e3
...
@@ -157,6 +157,8 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -157,6 +157,8 @@ NS_ASSUME_NONNULL_BEGIN
/// 1对1私房接听被叫方连接成功
/// 1对1私房接听被叫方连接成功
+
(
NSString
*
)
fus_URL_oneToOneCallConnectSuccess
;
+
(
NSString
*
)
fus_URL_oneToOneCallConnectSuccess
;
/// 1对1 获取rtcdata
+
(
NSString
*
)
fus_URL_oneToOneRtcData
;
@end
@end
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Others/FUSChatCenterURLs.m
View file @
00aee5e3
...
@@ -238,4 +238,10 @@
...
@@ -238,4 +238,10 @@
+
(
NSString
*
)
fus_URL_oneToOneCallConnectSuccess
{
+
(
NSString
*
)
fus_URL_oneToOneCallConnectSuccess
{
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
apiUrl
:
@"/onetoone/call/connect/success"
];
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
apiUrl
:
@"/onetoone/call/connect/success"
];
}
}
/// 1对1 获取rtcdata
+
(
NSString
*
)
fus_URL_oneToOneRtcData
{
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
apiUrl
:
@"/onetoone/rtcdata/get"
];
}
@end
@end
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Other/FUSLiveHelper.m
View file @
00aee5e3
...
@@ -106,7 +106,7 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
...
@@ -106,7 +106,7 @@ static NSString *const KLiveDataCenter_store_liveRTCData = @"LiveDataCenter_stor
#pragma mark - 获取rtcData
#pragma mark - 获取rtcData
-
(
void
)
fus_getRTCDataWithForceUpdate
:
(
BOOL
)
forceUpdate
-
(
void
)
fus_getRTCDataWithForceUpdate
:
(
BOOL
)
forceUpdate
{
{
[
FUSLiveHttpHelper
fus_requestliveGetRTCData
:[
FUSCacheDataShare
shareStore
].
userDetailInfo
.
ui
d
Success
:
^
(
NSDictionary
*
_Nonnull
dataDict
)
{
[
FUSLiveHttpHelper
fus_requestliveGetRTCData
:[
FUSCacheDataShare
shareStore
].
userDetailInfo
.
roomI
d
Success
:
^
(
NSDictionary
*
_Nonnull
dataDict
)
{
if
(
FUSLiveHelper
.
shareInstance
.
liveRTCData
==
nil
)
{
if
(
FUSLiveHelper
.
shareInstance
.
liveRTCData
==
nil
)
{
FUSLiveRTCData
*
data
=
[
FUSLiveRTCData
createFromArchieveWithKey
:
KLiveDataCenter_store_liveRTCData
];
FUSLiveRTCData
*
data
=
[
FUSLiveRTCData
createFromArchieveWithKey
:
KLiveDataCenter_store_liveRTCData
];
...
...
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