Skip to content

Commit

Permalink
Release RongCloud CallKit SDK 2.8.20
Browse files Browse the repository at this point in the history
  • Loading branch information
RongRobot committed Oct 19, 2017
1 parent 0ce3bce commit 6b09b73
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 24 deletions.
32 changes: 17 additions & 15 deletions ios-rongcallkit/RongCallKit/Controller/RCCallBaseViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1182,23 +1182,25 @@ - (void)remoteUserDidJoin:(NSString *)userId
*/
- (void)remoteUserDidChangeMediaType:(NSString *)userId
mediaType:(RCCallMediaType)mediaType {
if (!self.callSession.isMultiCall) {
if (mediaType == RCCallMediaAudio &&
self.callSession.mediaType != RCCallMediaAudio) {
if ([self.callSession changeMediaType:RCCallMediaAudio]) {
[self.callSession
setVideoView:nil
userId:[RCIMClient sharedRCIMClient].currentUserInfo.userId];
[self.callSession setVideoView:nil userId:self.callSession.targetId];
[self resetLayout:self.callSession.isMultiCall
mediaType:RCCallMediaAudio
callStatus:self.callSession.callStatus];
dispatch_async(dispatch_get_main_queue(), ^{
if (!self.callSession.isMultiCall) {
if (mediaType == RCCallMediaAudio &&
self.callSession.mediaType != RCCallMediaAudio) {
if ([self.callSession changeMediaType:RCCallMediaAudio]) {
[self.callSession
setVideoView:nil
userId:[RCIMClient sharedRCIMClient].currentUserInfo.userId];
[self.callSession setVideoView:nil userId:self.callSession.targetId];
[self resetLayout:self.callSession.isMultiCall
mediaType:RCCallMediaAudio
callStatus:self.callSession.callStatus];
}
}
} else if (self.callSession.mediaType == mediaType &&
mediaType == RCCallMediaVideo) {
[self remoteUserDidDisableCamera:NO byUser:userId];
}
} else if (self.callSession.mediaType == mediaType &&
mediaType == RCCallMediaVideo) {
[self remoteUserDidDisableCamera:NO byUser:userId];
}
});
}

/*!
Expand Down
2 changes: 1 addition & 1 deletion ios-rongcallkit/RongCallKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.8.19</string>
<string>2.8.20</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
16 changes: 9 additions & 7 deletions ios-rongcallkit/RongCallKit/Utility/RCCallFloatingBoard.m
Original file line number Diff line number Diff line change
Expand Up @@ -458,15 +458,17 @@ - (void)remoteUserDidJoin:(NSString *)userId
*/
- (void)remoteUserDidChangeMediaType:(NSString *)userId
mediaType:(RCCallMediaType)mediaType {
if (!self.callSession.isMultiCall) {
if (mediaType == RCCallMediaAudio &&
self.callSession.mediaType != RCCallMediaAudio) {
if ([self.callSession changeMediaType:RCCallMediaAudio]) {
[self.videoView removeFromSuperview];
[self initBoard];
dispatch_async(dispatch_get_main_queue(), ^{
if (!self.callSession.isMultiCall) {
if (mediaType == RCCallMediaAudio &&
self.callSession.mediaType != RCCallMediaAudio) {
if ([self.callSession changeMediaType:RCCallMediaAudio]) {
[self.videoView removeFromSuperview];
[self initBoard];
}
}
}
}
});
}

/*!
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module AgoraRtcEngineKit {
umbrella header "AgoraRtcEngineKit.h"

export *
module * { export * }
}
Binary file modified ios-rongcallkit/framework/RongCallLib.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongCallLib.framework/RongCallLib
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMKit.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMKit.framework/RongIMKit
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@

@property(nonatomic) int userTipTime;
@property(nonatomic, strong) NSString *userTipWord;

/*!
* 评价时机
*/
Expand Down
Binary file modified ios-rongcallkit/framework/RongIMLib.framework/Info.plist
Binary file not shown.
Binary file modified ios-rongcallkit/framework/RongIMLib.framework/RongIMLib
Binary file not shown.

0 comments on commit 6b09b73

Please sign in to comment.