Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Commit

Permalink
Release SealTalk Demo version 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
RongRobot committed Oct 19, 2018
1 parent 76de6b2 commit 82d283b
Show file tree
Hide file tree
Showing 29 changed files with 54 additions and 243 deletions.
6 changes: 3 additions & 3 deletions ios-rongimdemo/RCloudMessage/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.9.6 Stable</string>
<string>2.9.7 Stable</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -42,7 +42,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>201809042030</string>
<string>201810181801</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down Expand Up @@ -138,7 +138,7 @@
<key>NSPhotoLibraryAddUsageDescription</key>
<string>访问相册</string>
<key>SealTalk Version</key>
<string>1.3.6</string>
<string>1.3.7</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
Expand Down
9 changes: 8 additions & 1 deletion ios-rongimdemo/RCloudMessage/RCDChatViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,13 @@ - (void)viewDidLoad {
[self addToolbarItems];
}

- (void)willMoveToParentViewController:(UIViewController*)parent{
[super willMoveToParentViewController:parent];
if (!parent) {
[self.realTimeLocation quitRealTimeLocation];
}
}

/*点击系统键盘的语音按钮,导致输入工具栏被遮挡*/
- (void)keyboardWillShowNotification:(NSNotification *)notification {
if(!self.chatSessionInputBarControl.inputTextView.isFirstResponder)
Expand Down Expand Up @@ -335,8 +342,8 @@ - (void)updateTitleForGroup:(NSNotification *)notification {
}

- (void)clearHistoryMSG:(NSNotification *)notification {
[self.conversationDataRepository removeAllObjects];
dispatch_async(dispatch_get_main_queue(), ^{
[self.conversationDataRepository removeAllObjects];
[self.conversationMessageCollectionView reloadData];
});
}
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions ios-rongimdemo/framework/Blink.framework/Blink
Git LFS file not shown
35 changes: 29 additions & 6 deletions ios-rongimdemo/framework/Blink.framework/Headers/BlinkEngine.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*!
@header BlinkEngine.h
@author BailingCloud
@version 2.0.2_20180814141313_dev_meeting_dev_rce_e7e1539
@version 2.0.3_20180915160615_dev_meeting_dev_seal_074007e
@Copyright © 2018年 BailingCloud. All rights reserved.
*/

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreMedia/CoreMedia.h>

#define SDKCompileInfo @"2.0.2_20180814141244_dev_meeting_dev_rce_e7e1539"
#define SDKCompileInfo @"2.0.3_20180915160541_dev_meeting_dev_seal_074007e"

//宏定义说明, 设置视频聊天参数时的Key值, 详见SetVideoParameters:方法
#define kAudioOnly @"AudioOnly"
Expand All @@ -20,6 +20,7 @@
#define kGPUFilter @"GPUFilter"



/**
*定义分辨率与帧率
*/
Expand Down Expand Up @@ -128,6 +129,21 @@ typedef NS_ENUM(NSInteger, BlinkVideoProfile)
Blink_VideoProfile_1920_1080P_2 = 72
};

/**
*视频观看模式
*/
typedef NS_ENUM(NSInteger, BlinkVideoMode)
{
/**
*高清视频模式
*/
Blink_VideoMode_Highresolution,
/**
*流畅视频模式
*/
Blink_VideoMode_Smooth
};

/**
*远端/本地视频显示类型
*/
Expand Down Expand Up @@ -621,8 +637,8 @@ __attribute__((visibility("default"))) @interface BlinkEngine : NSObject

/*!
@method
@abstract 初始化方法, serverURL: cmp.blinkcloud.cn:80 私有云可自定义. 此初始化方法不会进行探测流程
@param serverURL 导航配置服务器URL
@abstract 初始化方法
@param serverURL CMP的serverURL
*/
- (instancetype)initEngine:(NSString *)serverURL;

Expand All @@ -642,14 +658,21 @@ __attribute__((visibility("default"))) @interface BlinkEngine : NSObject
@method
@abstract 必须在调用joinChannel:前设置本地视频参数才能生效, 不设置则使用默认值
@param parameters kAudioOnly: 是否为纯音频, 默认值为NO
kVideoProfile: 本地视频分辨率, 默认值为Blink_VideoProfile_480P
kMaxBandWidth: 最大码率, 默认值为600
kVideoProfile: 本地视频分辨率, 默认值为Blink_VideoProfile_640_480P
kMaxBandWidth: 最大码率, 默认值为500
kUserType: 用户类型, 默认值为Blink_User_Normal
kCloseCamera: 是否关闭视频显示, 默认值为1,不关闭视频
kGPUFilter: 是否打开滤镜, 默认为NO,不使用滤镜
*/
- (void)setVideoParameters:(NSDictionary *)parameters;

/*!
@method
@abstract 不设置则使用默认值
@param parameters videoMode: 视频观看模式, 默认值为Blink_VideoMode_Smooth
*/
- (void)setVideoMode:(BlinkVideoMode)videoMode;

/*!
@method
@abstract joinChannel调用之后此方法, 可确定以正常用户加入后, 是否为当前房间主持人
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified ios-rongimdemo/framework/RongCallKit.framework/RongCallKit
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
- (void)setVideoProfile:(RCVideoProfile)profile swapWidthAndHeight:(BOOL)swapWidthAndHeight;

/**
设置本地视频属性,是否使用美颜
设置本地视频属性,是否使用默认美颜
@param enable YES:使用 NO:不使用(默认)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#import "RCCallUserProfile.h"
#import <Foundation/Foundation.h>
#import <RongIMLib/RongIMLib.h>
#import <CoreMedia/CoreMedia.h>

/*!
通话状态变化的监听器
Expand Down Expand Up @@ -108,6 +109,12 @@
*/
- (void)networkTxQuality:(RCCallQuality)txQuality rxQuality:(RCCallQuality)rxQuality;

/*!
当前通话本地视频数据, 用于GPU滤镜处理, 同步返回处理后的同一sampleBuffer对象, 需要本地视频数据时首先调用 RCCallClient.h 中 - (void)setEnableBeauty:(BOOL)enable方法, 该方法默认为NO.
若设置setEnableBeauty为Yes, 但未实现processVideoFrame:则使用默认美颜.
@param sampleBuffer 本地视频数据
*/
- (CMSampleBufferRef)processVideoFrame:(CMSampleBufferRef)sampleBuffer;

#pragma mark - Meeting
- (void)onWhiteBoard:(NSString *)url;
Expand Down
Loading

0 comments on commit 82d283b

Please sign in to comment.