diff --git a/demo/KSYLiveDemo-dy-framework.xcconfig b/demo/KSYLiveDemo-dy-framework.xcconfig index f8ab128..e31eb4e 100644 --- a/demo/KSYLiveDemo-dy-framework.xcconfig +++ b/demo/KSYLiveDemo-dy-framework.xcconfig @@ -1,3 +1,4 @@ -OTHER_LDFLAGS = $(inherited) -ObjC -all_load -framework libksygpulive -framework GPUImage -framework Bugly -framework YYImage -lstdc++.6 -lz +OTHER_CFLAGS = -I../framework/ +OTHER_LDFLAGS = $(inherited) -ObjC -all_load -framework libksygpulive -framework GPUImage -framework Bugly -framework YYImage -lstdc++.6 -lz -lZipArchive -L../framework/ IPHONEOS_DEPLOYMENT_TARGET = 8.0 FRAMEWORK_SEARCH_PATHS = $(inherited) ../framework/ ../framework/dynamic diff --git a/demo/KSYLiveDemo-framework.xcconfig b/demo/KSYLiveDemo-framework.xcconfig index 7f5de3b..b52d04c 100644 --- a/demo/KSYLiveDemo-framework.xcconfig +++ b/demo/KSYLiveDemo-framework.xcconfig @@ -1,2 +1,3 @@ -OTHER_LDFLAGS = $(inherited) -ObjC -all_load -framework libksygpulive -framework GPUImage -framework Bugly -framework YYImage -lstdc++.6 -lz +OTHER_CFLAGS = -I../framework/ +OTHER_LDFLAGS = $(inherited) -ObjC -all_load -framework libksygpulive -framework GPUImage -framework Bugly -framework YYImage -lstdc++.6 -lz -lZipArchive -L../framework/ FRAMEWORK_SEARCH_PATHS = $(inherited) ../framework/ ../framework/static diff --git a/demo/KSYLiveDemo/Info.plist b/demo/KSYLiveDemo/Info.plist index cc3bc81..ffa9e73 100644 --- a/demo/KSYLiveDemo/Info.plist +++ b/demo/KSYLiveDemo/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.9.0 + 2.9.1 CFBundleSignature ???? CFBundleVersion - 2.9.0.0 + 2.9.1.0 LSRequiresIPhoneOS NSAppTransportSecurity diff --git a/demo/KSYLiveDemo/KSYDemoUI/KSYFilterView.m b/demo/KSYLiveDemo/KSYDemoUI/KSYFilterView.m index f2e5b61..9b3233f 100644 --- a/demo/KSYLiveDemo/KSYDemoUI/KSYFilterView.m +++ b/demo/KSYLiveDemo/KSYDemoUI/KSYFilterView.m @@ -9,6 +9,7 @@ #import "KSYFilterView.h" #import "KSYNameSlider.h" #import "KSYPresetCfgView.h" +#import "ZipArchive.h" @interface KSYFilterView() { @@ -16,10 +17,8 @@ @interface KSYFilterView() { NSInteger _curIdx; NSArray * _effectNames; NSInteger _curEffectIdx; - //GPUResource非必备资源名称列表 - NSArray *_effectResourceNames; //GPUResource资源的存储路径 - NSString *_downloadGPUResourcePath; + NSString *_gpuResourceDir; } @property (nonatomic) UILabel * lbPrevewFlip; @@ -37,26 +36,40 @@ @implementation KSYFilterView - (id)init{ self = [super init]; - _effectNames = [NSArray arrayWithObjects: @"0 原图", @"1 小清新", @"2 靓丽", - @"3 甜美可人", @"4 怀旧", @"5 蓝调", @"6 老照片" , - @"7 樱花", @"8 樱花(光线较暗)", @"9 红润(光线较暗)", - @"10 阳光(光线较暗)", @"11 红润", @"12 阳光", @"13 自然", nil]; - _effectResourceNames = [NSArray arrayWithObjects: - @"null", - @"1_xiaoqingxin.png", - @"2_liangli.png", - @"3_tianmeikeren.png", - @"4_huaijiu.png", - @"5_landiao.png", - @"6_laozhaop.png", - @"7_yinghua.png", - @"8_yinghua_night.png", - @"9_hongrun_night.png", - @"10_yangguang_night.png", - @"11_hongrun.png", - @"12_yangguang.png", - @"13_ziran.png",nil]; - [self creatGPUResourceFile]; + _effectNames = [NSArray arrayWithObjects: + @"0 原图关闭特效", + @"1 小清新", + @"2 靓丽", + @"3 甜美可人", + @"4 怀旧", + @"5 蓝调", + @"6 老照片", + @"7 樱花", + @"8 樱花(适用于光线较暗的环境)", + @"9 红润(适用于光线较暗的环境)", + @"10 阳光(适用于光线较暗的环境)", + @"11 红润", + @"12 阳光", + @"13 自然", + @"14 恋人", + @"15 高雅", + @"16 红粉佳人 ", + @"17 优格 ", + @"18 流年 ", + @"19 柔光 ", + @"20 经典 ", + @"21 初夏 ", + @"22 黑白 ", + @"23 纽约 ", + @"24 上野 ", + @"25 碧波 ", + @"26 日系 ", + @"27 清凉 ", + @"28 移轴 ", + @"29 梦幻 ", + @"30 恬淡 ", + @"31 候鸟 ", + @"32 淡雅 ", nil]; [self downloadGPUResource]; _curEffectIdx = 1; // 修改美颜参数 @@ -211,7 +224,17 @@ - (void) selectFilter:(NSInteger)idx { _filterParam1.hidden = NO; _filterParam2.hidden = NO; _filterParam3.hidden = NO; - UIImage *rubbyMat = [self getGPUResourceImageAt:_effectResourceNames[3]]; + NSString *imgPath=[_gpuResourceDir stringByAppendingString:@"3_tianmeikeren.png"]; + UIImage *rubbyMat=[[UIImage alloc]initWithContentsOfFile:imgPath]; + if (rubbyMat == nil) { + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"提示" + message:@"特效资源正在下载,请稍后重试" + delegate:nil + cancelButtonTitle:nil + otherButtonTitles:@"确定", nil]; + alert.alertViewStyle = UIAlertViewStyleDefault; + [alert show]; + } KSYBeautifyFaceFilter *bf = [[KSYBeautifyFaceFilter alloc] initWithRubbyMaterial:rubbyMat]; bf.grindRatio = _filterParam1.normalValue; bf.whitenRatio = _filterParam2.normalValue; @@ -233,24 +256,18 @@ - (void) selectFilter:(NSInteger)idx { bf.whitenRatio = _filterParam2.normalValue; bf.ruddyRatio = 0.5; - UIImage *downloadImage = [self getGPUResourceImageAt:_effectResourceNames[_curEffectIdx]]; - if(downloadImage == nil) { - _curFilter = bf; - } - else { - KSYBuildInSpecialEffects * sf = [[KSYBuildInSpecialEffects alloc] initWithUIImage:downloadImage]; - sf.intensity = _filterParam3.normalValue; - [bf addTarget:sf]; - - // 用滤镜组 将 滤镜 串联成整体 - GPUImageFilterGroup * fg = [[GPUImageFilterGroup alloc] init]; - [fg addFilter:bf]; - [fg addFilter:sf]; - - [fg setInitialFilters:[NSArray arrayWithObject:bf]]; - [fg setTerminalFilter:sf]; - _curFilter = fg; - } + KSYBuildInSpecialEffects * sf = [[KSYBuildInSpecialEffects alloc] initWithIdx:_curEffectIdx]; + sf.intensity = _filterParam3.normalValue; + [bf addTarget:sf]; + + // 用滤镜组 将 滤镜 串联成整体 + GPUImageFilterGroup * fg = [[GPUImageFilterGroup alloc] init]; + [fg addFilter:bf]; + [fg addFilter:sf]; + + [fg setInitialFilters:[NSArray arrayWithObject:bf]]; + [fg setTerminalFilter:sf]; + _curFilter = fg; } else { _curFilter = nil; @@ -326,74 +343,40 @@ - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component { _curEffectIdx = row; - if ( [_curFilter isMemberOfClass:[GPUImageFilterGroup class]]){ - GPUImageFilterGroup * fg = (GPUImageFilterGroup *)_curFilter; - KSYBuildInSpecialEffects * sf = (KSYBuildInSpecialEffects *)[fg filterAtIndex:1]; - UIImage *downloadImage = [self getGPUResourceImageAt:_effectResourceNames[_curEffectIdx]]; - [sf setSpecialEffectsUIImage:downloadImage]; - } -} - --(UIImage *)getGPUResourceImageAt:(NSString *)effectName{ - if ([effectName isEqualToString:@"null"]){ - return nil; - } - NSString * path = [[NSBundle mainBundle] pathForResource:@"KSYGPUResource" ofType:@"bundle"]; - path = [path stringByAppendingPathComponent:effectName]; - if ([UIImage imageWithContentsOfFile:path]) { - return [UIImage imageWithContentsOfFile:path]; + if (! [_curFilter isMemberOfClass:[GPUImageFilterGroup class]]){ + return; } - UIImage *dwnloadImage = [self getDocumentImageName:effectName]; - if (!dwnloadImage) { - //当前选中的资源还没有下载好 - UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"提示" message:@"特效资源正在下载,请稍后重试" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"确定", nil]; - alert.alertViewStyle = UIAlertViewStyleDefault; - [alert show]; - return nil; + GPUImageFilterGroup * fg = (GPUImageFilterGroup *)_curFilter; + if (![fg.terminalFilter isMemberOfClass:[KSYBuildInSpecialEffects class]]) { + return; } - return dwnloadImage; -} - --(UIImage *)getDocumentImageName:(NSString *)name{ - // 读取沙盒路径图片 - NSString *pathDocuments = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; - NSString *downloadGPUResourcePath = [NSString stringWithFormat:@"%@/GPUResource", pathDocuments]; - NSString *aPath3=[downloadGPUResourcePath stringByAppendingFormat:@"/%@",name]; - // 拿到沙盒路径图片 - UIImage *imgFromUrl3=[[UIImage alloc]initWithContentsOfFile:aPath3]; - return imgFromUrl3; + KSYBuildInSpecialEffects * sf = (KSYBuildInSpecialEffects *)fg.terminalFilter; + [sf setSpecialEffectsIdx:_curEffectIdx]; } --(void)creatGPUResourceFile{ +-(void)downloadGPUResource{ // 下载资源文件 NSFileManager *fileManager = [[NSFileManager alloc] init]; - NSString *pathDocuments = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; - _downloadGPUResourcePath = [NSString stringWithFormat:@"%@/GPUResource", pathDocuments]; + _gpuResourceDir=[NSHomeDirectory() stringByAppendingString:@"/Documents/GPUResource/"]; // 判断文件夹是否存在,如果不存在,则创建 - if (![[NSFileManager defaultManager] fileExistsAtPath:_downloadGPUResourcePath]) { - [fileManager createDirectoryAtPath:_downloadGPUResourcePath withIntermediateDirectories:YES attributes:nil error:nil]; + if (![[NSFileManager defaultManager] fileExistsAtPath:_gpuResourceDir]) { + [fileManager createDirectoryAtPath:_gpuResourceDir + withIntermediateDirectories:YES + attributes:nil + error:nil]; } -} - --(void)downloadGPUResource{ - //下载没有下载好的图片 - NSString *strPre = @"https://ks3-cn-beijing.ksyun.com/ksy.vcloud.sdk/Ios/KSYLive_iOS_Resource/"; - //当前图片不存在,需要下载 + NSString *zipPath = [_gpuResourceDir stringByAppendingString:@"KSYGPUResource.zip"]; + if ([[NSFileManager defaultManager] fileExistsAtPath:zipPath]) { + return; // already downloaded + } + NSString *zipUrl = @"https://ks3-cn-beijing.ksyun.com/ksy.vcloud.sdk/Ios/KSYLive_iOS_Resource/KSYGPUResource.zip"; dispatch_async(dispatch_get_global_queue(0, 0), ^{ - for(int i = 1; i < _effectResourceNames.count - 1; i++){ - NSString *GPUResourceFilePath = [_downloadGPUResourcePath stringByAppendingFormat:@"/%@",_effectResourceNames[i]]; - UIImage *savedImage = [[UIImage alloc] initWithContentsOfFile:GPUResourceFilePath]; - if(!savedImage){ - //当前图片不存在,需要下载 - NSString *strUrl = [strPre stringByAppendingFormat:@"%@",_effectResourceNames[i]]; - NSURL *url =[NSURL URLWithString:strUrl]; - NSData *data =[NSData dataWithContentsOfURL:url]; - UIImage *image = [UIImage imageWithData:data]; - //设置一个图片的存储路径 - NSString *imagePath = [_downloadGPUResourcePath stringByAppendingFormat:@"/%@",_effectResourceNames[i]]; - //把图片直接保存到指定的路径 - [UIImagePNGRepresentation(image) writeToFile:imagePath atomically:YES]; - } - } + NSURL *url =[NSURL URLWithString:zipUrl]; + NSData *data =[NSData dataWithContentsOfURL:url]; + [data writeToFile:zipPath atomically:YES]; + ZipArchive *zipArchive = [[ZipArchive alloc] init]; + [zipArchive UnzipOpenFile:zipPath ]; + [zipArchive UnzipFileTo:_gpuResourceDir overWrite:YES]; + [zipArchive UnzipCloseFile]; }); } diff --git a/demo/KSYLiveDemo/KSYDemoUI/KSYStreamerVC+Rotation.m b/demo/KSYLiveDemo/KSYDemoUI/KSYStreamerVC+Rotation.m index 0a0731d..c7dc1aa 100644 --- a/demo/KSYLiveDemo/KSYDemoUI/KSYStreamerVC+Rotation.m +++ b/demo/KSYLiveDemo/KSYDemoUI/KSYStreamerVC+Rotation.m @@ -16,9 +16,10 @@ - (void) onViewRotate { // 重写父类的方法, 参考父类 KSYUIView.m 中 if (self.kit == nil || !self.ksyFilterView.swUiRotate.on) { return; } + UIInterfaceOrientation orie = [[UIApplication sharedApplication] statusBarOrientation]; + [self.kit rotatePreviewTo:orie]; if (self.ksyFilterView.swStrRotate.on) { // 1. 旋转推流方向 - UIInterfaceOrientation orie = [[UIApplication sharedApplication] statusBarOrientation]; [self.kit rotateStreamTo:orie]; // 2. 旋转水印方向,并调整大小和位置(保持水印大小和位置不变) diff --git a/demo/KSYLiveDemo/KSYPlayerDemo/KSYPlayerVC.m b/demo/KSYLiveDemo/KSYPlayerDemo/KSYPlayerVC.m index 64c1a06..5dc41d7 100644 --- a/demo/KSYLiveDemo/KSYPlayerDemo/KSYPlayerVC.m +++ b/demo/KSYLiveDemo/KSYPlayerDemo/KSYPlayerVC.m @@ -712,7 +712,7 @@ - (void)printfMeta{ for(NSDictionary *stream in streams) { NSString *streamType = [stream objectForKey:kKSYPLYStreamType]; NSString *codecName = [stream objectForKey:kKSYPLYCodecName]; - NSInteger streamIndex = [[stream objectForKey:kKSYPLYStreamIndex] integerValue]; + long streamIndex = [[stream objectForKey:kKSYPLYStreamIndex] integerValue]; if([streamType isEqualToString:@"video"]) { NSInteger width = [[stream objectForKey:kKSYPLYVideoWidth] integerValue]; NSInteger height = [[stream objectForKey:kKSYPLYVideoHeight] integerValue]; diff --git a/demo/Podfile b/demo/Podfile index dfdd94f..414b75d 100644 --- a/demo/Podfile +++ b/demo/Podfile @@ -7,7 +7,8 @@ target 'KSYLiveDemo' do # YYImage 仅demo中用于导入gif和apng的格式的图片用到了 # 不需要支持这些格式的话,不需要添加YYImage的依赖 pod 'YYImage' - + # ZipArchive 仅demo中用于解压资源文件,不是必须依赖 + pod 'ZipArchive', '~> 1.4' pod 'GPUImage' pod 'libksygpulive/KSYGPUResource', :path => '../' diff --git a/doc/docset-installed.txt b/doc/docset-installed.txt index d49952b..0659e2f 100644 --- a/doc/docset-installed.txt +++ b/doc/docset-installed.txt @@ -1,4 +1,4 @@ Documentation set was installed to Xcode! Path: /Users/ksvc/Library/Developer/Shared/Documentation/DocSets/com.ksyun.KSYLive_iOS.docset -Time: 2017-10-20 08:49:57 +0000 \ No newline at end of file +Time: 2017-10-27 12:03:08 +0000 \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYBuildInSpecialEffects.html b/doc/docset/Contents/Resources/Documents/Classes/KSYBuildInSpecialEffects.html index 478e217..fb90746 100644 --- a/doc/docset/Contents/Resources/Documents/Classes/KSYBuildInSpecialEffects.html +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYBuildInSpecialEffects.html @@ -54,6 +54,14 @@

+ + + + + + + + @@ -62,6 +70,8 @@

+ + @@ -85,7 +95,7 @@

KSYBuildInSpecialEffects Class Reference

- + @@ -100,21 +110,7 @@

KSYBuildInSpecialEffects Class Reference

Overview

KSY 特效滤镜

-

内置滤镜需要资源文件支持(KSYResource.bundle) -目前内置了如下6中特效: -1 小清新 -2 靓丽 -3 甜美可人 -4 怀旧 -5 蓝调 -6 老照片 -7 樱花 -8 樱花(光线较暗) -9 红润(光线较暗) -10 阳光(光线较暗) -11 红润 -12 阳光 -13 自然

+

内置滤镜需要资源文件支持(参考KSYResource.bundle中的png)

@@ -130,6 +126,100 @@

Overview

+ +

– initWithType: +

+ +
+
+ +
+ + +
+

初始化为指定类型的特效滤镜

+
+ + + +
- (id)initWithType:(KSYGPUEffectType)type
+ + + +
+

Parameters

+
Inherits fromKSYSpecialEffects : GPUImageFilterGroupGPUImageFilterGroup
Declared in KSYBuildInSpecialEffects.h
+ + + + + + +
type

效果类型

+
+ + + + + + + + + + + + + +
+

Declared In

+

KSYBuildInSpecialEffects.h

+
+ + + + +
+ +

  effectType +

+ +
+
+ +
+ + +
+

当前特效的类型

+
+ + + +
@property KSYGPUEffectType effectType
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYBuildInSpecialEffects.h

+
+ + +
+
+

– initWithIdx:

@@ -141,7 +231,7 @@

– i
-

初始化并指定 1~13 的index来创建对应效果

+

初始化为指定类型的特效滤镜

@@ -156,7 +246,8 @@

Parameters

idx -

效果的索引 (非法值无效)

+

效果的索引 (非法值无效) +@warning

@@ -194,7 +285,7 @@

&ndas
-

指定 1~6 的index来创建对应效果

+

更新为指定类型的特效滤镜

@@ -227,6 +318,47 @@

Parameters

+
+

Declared In

+

KSYBuildInSpecialEffects.h

+
+ + +

+ +
+ +

  intensity +

+ +
+
+ +
+ + +
+

特效参数 (仅前15个滤镜有效)

+
+ + + +
@property (readwrite, nonatomic) CGFloat intensity
+ + + + + + + + + + + + + + +

Declared In

KSYBuildInSpecialEffects.h

diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYGPUPicture.html b/doc/docset/Contents/Resources/Documents/Classes/KSYGPUPicture.html new file mode 100644 index 0000000..3ed6a6d --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYGPUPicture.html @@ -0,0 +1,167 @@ + + + + + + KSYGPUPicture Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYGPUPicture Class Reference

+ + +
+ + + + + + + +
Inherits fromGPUImagePicture
Declared inKSYGPUPicture.h
+ + + + +
+ +

Overview

+

图片读入类

+ +
    +
  1. 继承自GPUImagePicture
  2. +
  3. 增加通过指定图片名称载入图片的功能
  4. +
  5. 图片搜索顺序如下 mainBundle -> mainBundle中的 KSYGPUResource.bundle -> Documents/GPUResource
  6. +
+ + +

顺序在以上路径中查找是否有指定名称的图片

+
+ + + + + +
+ + + + + + +
+
+ +

– initWithImageName: +

+ +
+
+ +
+ + +
- (id)initWithImageName:(NSString *)name
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYGPUTwoInputFiter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYGPUTwoInputFiter.html new file mode 100644 index 0000000..e2da4e3 --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYGPUTwoInputFiter.html @@ -0,0 +1,261 @@ + + + + + + KSYGPUTwoInputFiter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYGPUTwoInputFiter Class Reference

+ + +
+ + + + + + + +
Inherits fromGPUImageTwoInputFilter
Declared inKSYGPUTwoInputFiter.h
+ + + + +
+ +

Overview

+

双输入滤镜

+ +
    +
  1. 继承自GPUImageTwoInputFilter
  2. +
  3. 添加了重新载入shader的接口
  4. +
+ +
+ + + + + +
+ + + + + + +
+
+ +

– reload: +

+ +
+
+ +
+ + +
+

重新载入加密的shader串

+
+ + + +
- (void)reload:(NSString *)fragmentShaderString
+ + + +
+

Parameters

+ + + + + + + +
fragmentShaderString

加密的片原shader

+
+ + + + + + + + + + + + + +
+

Declared In

+

KSYGPUTwoInputFiter.h

+
+ + +
+
+
+ +

– reloadVS:andFS: +

+ +
+
+ +
+ + +
+

重新载入加密的shader串

+
+ + + +
- (void)reloadVS:(NSString *)vertexShaderString andFS:(NSString *)fragmentShaderString
+ + + +
+

Parameters

+ + + + + + + + + + + + +
vertexShaderString

顶点shader(未加密)

fragmentShaderString

片原shader(加密的)

+
+ + + + + + + + + + + + + +
+

Declared In

+

KSYGPUTwoInputFiter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYSpecialEffects.html b/doc/docset/Contents/Resources/Documents/Classes/KSYSpecialEffects.html index 5b4618b..b0df0d7 100644 --- a/doc/docset/Contents/Resources/Documents/Classes/KSYSpecialEffects.html +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYSpecialEffects.html @@ -72,6 +72,8 @@

+ + @@ -218,6 +220,64 @@

Return Value

+
+

Declared In

+

KSYSpecialEffects.h

+
+ + +

+
+
+ +

– initWithImageName: +

+ +
+
+ +
+ + +
+

初始化并指定特效素材

+
+ + + +
- (id)initWithImageName:(NSString *)name
+ + + +
+

Parameters

+ + + + + + + +
name

特效素材的文件名

+
+ + + +
+

Return Value

+

构造的滤镜

+
+ + + + + + + + + + +

Declared In

KSYSpecialEffects.h

diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionBlurFilter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionBlurFilter.html new file mode 100644 index 0000000..55746ea --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionBlurFilter.html @@ -0,0 +1,280 @@ + + + + + + KSYTransitionBlurFilter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionBlurFilter Class Reference

+ + +
+ + + + + + + + + + +
Inherits fromKSYGPUFilter : GPUImageFilter
Conforms toKSYTransition
Declared inKSYTransitionBlurFilter.h
+ + + + +
+ +

Overview

+

KSYTransitionBlurFilter 模糊的转场效果

+ +
    +
  • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
  • +
  • 前模糊: 作用在前一段的结尾画面慢慢变模糊后, 切换为下一段视频
  • +
  • 后模糊: 作用在后一段的开头画面从模糊变清晰
  • +
  • 本滤镜只处理一段视频的输入
  • +
+ +
+ + + + + +
+ + + + + + +
+
+ +

  bToBlur +

+ +
+
+ +
+ + +
+

YES: 清晰变模糊 NO: 模糊变清晰 (默认YES)

+
+ + + +
@property (nonatomic, readwrite) BOOL bToBlur
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionBlurFilter.h

+
+ + +
+
+
+ +

  duration +

+ +
+
+ +
+ + +
+

转场重叠的帧数

+
+ + + +
@property (nonatomic, readwrite) int duration
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionBlurFilter.h

+
+ + +
+
+
+ +

  frameIdx +

+ +
+
+ +
+ + +
+

转场已经处理的帧数

+
+ + + +
@property (nonatomic, readwrite) int frameIdx
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionBlurFilter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFadesInOutFilter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFadesInOutFilter.html new file mode 100644 index 0000000..de655dd --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFadesInOutFilter.html @@ -0,0 +1,278 @@ + + + + + + KSYTransitionFadesInOutFilter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionFadesInOutFilter Class Reference

+ + +
+ + + + + + + + + + +
Inherits fromKSYGPUTwoInputFiter : GPUImageTwoInputFilter
Conforms toKSYTransition
Declared inKSYTransitionFadesInOutFilter.h
+ + + + +
+ +

Overview

+

KSYTransitionFadesInOutFilter 渐入淡出的转场效果

+ +
    +
  • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
  • +
  • 渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰
  • +
+ +
+ + + + + +
+ + + + + + +
+
+ +

  masterLayer +

+ +
+
+ +
+ + +
+

视频所在的图层

+
+ + + +
@property (nonatomic, readwrite) NSInteger masterLayer
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFadesInOutFilter.h

+
+ + +
+
+
+ +

  duration +

+ +
+
+ +
+ + +
+

转场重叠的帧数

+
+ + + +
@property (nonatomic, readwrite) int duration
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFadesInOutFilter.h

+
+ + +
+
+
+ +

  frameIdx +

+ +
+
+ +
+ + +
+

转场已经处理的帧数

+
+ + + +
@property (nonatomic, readwrite) int frameIdx
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFadesInOutFilter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFilter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFilter.html new file mode 100644 index 0000000..765a076 --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFilter.html @@ -0,0 +1,380 @@ + + + + + + KSYTransitionFilter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionFilter Class Reference

+ + +
+ + + + + + + +
Inherits fromGPUImageFilterGroup
Declared inKSYTransitionFilter.h
+ + + + +
+ +

Overview

+

KSYTransitionFilter 转场效果滤镜 +转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 +渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰 +闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频 +…

+
+ + + + + +
+ + + + + + +
+
+ +

– initWithType:andOverlay: +

+ +
+
+ +
+ + +
+

初始化并指定KSYTransitionType类型来创建对应转场特效

+
+ + + +
- (instancetype)initWithType:(KSYTransitionType)type andOverlay:(KSYOverlapType)overlap
+ + + +
+

Parameters

+ + + + + + + + + + + + +
type

效果类型

overlap

重叠方式

+
+ + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + +
+
+
+ +

  transitionType +

+ +
+
+ +
+ + +
+

当前转场的类型

+
+ + + +
@property (atomic, readonly) KSYTransitionType transitionType
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + +
+
+
+ +

  overlapType +

+ +
+
+ +
+ + +
+

当前转场画面重叠的类型

+
+ + + +
@property (atomic, readonly) KSYOverlapType overlapType
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + +
+
+
+ +

  duration +

+ +
+
+ +
+ + +
+

转场重叠的帧数 (默认:30)

+
+ + + +
@property (nonatomic, readwrite) int duration
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + +
+
+
+ +

  frameIdx +

+ +
+
+ +
+ + +
+

转场已经处理的帧数

+
+ + + +
@property (nonatomic, readwrite) int frameIdx
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFlashFilter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFlashFilter.html new file mode 100644 index 0000000..41e9e7e --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionFlashFilter.html @@ -0,0 +1,239 @@ + + + + + + KSYTransitionFlashFilter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionFlashFilter Class Reference

+ + +
+ + + + + + + + + + +
Inherits fromKSYGPUFilter : GPUImageFilter
Conforms toKSYTransition
Declared inKSYTransitionFlashFilter.h
+ + + + +
+ +

Overview

+

KSYTransitionFlashFilter 闪黑/闪白的转场效果

+ +
    +
  • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
  • +
  • 闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频
  • +
  • 本滤镜只处理一段视频的输入
  • +
  • 闪的颜色通过 以下下方法设置, 默认为黑色
  • +
  • [f setBackgroundColorRed:1.0 green:1.0 blue:1.0 alpha:0.0]; // 白色
  • +
  • [f setBackgroundColorRed:0.0 green:0.0 blue:0.0 alpha:0.0]; // 黑色
  • +
+ +
+ + + + + +
+ + + + + + +
+
+ +

  duration +

+ +
+
+ +
+ + +
+

转场重叠的帧数

+
+ + + +
@property (nonatomic, readwrite) int duration
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFlashFilter.h

+
+ + +
+
+
+ +

  frameIdx +

+ +
+
+ +
+ + +
+

转场已经处理的帧数

+
+ + + +
@property (nonatomic, readwrite) int frameIdx
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionFlashFilter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionPushFilter.html b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionPushFilter.html new file mode 100644 index 0000000..f70f532 --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYTransitionPushFilter.html @@ -0,0 +1,321 @@ + + + + + + KSYTransitionPushFilter Class Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionPushFilter Class Reference

+ + +
+ + + + + + + + + + +
Inherits fromKSYGPUTwoInputFiter : GPUImageTwoInputFilter
Conforms toKSYTransition
Declared inKSYTransitionPushFilter.h
+ + + + +
+ +

Overview

+

KSYTransitionPushFilter 推出的转场效果

+ +
    +
  • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
  • +
  • 推出: 前一段的画面慢慢向屏幕的一边推,面积变小; 后一段的视频慢慢跟随占据屏幕
  • +
+ +
+ + + + + +
+ + + + + + +
+
+ +

  masterLayer +

+ +
+
+ +
+ + +
+

视频所在的图层

+
+ + + +
@property (nonatomic, readwrite) NSInteger masterLayer
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionPushFilter.h

+
+ + +
+
+
+ +

  duration +

+ +
+
+ +
+ + +
+

转场重叠的帧数

+
+ + + +
@property (nonatomic, readwrite) int duration
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionPushFilter.h

+
+ + +
+
+
+ +

  frameIdx +

+ +
+
+ +
+ + +
+

转场已经处理的帧数

+
+ + + +
@property (nonatomic, readwrite) int frameIdx
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionPushFilter.h

+
+ + +
+
+
+ +

  direction +

+ +
+
+ +
+ + +
+

推动方向 默认向上

+
+ + + +
@property (nonatomic, readwrite) KSYTPushDirection direction
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYTransitionPushFilter.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Constants/KSYGPUEffectType.html b/doc/docset/Contents/Resources/Documents/Constants/KSYGPUEffectType.html new file mode 100644 index 0000000..1a4c67b --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Constants/KSYGPUEffectType.html @@ -0,0 +1,760 @@ + + + + + + KSYGPUEffectType Constants Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYGPUEffectType Constants Reference

+ + +
+ + + + +
Declared inKSYBuildInSpecialEffects.h
+ + + + + + + +

KSYGPUEffectType

+ + + + + +
+

Constants

+
+ +
KSYGPUEffectType_None
+
+ + +

0 原图关闭特效

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Freshy
+
+ + +

1 小清新

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Beauty
+
+ + +

2 靓丽

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sweety
+
+ + +

3 甜美可人

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sepia
+
+ + +

4 怀旧

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Blue
+
+ + +

5 蓝调

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Nostalgia
+
+ + +

6 老照片

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sakura
+
+ + +

7 樱花

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sakura_night
+
+ + +

8 樱花(适用于光线较暗的环境)

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Ruddy_night
+
+ + +

9 红润(适用于光线较暗的环境)

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sunshine_night
+
+ + +

10 阳光(适用于光线较暗的环境)

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Ruddy
+
+ + +

11 红润

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sushine
+
+ + +

12 阳光

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Nature
+
+ + +

13 自然

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Amatorka
+
+ + +

14 恋人

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Elegance
+
+ + +

15 高雅

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_1977
+
+ + +

16 红粉佳人

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Amaro
+
+ + +

17 优格

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Brannan
+
+ + +

18 流年

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Early_bird
+
+ + +

19 柔光

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Hefe
+
+ + +

20 经典

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Hudson
+
+ + +

21 初夏

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Ink
+
+ + +

22 黑白

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Lomo
+
+ + +

23 纽约

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Lord_kelvin
+
+ + +

24 上野

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Nashville
+
+ + +

25 碧波

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Rise
+
+ + +

26 日系

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sierra
+
+ + +

27 清凉

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Sutro
+
+ + +

28 移轴

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Toaster
+
+ + +

29 梦幻

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Valencia
+
+ + +

30 恬淡

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Walden
+
+ + +

31 候鸟

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
KSYGPUEffectType_Xproll
+
+ + +

32 淡雅

+ + + + + + +

+ Declared In KSYBuildInSpecialEffects.h. +

+ +
+ +
+
+ + + + + + + + +
+

Declared In

+

KSYBuildInSpecialEffects.h

+
+ + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Constants/KSYOverlapType.html b/doc/docset/Contents/Resources/Documents/Constants/KSYOverlapType.html new file mode 100644 index 0000000..2d54860 --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Constants/KSYOverlapType.html @@ -0,0 +1,209 @@ + + + + + + KSYOverlapType Constants Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYOverlapType Constants Reference

+ + +
+ + + + +
Declared inKSYTransitionFilter.h
+ + + + + + + +

KSYOverlapType

+ + + +
+ + +

Definition

+ typedef NS_ENUM(NSUInteger, KSYOverlapType ) {
+ +    KSYOverlapType_BothVideo = 0,
+ +    KSYOverlapType_LastFrameVideo = 1,
+ +    KSYOverlapType_VideoFirstFrame = 2,
+ +    KSYOverlapType_VideoOnly = 3,
+ + };
+ +
+ +
+

Constants

+
+ +
KSYOverlapType_BothVideo
+
+ + +

前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYOverlapType_LastFrameVideo
+
+ + +

第一段的最后一帧和第二段的视频的前n帧重叠

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYOverlapType_VideoFirstFrame
+
+ + +

第一段的最后n帧 和 第二段的第一帧重叠

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYOverlapType_VideoOnly
+
+ + +

只有前一段的最后n帧

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
+
+ + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Constants/KSYTPushDirection.html b/doc/docset/Contents/Resources/Documents/Constants/KSYTPushDirection.html new file mode 100644 index 0000000..f7cb3c2 --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Constants/KSYTPushDirection.html @@ -0,0 +1,209 @@ + + + + + + KSYTPushDirection Constants Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTPushDirection Constants Reference

+ + +
+ + + + +
Declared inKSYTransitionPushFilter.h
+ + + + + + + +

KSYTPushDirection

+ + + +
+ + +

Definition

+ typedef NS_ENUM(NSUInteger, KSYTPushDirection ) {
+ +    KSYTPushDirection_Up = 0,
+ +    KSYTPushDirection_Down = 1,
+ +    KSYTPushDirection_Left = 2,
+ +    KSYTPushDirection_Right = 3,
+ + };
+ +
+ +
+

Constants

+
+ +
KSYTPushDirection_Up
+
+ + +

前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠

+ + + + + + +

+ Declared In KSYTransitionPushFilter.h. +

+ +
+ +
KSYTPushDirection_Down
+
+ + +

第一段的最后一帧和第二段的视频的前n帧重叠

+ + + + + + +

+ Declared In KSYTransitionPushFilter.h. +

+ +
+ +
KSYTPushDirection_Left
+
+ + +

第一段的最后n帧 和 第二段的第一帧重叠

+ + + + + + +

+ Declared In KSYTransitionPushFilter.h. +

+ +
+ +
KSYTPushDirection_Right
+
+ + +

只有前一段的最后n帧

+ + + + + + +

+ Declared In KSYTransitionPushFilter.h. +

+ +
+ +
+
+ + + + + + + + +
+

Declared In

+

KSYTransitionPushFilter.h

+
+ + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Constants/KSYTransitionType.html b/doc/docset/Contents/Resources/Documents/Constants/KSYTransitionType.html new file mode 100644 index 0000000..6083d3f --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Constants/KSYTransitionType.html @@ -0,0 +1,323 @@ + + + + + + KSYTransitionType Constants Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransitionType Constants Reference

+ + +
+ + + + +
Declared inKSYTransitionFilter.h
+ + + + + + + +

KSYTransitionType

+ + + +
+ + +

Definition

+ typedef NS_ENUM(NSUInteger, KSYTransitionType ) {
+ +    KSYTransitionTypeNone = 0,
+ +    KSYTransitionTypeFadesInOut,
+ +    KSYTransitionTypeFlashBlack,
+ +    KSYTransitionTypeFlashWhite,
+ +    KSYTransitionTypeBlurOut,
+ +    KSYTransitionTypeBlurIn,
+ +    KSYTransitionTypePushUp,
+ +    KSYTransitionTypePushDown,
+ +    KSYTransitionTypePushLeft,
+ +    KSYTransitionTypePushRight,
+ + };
+ +
+ +
+

Constants

+
+ +
KSYTransitionTypeNone
+
+ + +

关闭转场

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypeFadesInOut
+
+ + +

渐入淡出

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypeFlashBlack
+
+ + +

闪黑

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypeFlashWhite
+
+ + +

闪白

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypeBlurOut
+
+ + +

清晰变模糊

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypeBlurIn
+
+ + +

模糊变清晰

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypePushUp
+
+ + +

上推

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypePushDown
+
+ + +

下推

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypePushLeft
+
+ + +

左推

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
KSYTransitionTypePushRight
+
+ + +

右推

+ + + + + + +

+ Declared In KSYTransitionFilter.h. +

+ +
+ +
+
+ + + + + + + + +
+

Declared In

+

KSYTransitionFilter.h

+
+ + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/Protocols/KSYTransition.html b/doc/docset/Contents/Resources/Documents/Protocols/KSYTransition.html new file mode 100644 index 0000000..0e2de7a --- /dev/null +++ b/doc/docset/Contents/Resources/Documents/Protocols/KSYTransition.html @@ -0,0 +1,158 @@ + + + + + + KSYTransition Protocol Reference + + + + + + +
+
+ +

+ KSYLive_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYTransition Protocol Reference

+ + +
+ + + + + + + +
Conforms toNSObject
Declared inKSYTransitionFilter.h
+ + + + +
+ +

Overview

+

Protocol for setting duration for each transition filter

+
+ + + + + +
+ + + + + + +
+
+ +

– setDuration: +required method

+ +
+
+ +
+ + +
- (void)setDuration:(int)dur
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + diff --git a/doc/docset/Contents/Resources/Documents/hierarchy.html b/doc/docset/Contents/Resources/Documents/hierarchy.html index 419fb97..7a7d0fb 100644 --- a/doc/docset/Contents/Resources/Documents/hierarchy.html +++ b/doc/docset/Contents/Resources/Documents/hierarchy.html @@ -62,6 +62,10 @@

Class Hierarchy

  • KSYShakeFilter
  • +
  • KSYTransitionBlurFilter
  • + +
  • KSYTransitionFlashFilter
  • + @@ -79,15 +83,13 @@

    Class Hierarchy

  • KSYBeautifyProFilter
  • -
  • KSYMvFilter
  • +
  • KSYBuildInSpecialEffects
  • -
  • KSYSpecialEffects - -
  • +
  • KSYTransitionFilter
  • @@ -105,6 +107,30 @@

    Class Hierarchy

  • KSYGPUViewCapture
  • + + + +
  • GPUImagePicture + +
  • + +
  • GPUImageTwoInputFilter +
  • @@ -221,6 +247,8 @@

    Protocol References

  • KSYMediaPlayback
  • +
  • KSYTransition
  • + @@ -243,6 +271,8 @@

    Constant References

  • KSYDevAuthStatus
  • +
  • KSYGPUEffectType
  • +
  • KSYLiveScene
  • KSYMPErrorCode
  • @@ -255,6 +285,8 @@

    Constant References

  • KSYNetworkStatus
  • +
  • KSYOverlapType
  • +
  • KSYPlayRecordScheme
  • KSYRecScene
  • @@ -269,10 +301,14 @@

    Constant References

  • KSYStreamState
  • +
  • KSYTPushDirection
  • +
  • KSYTranscodeErrorCode
  • KSYTranscodeState
  • +
  • KSYTransitionType
  • +
  • KSYVideoCodec
  • KSYVideoDimension
  • diff --git a/doc/docset/Contents/Resources/Documents/index.html b/doc/docset/Contents/Resources/Documents/index.html index 7148b33..1f342ff 100644 --- a/doc/docset/Contents/Resources/Documents/index.html +++ b/doc/docset/Contents/Resources/Documents/index.html @@ -104,10 +104,14 @@

    Class References

  • KSYGPUPicOutput
  • +
  • KSYGPUPicture
  • +
  • KSYGPUPipStreamerKit
  • KSYGPUStreamerKit
  • +
  • KSYGPUTwoInputFiter
  • +
  • KSYGPUView
  • KSYGPUViewCapture
  • @@ -144,6 +148,16 @@

    Class References

  • KSYTranscoder
  • +
  • KSYTransitionBlurFilter
  • + +
  • KSYTransitionFadesInOutFilter
  • + +
  • KSYTransitionFilter
  • + +
  • KSYTransitionFlashFilter
  • + +
  • KSYTransitionPushFilter
  • +
  • KSYUIRecorderKit
  • KSYVideoInfo
  • @@ -162,6 +176,8 @@

    Protocol References

  • KSYMediaPlayback
  • +
  • KSYTransition
  • + @@ -185,6 +201,8 @@

    Constant References

  • KSYDevAuthStatus
  • +
  • KSYGPUEffectType
  • +
  • KSYLiveScene
  • KSYMPErrorCode
  • @@ -197,6 +215,8 @@

    Constant References

  • KSYNetworkStatus
  • +
  • KSYOverlapType
  • +
  • KSYPlayRecordScheme
  • KSYRecScene
  • @@ -211,10 +231,14 @@

    Constant References

  • KSYStreamState
  • +
  • KSYTPushDirection
  • +
  • KSYTranscodeErrorCode
  • KSYTranscodeState
  • +
  • KSYTransitionType
  • +
  • KSYVideoCodec
  • KSYVideoDimension
  • diff --git a/doc/docset/Contents/Resources/Nodes.xml b/doc/docset/Contents/Resources/Nodes.xml index b3b1791..65495c1 100644 --- a/doc/docset/Contents/Resources/Nodes.xml +++ b/doc/docset/Contents/Resources/Nodes.xml @@ -61,6 +61,13 @@ + + + + + + + @@ -70,7 +77,7 @@ Categories index.html - + @@ -80,7 +87,8 @@ Protocols index.html - + + @@ -90,14 +98,6 @@ Constants index.html - - - - - - - - @@ -126,6 +126,18 @@ + + + + + + + + + + + + @@ -135,13 +147,13 @@ Blocks index.html - - - - - - - + + + + + + + @@ -587,6 +599,12 @@ tasks + + Classes/KSYBuildInSpecialEffects.html + Properties + properties + + @@ -1021,6 +1039,33 @@ + KSYGPUPicture + Classes/KSYGPUPicture.html + + + + Classes/KSYGPUPicture.html + Overview + overview + + + Classes/KSYGPUPicture.html + Tasks + tasks + + + + + + Classes/KSYGPUPicture.html + Instance Methods + instance_methods + + + + + + KSYGPUPipStreamerKit Classes/KSYGPUPipStreamerKit.html @@ -1053,7 +1098,7 @@ - + KSYGPUStreamerKit Classes/KSYGPUStreamerKit.html @@ -1086,7 +1131,34 @@ - + + KSYGPUTwoInputFiter + Classes/KSYGPUTwoInputFiter.html + + + + Classes/KSYGPUTwoInputFiter.html + Overview + overview + + + Classes/KSYGPUTwoInputFiter.html + Tasks + tasks + + + + + + Classes/KSYGPUTwoInputFiter.html + Instance Methods + instance_methods + + + + + + KSYGPUView Classes/KSYGPUView.html @@ -1119,7 +1191,7 @@ - + KSYGPUViewCapture Classes/KSYGPUViewCapture.html @@ -1152,12 +1224,12 @@ - + KSYGPUYUVInput Classes/KSYGPUYUVInput.html - + KSYMediaInfo Classes/KSYMediaInfo.html @@ -1184,7 +1256,7 @@ - + KSYMediaInfoProber Classes/KSYMediaInfoProber.html @@ -1217,7 +1289,7 @@ - + KSYMessage Classes/KSYMessage.html @@ -1250,7 +1322,7 @@ - + KSYMoviePlayerController Classes/KSYMoviePlayerController.html @@ -1283,7 +1355,7 @@ - + KSYMovieWriter Classes/KSYMovieWriter.html @@ -1310,7 +1382,7 @@ - + KSYMvEffect Classes/KSYMvEffect.html @@ -1343,7 +1415,7 @@ - + KSYMvFilter Classes/KSYMvFilter.html @@ -1370,7 +1442,7 @@ - + KSYNetRouterInfo Classes/KSYNetRouterInfo.html @@ -1397,7 +1469,7 @@ - + KSYNetTracker Classes/KSYNetTracker.html @@ -1430,7 +1502,7 @@ - + KSYQosInfo Classes/KSYQosInfo.html @@ -1457,7 +1529,7 @@ - + KSYReachability Classes/KSYReachability.html @@ -1496,7 +1568,7 @@ - + KSYShakeFilter Classes/KSYShakeFilter.html @@ -1523,7 +1595,7 @@ - + KSYSpecialEffects Classes/KSYSpecialEffects.html @@ -1562,7 +1634,7 @@ - + KSYStreamerBase Classes/KSYStreamerBase.html @@ -1595,7 +1667,7 @@ - + KSYTranscoder Classes/KSYTranscoder.html @@ -1628,7 +1700,148 @@ - + + KSYTransitionBlurFilter + Classes/KSYTransitionBlurFilter.html + + + + Classes/KSYTransitionBlurFilter.html + Overview + overview + + + Classes/KSYTransitionBlurFilter.html + Tasks + tasks + + + + Classes/KSYTransitionBlurFilter.html + Properties + properties + + + + + + + + + KSYTransitionFadesInOutFilter + Classes/KSYTransitionFadesInOutFilter.html + + + + Classes/KSYTransitionFadesInOutFilter.html + Overview + overview + + + Classes/KSYTransitionFadesInOutFilter.html + Tasks + tasks + + + + Classes/KSYTransitionFadesInOutFilter.html + Properties + properties + + + + + + + + + KSYTransitionFilter + Classes/KSYTransitionFilter.html + + + + Classes/KSYTransitionFilter.html + Overview + overview + + + Classes/KSYTransitionFilter.html + Tasks + tasks + + + + Classes/KSYTransitionFilter.html + Properties + properties + + + + + + Classes/KSYTransitionFilter.html + Instance Methods + instance_methods + + + + + + + KSYTransitionFlashFilter + Classes/KSYTransitionFlashFilter.html + + + + Classes/KSYTransitionFlashFilter.html + Overview + overview + + + Classes/KSYTransitionFlashFilter.html + Tasks + tasks + + + + Classes/KSYTransitionFlashFilter.html + Properties + properties + + + + + + + + + KSYTransitionPushFilter + Classes/KSYTransitionPushFilter.html + + + + Classes/KSYTransitionPushFilter.html + Overview + overview + + + Classes/KSYTransitionPushFilter.html + Tasks + tasks + + + + Classes/KSYTransitionPushFilter.html + Properties + properties + + + + + + + + KSYUIRecorderKit Classes/KSYUIRecorderKit.html @@ -1661,7 +1874,7 @@ - + KSYVideoInfo Classes/KSYVideoInfo.html @@ -1688,7 +1901,7 @@ - + KSYWeakProxy Classes/KSYWeakProxy.html @@ -1728,7 +1941,7 @@ - + AVAudioSession(KSY) Categories/AVAudioSession+KSY.html @@ -1768,7 +1981,7 @@ - + KSYMediaPlayback Protocols/KSYMediaPlayback.html @@ -1800,220 +2013,267 @@ + + + KSYTransition + Protocols/KSYTransition.html + + + + Protocols/KSYTransition.html + Overview + overview + + + Protocols/KSYTransition.html + Tasks + tasks + + + + + + Protocols/KSYTransition.html + Instance Methods + instance_methods + + + + - + KSYAVMuxerStatus Constants/KSYAVMuxerStatus.html - + KSYAudioCodec Constants/KSYAudioCodec.html - + KSYAudioEffectType Constants/KSYAudioEffectType.html - + KSYAudioNoiseSuppress Constants/KSYAudioNoiseSuppress.html - + KSYBWEstimateMode Constants/KSYBWEstimateMode.html - + KSYBgmPlayerState Constants/KSYBgmPlayerState.html - + KSYCaptureState Constants/KSYCaptureState.html - + KSYDevAuthStatus Constants/KSYDevAuthStatus.html - + + KSYGPUEffectType + Constants/KSYGPUEffectType.html + + + KSYLiveScene Constants/KSYLiveScene.html - + KSYMPErrorCode Constants/KSYMPErrorCode.html - + KSYMicType Constants/KSYMicType.html - + KSYNetReachState Constants/KSYNetReachState.html - + KSYNetStateCode Constants/KSYNetStateCode.html - + KSYNetworkStatus Constants/KSYNetworkStatus.html - + + KSYOverlapType + Constants/KSYOverlapType.html + + + KSYPlayRecordScheme Constants/KSYPlayRecordScheme.html - + KSYRecScene Constants/KSYRecScene.html - + KSYRecordError Constants/KSYRecordError.html - + KSYRecordState Constants/KSYRecordState.html - + KSYShakeType Constants/KSYShakeType.html - + KSYStreamErrorCode Constants/KSYStreamErrorCode.html - + KSYStreamState Constants/KSYStreamState.html - + + KSYTPushDirection + Constants/KSYTPushDirection.html + + + KSYTranscodeErrorCode Constants/KSYTranscodeErrorCode.html - + KSYTranscodeState Constants/KSYTranscodeState.html - + + KSYTransitionType + Constants/KSYTransitionType.html + + + KSYVideoCodec Constants/KSYVideoCodec.html - + KSYVideoDimension Constants/KSYVideoDimension.html - + KSYVideoEncodePerformance Constants/KSYVideoEncodePerformance.html - + KSY_NETTRACKER_ACTION Constants/KSY_NETTRACKER_ACTION.html - + MEDIAINFO_CODEC_ID Constants/MEDIAINFO_CODEC_ID.html - + MEDIAINFO_MUX_TYPE Constants/MEDIAINFO_MUX_TYPE.html - + MEDIAINFO_SAMPLE_FMT Constants/MEDIAINFO_SAMPLE_FMT.html - + MPMovieAudioPan Constants/MPMovieAudioPan.html - + MPMovieMetaType Constants/MPMovieMetaType.html - + MPMovieReloadMode Constants/MPMovieReloadMode.html - + MPMovieStatus Constants/MPMovieStatus.html - + MPMovieVideoDecoderMode Constants/MPMovieVideoDecoderMode.html - + MPMovieVideoDeinterlaceMode Constants/MPMovieVideoDeinterlaceMode.html - + KSYNetworkReachability Blocks/KSYNetworkReachability.html - + KSYNetworkReachable Blocks/KSYNetworkReachable.html - + KSYNetworkUnreachable Blocks/KSYNetworkUnreachable.html - + KSYPlyAudioDataBlock Blocks/KSYPlyAudioDataBlock.html - + KSYPlyMessageDataBlock Blocks/KSYPlyMessageDataBlock.html - + KSYPlyTextureBlock Blocks/KSYPlyTextureBlock.html - + KSYPlyVideoDataBlock Blocks/KSYPlyVideoDataBlock.html diff --git a/doc/docset/Contents/Resources/Tokens100.xml b/doc/docset/Contents/Resources/Tokens100.xml new file mode 100644 index 0000000..0223397 --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens100.xml @@ -0,0 +1,38 @@ + + + + + + //apple_ref/c/tdef/MPMovieVideoDeinterlaceMode + 视频反交错模式 + KSYMoviePlayerDefines.h + + + + + + + + + //apple_ref/c/econst/MPMovieVideoDeinterlaceMode_None + 关闭反交错 + MPMovieVideoDeinterlaceMode_None + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieVideoDeinterlaceMode_Auto + 自动判断是否打开反交错 + MPMovieVideoDeinterlaceMode_Auto + + KSYMoviePlayerDefines.h + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens101.xml b/doc/docset/Contents/Resources/Tokens101.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens101.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens102.xml b/doc/docset/Contents/Resources/Tokens102.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens102.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens103.xml b/doc/docset/Contents/Resources/Tokens103.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens103.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens104.xml b/doc/docset/Contents/Resources/Tokens104.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens104.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens105.xml b/doc/docset/Contents/Resources/Tokens105.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens105.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens106.xml b/doc/docset/Contents/Resources/Tokens106.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens106.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens107.xml b/doc/docset/Contents/Resources/Tokens107.xml new file mode 100644 index 0000000..3fc40be --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens107.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens13.xml b/doc/docset/Contents/Resources/Tokens13.xml index e2146a7..a10c08c 100644 --- a/doc/docset/Contents/Resources/Tokens13.xml +++ b/doc/docset/Contents/Resources/Tokens13.xml @@ -12,16 +12,70 @@ + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/initWithType: + 初始化为指定类型的特效滤镜 + KSYBuildInSpecialEffects.h + + - (id)initWithType:(KSYGPUEffectType)type + + + type + 效果类型 + + + + //api/name/initWithType: + + + + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/setEffectType: + 当前特效的类型 + KSYBuildInSpecialEffects.h + + @property KSYGPUEffectType effectType + + + //api/name/effectType + + + + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/effectType + 当前特效的类型 + KSYBuildInSpecialEffects.h + + @property KSYGPUEffectType effectType + + + //api/name/effectType + + + + + //apple_ref/occ/instp/KSYBuildInSpecialEffects/effectType + 当前特效的类型 + KSYBuildInSpecialEffects.h + + @property KSYGPUEffectType effectType + + + //api/name/effectType + + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/initWithIdx: - 初始化并指定 1~13 的index来创建对应效果 + 初始化为指定类型的特效滤镜 KSYBuildInSpecialEffects.h - (id)initWithIdx:(NSInteger)idx idx - 效果的索引 (非法值无效) + 效果的索引 (非法值无效) +@warning @@ -31,7 +85,7 @@ //apple_ref/occ/instm/KSYBuildInSpecialEffects/setSpecialEffectsIdx: - 指定 1~6 的index来创建对应效果 + 更新为指定类型的特效滤镜 KSYBuildInSpecialEffects.h - (void)setSpecialEffectsIdx:(NSInteger)idx @@ -46,6 +100,42 @@ + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/setIntensity: + 特效参数 (仅前15个滤镜有效) + KSYBuildInSpecialEffects.h + + @property (readwrite, nonatomic) CGFloat intensity + + + //api/name/intensity + + + + + //apple_ref/occ/instm/KSYBuildInSpecialEffects/intensity + 特效参数 (仅前15个滤镜有效) + KSYBuildInSpecialEffects.h + + @property (readwrite, nonatomic) CGFloat intensity + + + //api/name/intensity + + + + + //apple_ref/occ/instp/KSYBuildInSpecialEffects/intensity + 特效参数 (仅前15个滤镜有效) + KSYBuildInSpecialEffects.h + + @property (readwrite, nonatomic) CGFloat intensity + + + //api/name/intensity + + + diff --git a/doc/docset/Contents/Resources/Tokens28.xml b/doc/docset/Contents/Resources/Tokens28.xml index 69cd7a2..f315ffd 100644 --- a/doc/docset/Contents/Resources/Tokens28.xml +++ b/doc/docset/Contents/Resources/Tokens28.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYGPUPipStreamerKit - - KSYGPUPipStreamerKit.h + //apple_ref/occ/cl/KSYGPUPicture + 图片读入类 + KSYGPUPicture.h @@ -13,418 +13,14 @@ - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipTrack: - 画中画通道 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) int pipTrack - - - //api/name/pipTrack - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipTrack - 画中画通道 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) int pipTrack - - - //api/name/pipTrack - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipTrack - 画中画通道 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) int pipTrack - - - //api/name/pipTrack - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPicLayer: - 背景图片图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger bgPicLayer - - - //api/name/bgPicLayer - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPicLayer - 背景图片图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger bgPicLayer - - - //api/name/bgPicLayer - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPicLayer - 背景图片图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger bgPicLayer - - - //api/name/bgPicLayer - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipLayer: - 画中画图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger pipLayer - - - //api/name/pipLayer - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipLayer - 画中画图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger pipLayer - - - //api/name/pipLayer - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipLayer - 画中画图层 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) NSInteger pipLayer - - - //api/name/pipLayer - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/startPipWithPlayerUrl:bgPic: - 开启画中画 -@param playerUrl:播放视频的url -@param bgUrl:背景图片的url - KSYGPUPipStreamerKit.h - - - (void)startPipWithPlayerUrl:(NSURL *_Nullable)playerUrl bgPic:(NSURL *_Nullable)bgUrl - - - //api/name/startPipWithPlayerUrl:bgPic: - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/stopPip - 停止画中画 -* - KSYGPUPipStreamerKit.h - - - (void)stopPip - - - //api/name/stopPip - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPlayer: - 背景播放器 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYMoviePlayerController *player - - - //api/name/player - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/player - 背景播放器 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYMoviePlayerController *player - - - //api/name/player - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/player - 背景播放器 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYMoviePlayerController *player - - - //api/name/player - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPic: - 背景图片 - KSYGPUPipStreamerKit.h - - @property (nonatomic, strong) GPUImagePicture *bgPic - - - //api/name/bgPic - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPic - 背景图片 - KSYGPUPipStreamerKit.h - - @property (nonatomic, strong) GPUImagePicture *bgPic - - - //api/name/bgPic - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPic - 背景图片 - KSYGPUPipStreamerKit.h - - @property (nonatomic, strong) GPUImagePicture *bgPic - - - //api/name/bgPic - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setYuvInput: - 画中画图像输入 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - - - //api/name/yuvInput - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/yuvInput - 画中画图像输入 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - - - //api/name/yuvInput - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/yuvInput - 画中画图像输入 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - - - //api/name/yuvInput - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPicRect: - 背景图片的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect bgPicRect - - - //api/name/bgPicRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPicRect - 背景图片的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect bgPicRect - - - //api/name/bgPicRect - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPicRect - 背景图片的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect bgPicRect - - - //api/name/bgPicRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipRect: - 画中画的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect pipRect - - - //api/name/pipRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipRect - 画中画的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect pipRect - - - //api/name/pipRect - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipRect - 画中画的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect pipRect - - - //api/name/pipRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setCameraRect: - 相机的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect cameraRect - - - //api/name/cameraRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/cameraRect - 相机的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect cameraRect - - - //api/name/cameraRect - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/cameraRect - 相机的位置和大小 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readwrite) CGRect cameraRect - - - //api/name/cameraRect - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/getPipStateName: - 获取状态对应的字符串 - KSYGPUPipStreamerKit.h - - - (NSString *_Nonnull)getPipStateName:(MPMoviePlaybackState)stat - - - stat - 状态 - - - - //api/name/getPipStateName: - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/getCurPipStateName - 获取当前状态对应的字符串 - KSYGPUPipStreamerKit.h - - - (NSString *_Nonnull)getCurPipStateName - - - //api/name/getCurPipStateName - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipState: - 播放状态 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) MPMoviePlaybackState PipState - - - //api/name/PipState - - - - - //apple_ref/occ/instm/KSYGPUPipStreamerKit/PipState - 播放状态 - KSYGPUPipStreamerKit.h - - @property (nonatomic, readonly) MPMoviePlaybackState PipState - - - //api/name/PipState - - - - - //apple_ref/occ/instp/KSYGPUPipStreamerKit/PipState - 播放状态 - KSYGPUPipStreamerKit.h + //apple_ref/occ/instm/KSYGPUPicture/initWithImageName: + + KSYGPUPicture.h - @property (nonatomic, readonly) MPMoviePlaybackState PipState + - (id)initWithImageName:(NSString *)name - //api/name/PipState + //api/name/initWithImageName: diff --git a/doc/docset/Contents/Resources/Tokens29.xml b/doc/docset/Contents/Resources/Tokens29.xml index 887516d..aa70b88 100644 --- a/doc/docset/Contents/Resources/Tokens29.xml +++ b/doc/docset/Contents/Resources/Tokens29.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYGPUStreamerKit - KSY 直播推流工具类 - KSYGPUStreamerKit.h + //apple_ref/occ/cl/KSYGPUPipStreamerKit + + KSYGPUPipStreamerKit.h @@ -13,2251 +13,418 @@ - //apple_ref/occ/instm/KSYGPUStreamerKit/initWithDefaultCfg - 初始化方法 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipTrack: + 画中画通道 + KSYGPUPipStreamerKit.h - - (instancetype)initWithDefaultCfg + @property (nonatomic, readonly) int pipTrack - //api/name/initWithDefaultCfg + //api/name/pipTrack - //apple_ref/occ/instm/KSYGPUStreamerKit/initWithInterruptCfg - 初始化方法 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipTrack + 画中画通道 + KSYGPUPipStreamerKit.h - - (instancetype)initWithInterruptCfg + @property (nonatomic, readonly) int pipTrack - //api/name/initWithInterruptCfg + //api/name/pipTrack - //apple_ref/occ/instm/KSYGPUStreamerKit/getKSYVersion - 获取SDK版本号 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipTrack + 画中画通道 + KSYGPUPipStreamerKit.h - - (NSString *)getKSYVersion + @property (nonatomic, readonly) int pipTrack - //api/name/getKSYVersion + //api/name/pipTrack - //apple_ref/occ/instm/KSYGPUStreamerKit/setVCapDev: - 视频采集设备 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPicLayer: + 背景图片图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAVFCapture *vCapDev + @property (nonatomic, readonly) NSInteger bgPicLayer - //api/name/vCapDev + //api/name/bgPicLayer - //apple_ref/occ/instm/KSYGPUStreamerKit/vCapDev - 视频采集设备 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPicLayer + 背景图片图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAVFCapture *vCapDev + @property (nonatomic, readonly) NSInteger bgPicLayer - //api/name/vCapDev + //api/name/bgPicLayer - //apple_ref/occ/instp/KSYGPUStreamerKit/vCapDev - 视频采集设备 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPicLayer + 背景图片图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAVFCapture *vCapDev + @property (nonatomic, readonly) NSInteger bgPicLayer - //api/name/vCapDev + //api/name/bgPicLayer - //apple_ref/occ/instm/KSYGPUStreamerKit/setFilter: - 获取当前使用的滤镜 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipLayer: + 画中画图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter + @property (nonatomic, readonly) NSInteger pipLayer - //api/name/filter + //api/name/pipLayer - //apple_ref/occ/instm/KSYGPUStreamerKit/filter - 获取当前使用的滤镜 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipLayer + 画中画图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter + @property (nonatomic, readonly) NSInteger pipLayer - //api/name/filter + //api/name/pipLayer - //apple_ref/occ/instp/KSYGPUStreamerKit/filter - 获取当前使用的滤镜 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipLayer + 画中画图层 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter + @property (nonatomic, readonly) NSInteger pipLayer - //api/name/filter + //api/name/pipLayer - //apple_ref/occ/instm/KSYGPUStreamerKit/setVPreviewMixer: - 图像混合器 for 预览 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/startPipWithPlayerUrl:bgPic: + 开启画中画 +@param playerUrl:播放视频的url +@param bgUrl:背景图片的url + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + - (void)startPipWithPlayerUrl:(NSURL *_Nullable)playerUrl bgPic:(NSURL *_Nullable)bgUrl - //api/name/vPreviewMixer + //api/name/startPipWithPlayerUrl:bgPic: - //apple_ref/occ/instm/KSYGPUStreamerKit/vPreviewMixer - 图像混合器 for 预览 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/stopPip + 停止画中画 +* + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + - (void)stopPip - //api/name/vPreviewMixer + //api/name/stopPip - //apple_ref/occ/instp/KSYGPUStreamerKit/vPreviewMixer - 图像混合器 for 预览 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPlayer: + 背景播放器 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + @property (nonatomic, readonly) KSYMoviePlayerController *player - //api/name/vPreviewMixer + //api/name/player - //apple_ref/occ/instm/KSYGPUStreamerKit/setVStreamMixer: - 图像混合器 for 推流 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/player + 背景播放器 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + @property (nonatomic, readonly) KSYMoviePlayerController *player - //api/name/vStreamMixer + //api/name/player - //apple_ref/occ/instm/KSYGPUStreamerKit/vStreamMixer - 图像混合器 for 推流 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/player + 背景播放器 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + @property (nonatomic, readonly) KSYMoviePlayerController *player - //api/name/vStreamMixer + //api/name/player - //apple_ref/occ/instp/KSYGPUStreamerKit/vStreamMixer - 图像混合器 for 推流 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPic: + 背景图片 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + @property (nonatomic, strong) GPUImagePicture *bgPic - //api/name/vStreamMixer + //api/name/bgPic - //apple_ref/occ/instm/KSYGPUStreamerKit/setPreview: - 预览视图 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPic + 背景图片 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUView *preview + @property (nonatomic, strong) GPUImagePicture *bgPic - //api/name/preview + //api/name/bgPic - //apple_ref/occ/instm/KSYGPUStreamerKit/preview - 预览视图 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPic + 背景图片 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUView *preview + @property (nonatomic, strong) GPUImagePicture *bgPic - //api/name/preview + //api/name/bgPic - //apple_ref/occ/instp/KSYGPUStreamerKit/preview - 预览视图 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setYuvInput: + 画中画图像输入 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUView *preview + @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - //api/name/preview + //api/name/yuvInput - //apple_ref/occ/instm/KSYGPUStreamerKit/setCapToGpu: - 采集到的图像上传GPU - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/yuvInput + 画中画图像输入 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - //api/name/capToGpu + //api/name/yuvInput - //apple_ref/occ/instm/KSYGPUStreamerKit/capToGpu - 采集到的图像上传GPU - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/yuvInput + 画中画图像输入 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + @property (nonatomic, readonly) KSYGPUPicInput *yuvInput - //api/name/capToGpu + //api/name/yuvInput - //apple_ref/occ/instp/KSYGPUStreamerKit/capToGpu - 采集到的图像上传GPU - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setBgPicRect: + 背景图片的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + @property (nonatomic, readwrite) CGRect bgPicRect - //api/name/capToGpu + //api/name/bgPicRect - //apple_ref/occ/instm/KSYGPUStreamerKit/setGpuToStr: - 获取渲染的图像 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/bgPicRect + 背景图片的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + @property (nonatomic, readwrite) CGRect bgPicRect - //api/name/gpuToStr + //api/name/bgPicRect - //apple_ref/occ/instm/KSYGPUStreamerKit/gpuToStr - 获取渲染的图像 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/bgPicRect + 背景图片的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + @property (nonatomic, readwrite) CGRect bgPicRect - //api/name/gpuToStr + //api/name/bgPicRect - //apple_ref/occ/instp/KSYGPUStreamerKit/gpuToStr - 获取渲染的图像 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipRect: + 画中画的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + @property (nonatomic, readwrite) CGRect pipRect - //api/name/gpuToStr + //api/name/pipRect - //apple_ref/occ/instm/KSYGPUStreamerKit/setACapDev: - 音频采集设备 Audio Unit 音频采集 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/pipRect + 画中画的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + @property (nonatomic, readwrite) CGRect pipRect - //api/name/aCapDev + //api/name/pipRect - //apple_ref/occ/instm/KSYGPUStreamerKit/aCapDev - 音频采集设备 Audio Unit 音频采集 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/pipRect + 画中画的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + @property (nonatomic, readwrite) CGRect pipRect - //api/name/aCapDev + //api/name/pipRect - //apple_ref/occ/instp/KSYGPUStreamerKit/aCapDev - 音频采集设备 Audio Unit 音频采集 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setCameraRect: + 相机的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + @property (nonatomic, readwrite) CGRect cameraRect - //api/name/aCapDev + //api/name/cameraRect - //apple_ref/occ/instm/KSYGPUStreamerKit/setBgmPlayer: - 背景音乐播放器 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/cameraRect + 相机的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer + @property (nonatomic, readwrite) CGRect cameraRect - //api/name/bgmPlayer + //api/name/cameraRect - //apple_ref/occ/instm/KSYGPUStreamerKit/bgmPlayer - 背景音乐播放器 - KSYGPUStreamerKit.h + //apple_ref/occ/instp/KSYGPUPipStreamerKit/cameraRect + 相机的位置和大小 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer + @property (nonatomic, readwrite) CGRect cameraRect - //api/name/bgmPlayer + //api/name/cameraRect - //apple_ref/occ/instp/KSYGPUStreamerKit/bgmPlayer - 背景音乐播放器 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/getPipStateName: + 获取状态对应的字符串 + KSYGPUPipStreamerKit.h - @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer - - - //api/name/bgmPlayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAMixer: - 音频混合器 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYAudioMixer *aMixer - - - //api/name/aMixer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/aMixer - 音频混合器 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYAudioMixer *aMixer - - - //api/name/aMixer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/aMixer - 音频混合器 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYAudioMixer *aMixer - - - //api/name/aMixer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioCaptureType: - 音频采集模式 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioCapType audioCaptureType - - - //api/name/audioCaptureType - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/audioCaptureType - 音频采集模式 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioCapType audioCaptureType - - - //api/name/audioCaptureType - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioCaptureType - 音频采集模式 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioCapType audioCaptureType - - - //api/name/audioCaptureType - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setMsgStreamer: - 消息通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYMessage *msgStreamer - - - //api/name/msgStreamer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/msgStreamer - 消息通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYMessage *msgStreamer - - - //api/name/msgStreamer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/msgStreamer - 消息通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYMessage *msgStreamer - - - //api/name/msgStreamer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerBase: - 获取初始化时创建的底层推流工具 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYStreamerBase *streamerBase - - - //api/name/streamerBase - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamerBase - 获取初始化时创建的底层推流工具 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYStreamerBase *streamerBase - - - //api/name/streamerBase - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/streamerBase - 获取初始化时创建的底层推流工具 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYStreamerBase *streamerBase - - - //api/name/streamerBase - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setMaxAutoRetry: - 自动重连次数 关闭(0), 开启(>0), 默认为0 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int maxAutoRetry - - - //api/name/maxAutoRetry - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/maxAutoRetry - 自动重连次数 关闭(0), 开启(>0), 默认为0 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int maxAutoRetry - - - //api/name/maxAutoRetry - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/maxAutoRetry - 自动重连次数 关闭(0), 开启(>0), 默认为0 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int maxAutoRetry - - - //api/name/maxAutoRetry - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAutoRetryDelay: - 自动重连延时, 发现连接错误后, 重试的延时 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) double autoRetryDelay - - - //api/name/autoRetryDelay - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/autoRetryDelay - 自动重连延时, 发现连接错误后, 重试的延时 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) double autoRetryDelay - - - //api/name/autoRetryDelay - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/autoRetryDelay - 自动重连延时, 发现连接错误后, 重试的延时 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) double autoRetryDelay - - - //api/name/autoRetryDelay - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setCameraLayer: - 摄像头图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger cameraLayer - - - //api/name/cameraLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/cameraLayer - 摄像头图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger cameraLayer - - - //api/name/cameraLayer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/cameraLayer - 摄像头图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger cameraLayer - - - //api/name/cameraLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoPicLayer: - logo 图片的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoPicLayer - - - //api/name/logoPicLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/logoPicLayer - logo 图片的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoPicLayer - - - //api/name/logoPicLayer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/logoPicLayer - logo 图片的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoPicLayer - - - //api/name/logoPicLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoTxtLayer: - logo 文字的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoTxtLayer - - - //api/name/logoTxtLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/logoTxtLayer - logo 文字的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoTxtLayer - - - //api/name/logoTxtLayer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/logoTxtLayer - logo 文字的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger logoTxtLayer - - - //api/name/logoTxtLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAeLayer: - 贴纸的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger aeLayer - - - //api/name/aeLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/aeLayer - 贴纸的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger aeLayer - - - //api/name/aeLayer - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/aeLayer - 贴纸的图层 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) NSInteger aeLayer - - - //api/name/aeLayer - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setMicTrack: - 麦克风通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int micTrack - - - //api/name/micTrack - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/micTrack - 麦克风通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int micTrack - - - //api/name/micTrack - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/micTrack - 麦克风通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int micTrack - - - //api/name/micTrack - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setBgmTrack: - 背景音乐通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int bgmTrack - - - //api/name/bgmTrack - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/bgmTrack - 背景音乐通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int bgmTrack - - - //api/name/bgmTrack - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/bgmTrack - 背景音乐通道 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) int bgmTrack - - - //api/name/bgmTrack - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setCaptureState: - 当前采集设备状况 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYCaptureState captureState - - - //api/name/captureState - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/captureState - 当前采集设备状况 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYCaptureState captureState - - - //api/name/captureState - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/captureState - 当前采集设备状况 - KSYGPUStreamerKit.h - - @property (nonatomic, readonly) KSYCaptureState captureState - - - //api/name/captureState - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/getCaptureStateName: - 获取采集状态对应的字符串 - KSYGPUStreamerKit.h - - - (NSString *)getCaptureStateName:(KSYCaptureState)stat - - - //api/name/getCaptureStateName: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/getCurCaptureStateName - 获取当前采集状态对应的字符串 - KSYGPUStreamerKit.h - - - (NSString *)getCurCaptureStateName - - - //api/name/getCurCaptureStateName - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/startPreview: - 启动预览 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/videoFPS - - - - - (void)startPreview:(UIView *)view - - - view - 预览画面作为subview,插入到 view 的最底层 - - - - //api/name/startPreview: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/startVideoCap - 开启视频配置和采集 - KSYGPUStreamerKit.h - - - (BOOL)startVideoCap - - - //api/name/startVideoCap - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/startAudioCap - 开始音频配置和采集 - KSYGPUStreamerKit.h - - - (BOOL)startAudioCap - - - //api/name/startAudioCap - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/stopPreview - 停止预览,停止采集设备,并清理会话 - KSYGPUStreamerKit.h - - - (void)stopPreview - - - //api/name/stopPreview - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/appEnterBackground - 进入后台: 暂停图像采集 - KSYGPUStreamerKit.h - - - (void)appEnterBackground - - - //api/name/appEnterBackground - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/appBecomeActive - 回到前台: 恢复采集 - KSYGPUStreamerKit.h - - - (void)appBecomeActive - - - //api/name/appBecomeActive - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setCapPreset: - 采集分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) NSString *capPreset - - - //api/name/capPreset - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/capPreset - 采集分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) NSString *capPreset - - - //api/name/capPreset - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/capPreset - 采集分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) NSString *capPreset - - - //api/name/capPreset - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/captureDimension - 查询实际的采集分辨率 - KSYGPUStreamerKit.h - - - (CGSize)captureDimension - - - //api/name/captureDimension - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewDimension: - 预览分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGSize previewDimension - - - //api/name/previewDimension - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/previewDimension - 预览分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGSize previewDimension - - - //api/name/previewDimension - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension - 预览分辨率 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGSize previewDimension - - - //api/name/previewDimension - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamDimension: - 用户定义的视频 推流 分辨率 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension - - - - @property (nonatomic, assign) CGSize streamDimension - - - //api/name/streamDimension - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamDimension - 用户定义的视频 推流 分辨率 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension - - - - @property (nonatomic, assign) CGSize streamDimension - - - //api/name/streamDimension - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/streamDimension - 用户定义的视频 推流 分辨率 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension - - - - @property (nonatomic, assign) CGSize streamDimension - - - //api/name/streamDimension - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setCapturePixelFormat: - 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType capturePixelFormat - - - //api/name/capturePixelFormat - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/capturePixelFormat - 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType capturePixelFormat - - - //api/name/capturePixelFormat - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/capturePixelFormat - 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType capturePixelFormat - - - //api/name/capturePixelFormat - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setGpuOutputPixelFormat: - gpu output pixel format (默认:kCVPixelFormatType_32BGRA) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType gpuOutputPixelFormat - - - //api/name/gpuOutputPixelFormat - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/gpuOutputPixelFormat - gpu output pixel format (默认:kCVPixelFormatType_32BGRA) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType gpuOutputPixelFormat - - - //api/name/gpuOutputPixelFormat - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/gpuOutputPixelFormat - gpu output pixel format (默认:kCVPixelFormatType_32BGRA) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) OSType gpuOutputPixelFormat - - - //api/name/gpuOutputPixelFormat - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoFPS: - 采集及编码视频帧率 (开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/videoFPS - 采集及编码视频帧率 (开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/videoFPS - 采集及编码视频帧率 (开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setCameraPosition: - 摄像头位置 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition - - - //api/name/cameraPosition - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/cameraPosition - 摄像头位置 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition - - - //api/name/cameraPosition - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/cameraPosition - 摄像头位置 (仅在开始采集前设置有效) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition - - - //api/name/cameraPosition - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoOrientation: - 摄像头朝向, 只在启动采集前设置有效 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation - - - //api/name/videoOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/videoOrientation - 摄像头朝向, 只在启动采集前设置有效 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation - - - //api/name/videoOrientation - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/videoOrientation - 摄像头朝向, 只在启动采集前设置有效 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation - - - //api/name/videoOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setBStereoAudioStream: - 是否用双声道推流 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL bStereoAudioStream - - - //api/name/bStereoAudioStream - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/bStereoAudioStream - 是否用双声道推流 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL bStereoAudioStream - - - //api/name/bStereoAudioStream - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/bStereoAudioStream - 是否用双声道推流 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL bStereoAudioStream - - - //api/name/bStereoAudioStream - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/switchCamera - 切换摄像头 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/cameraPosition - - - - - (BOOL)switchCamera - - TRUE: 成功切换摄像头, FALSE:当前参数,下一个摄像头不支持,切换失败 - //api/name/switchCamera - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/isTorchSupported - 当前采集设备是否支持闪光灯 - KSYGPUStreamerKit.h - - - (BOOL)isTorchSupported - - YES / NO - //api/name/isTorchSupported - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/toggleTorch - 开关闪光灯 - KSYGPUStreamerKit.h - - - (void)toggleTorch - - - //api/name/toggleTorch - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setTorchMode: - 设置闪光灯 - KSYGPUStreamerKit.h - - - (void)setTorchMode:(AVCaptureTorchMode)mode - - - mode - AVCaptureTorchModeOn/Off - - - - //api/name/setTorchMode: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/getCurrentCameraDevices - 获取当前采集设备的指针 - KSYGPUStreamerKit.h - - - (AVCaptureDevice *)getCurrentCameraDevices - - AVCaptureDevice* 预览开始前调用返回为nil,开始预览后,返回当前正在使用的摄像头 - //api/name/getCurrentCameraDevices - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoProcessingCallback: - 视频处理回调接口 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback - - - sampleBuffer - 原始采集到的视频数据 - - - - //api/name/videoProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/videoProcessingCallback - 视频处理回调接口 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback - - - sampleBuffer - 原始采集到的视频数据 - - - - //api/name/videoProcessingCallback - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/videoProcessingCallback - 视频处理回调接口 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback - - - sampleBuffer - 原始采集到的视频数据 - - - - //api/name/videoProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioProcessingCallback: - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback - - - //api/name/audioProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/audioProcessingCallback - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback - - - //api/name/audioProcessingCallback - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioProcessingCallback - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback - - - //api/name/audioProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setPcmProcessingCallback: - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback - - - //api/name/pcmProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/pcmProcessingCallback - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback - - - //api/name/pcmProcessingCallback - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/pcmProcessingCallback - 音频处理回调接口 - KSYGPUStreamerKit.h - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - - - - @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback - - - //api/name/pcmProcessingCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioDataType: - 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioDataType audioDataType - - - //api/name/audioDataType - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/audioDataType - 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioDataType audioDataType - - - //api/name/audioDataType - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType - 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYAudioDataType audioDataType - - - //api/name/audioDataType - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setInterruptCallback: - 摄像头采集被打断的消息通知 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback - - - //api/name/interruptCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/interruptCallback - 摄像头采集被打断的消息通知 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback - - - //api/name/interruptCallback - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/interruptCallback - 摄像头采集被打断的消息通知 - KSYGPUStreamerKit.h - - @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback - - - //api/name/interruptCallback - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setupFilter: - 设置当前使用的滤镜 - KSYGPUStreamerKit.h - - - (void)setupFilter:(GPUImageOutput<GPUImageInput> *)filter - - - //api/name/setupFilter: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewMirrored: - 预览设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL previewMirrored - - - //api/name/previewMirrored - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/previewMirrored - 预览设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL previewMirrored - - - //api/name/previewMirrored - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewMirrored - 预览设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL previewMirrored - - - //api/name/previewMirrored - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerMirrored: - 推流设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerMirrored - - - //api/name/streamerMirrored - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamerMirrored - 推流设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerMirrored - - - //api/name/streamerMirrored - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/streamerMirrored - 推流设置成镜像模式,默认为NO - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerMirrored - - - //api/name/streamerMirrored - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerFreezed: - 推流的画面是否冻结 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerFreezed - - - //api/name/streamerFreezed - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamerFreezed - 推流的画面是否冻结 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerFreezed - - - //api/name/streamerFreezed - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/streamerFreezed - 推流的画面是否冻结 (默认为NO) - KSYGPUStreamerKit.h - - @property (nonatomic, assign) BOOL streamerFreezed - - - //api/name/streamerFreezed - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewOrientation: - 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation previewOrientation - - - //api/name/previewOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/previewOrientation - 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation previewOrientation - - - //api/name/previewOrientation - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/previewOrientation - 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation previewOrientation - - - //api/name/previewOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamOrientation: - 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation streamOrientation - - - //api/name/streamOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamOrientation - 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation streamOrientation - - - //api/name/streamOrientation - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/streamOrientation - 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) UIInterfaceOrientation streamOrientation - - - //api/name/streamOrientation - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/rotatePreviewTo: - 根据UI的朝向旋转预览视图, 保证预览视图全屏铺满窗口 - KSYGPUStreamerKit.h - - - (void)rotatePreviewTo:(UIInterfaceOrientation)orie - - - orie - 旋转到目标朝向, 需要从demo中获取UI的朝向传入 - - - - //api/name/rotatePreviewTo: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/rotateStreamTo: - 根据UI的朝向旋转推流画面, 这个是可以选的,可以不跟随旋转 - KSYGPUStreamerKit.h - - - (void)rotateStreamTo:(UIInterfaceOrientation)orie - - - orie - 旋转到目标朝向, 需要从demo中获取UI的朝向传入 - - - - //api/name/rotateStreamTo: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoPic: - 水印logo的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *logoPic - - - //api/name/logoPic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/logoPic - 水印logo的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *logoPic - - - //api/name/logoPic - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/logoPic - 水印logo的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *logoPic - - - //api/name/logoPic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoOrientaion: - 设置水印图片的朝向 - KSYGPUStreamerKit.h - - - (void)setLogoOrientaion:(UIImageOrientation)orien + - (NSString *_Nonnull)getPipStateName:(MPMoviePlaybackState)stat - orien - 图片的朝向 + stat + 状态 - //api/name/setLogoOrientaion: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setTextPic: - 文字内容的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *textPic - - - //api/name/textPic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/textPic - 文字内容的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *textPic - - - //api/name/textPic - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/textPic - 文字内容的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImagePicture *textPic - - - //api/name/textPic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setAePic: - 贴纸的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImageUIElement *aePic - - - //api/name/aePic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/aePic - 贴纸的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImageUIElement *aePic - - - //api/name/aePic - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/aePic - 贴纸的图片 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) GPUImageUIElement *aePic - - - //api/name/aePic - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoRect: - 水印logo的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect logoRect - - - //api/name/logoRect - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/logoRect - 水印logo的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect logoRect - - - //api/name/logoRect - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/logoRect - 水印logo的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect logoRect - - - //api/name/logoRect - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoAlpha: - 水印logo的图片的位置 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGFloat logoAlpha - - - //api/name/logoAlpha - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/logoAlpha - 水印logo的图片的位置 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGFloat logoAlpha - - - //api/name/logoAlpha - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/logoAlpha - 水印logo的图片的位置 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGFloat logoAlpha - - - //api/name/logoAlpha - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setTextLabel: - 水印文字的label - KSYGPUStreamerKit.h - - - //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel - - - - @property (nonatomic, readwrite) UILabel *textLabel - - - //api/name/textLabel - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/textLabel - 水印文字的label - KSYGPUStreamerKit.h - - - //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel - - - - @property (nonatomic, readwrite) UILabel *textLabel - - - //api/name/textLabel - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/textLabel - 水印文字的label - KSYGPUStreamerKit.h - - - //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel - - - - @property (nonatomic, readwrite) UILabel *textLabel - - - //api/name/textLabel - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setTextRect: - 水印文字的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect textRect - - - //api/name/textRect - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/textRect - 水印文字的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect textRect - - - //api/name/textRect - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/textRect - 水印文字的图片的位置和大小 - KSYGPUStreamerKit.h - - @property (nonatomic, readwrite) CGRect textRect - - - //api/name/textRect - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel - 刷新水印文字的内容 - KSYGPUStreamerKit.h - - - (void)updateTextLabel - - - //api/name/updateTextLabel - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/focusAtPoint: - 当前采集设备是否支持自动变焦 -@param point相机对焦的位置 - KSYGPUStreamerKit.h - - - (BOOL)focusAtPoint:(CGPoint)point - - YES / NO - //api/name/focusAtPoint: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/exposureAtPoint: - 当前采集设备是否支持自动曝光 -@param point相机曝光的位置 - KSYGPUStreamerKit.h - - - (BOOL)exposureAtPoint:(CGPoint)point - - YES / NO - //api/name/exposureAtPoint: - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setPinchZoomFactor: - 触摸缩放因子 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGFloat pinchZoomFactor - - - //api/name/pinchZoomFactor - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/pinchZoomFactor - 触摸缩放因子 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGFloat pinchZoomFactor - - - //api/name/pinchZoomFactor - - - - - //apple_ref/occ/instp/KSYGPUStreamerKit/pinchZoomFactor - 触摸缩放因子 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) CGFloat pinchZoomFactor - - - //api/name/pinchZoomFactor - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerProfile: - 采集和推流配置参数 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYStreamerProfile streamerProfile - - - //api/name/streamerProfile - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/streamerProfile - 采集和推流配置参数 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) KSYStreamerProfile streamerProfile - - - //api/name/streamerProfile + //api/name/getPipStateName: - //apple_ref/occ/instp/KSYGPUStreamerKit/streamerProfile - 采集和推流配置参数 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/getCurPipStateName + 获取当前状态对应的字符串 + KSYGPUPipStreamerKit.h - @property (nonatomic, assign) KSYStreamerProfile streamerProfile + - (NSString *_Nonnull)getCurPipStateName - //api/name/streamerProfile + //api/name/getCurPipStateName - //apple_ref/occ/instm/KSYGPUStreamerKit/setStabilizationMode: - 摄像头防抖模式,切换摄像头后需要进行重新设置 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/setPipState: + 播放状态 + KSYGPUPipStreamerKit.h - @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode + @property (nonatomic, readonly) MPMoviePlaybackState PipState - //api/name/stabilizationMode + //api/name/PipState - //apple_ref/occ/instm/KSYGPUStreamerKit/stabilizationMode - 摄像头防抖模式,切换摄像头后需要进行重新设置 - KSYGPUStreamerKit.h + //apple_ref/occ/instm/KSYGPUPipStreamerKit/PipState + 播放状态 + KSYGPUPipStreamerKit.h - @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode + @property (nonatomic, readonly) MPMoviePlaybackState PipState - //api/name/stabilizationMode + //api/name/PipState - //apple_ref/occ/instp/KSYGPUStreamerKit/stabilizationMode - 摄像头防抖模式,切换摄像头后需要进行重新设置 - KSYGPUStreamerKit.h - - @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode - + //apple_ref/occ/instp/KSYGPUPipStreamerKit/PipState + 播放状态 + KSYGPUPipStreamerKit.h - //api/name/stabilizationMode - - - - - //apple_ref/occ/instm/KSYGPUStreamerKit/processMessageData: - 用户待发送的消息 -@param messageData待发送的消息 - KSYGPUStreamerKit.h + @property (nonatomic, readonly) MPMoviePlaybackState PipState - - (BOOL)processMessageData:(NSDictionary *)messageData - YES / NO - //api/name/processMessageData: + //api/name/PipState diff --git a/doc/docset/Contents/Resources/Tokens30.xml b/doc/docset/Contents/Resources/Tokens30.xml index ecacc1f..5f56abb 100644 --- a/doc/docset/Contents/Resources/Tokens30.xml +++ b/doc/docset/Contents/Resources/Tokens30.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYGPUView - UIView subclass to use as an endpoint for displaying GPUImage outputs - KSYGPUView.h + //apple_ref/occ/cl/KSYGPUStreamerKit + KSY 直播推流工具类 + KSYGPUStreamerKit.h @@ -13,148 +13,2251 @@ - //apple_ref/occ/instm/KSYGPUView/setFillMode: - 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/initWithDefaultCfg + 初始化方法 + KSYGPUStreamerKit.h - @property (readwrite, nonatomic) GPUImageFillModeType fillMode + - (instancetype)initWithDefaultCfg - //api/name/fillMode + //api/name/initWithDefaultCfg - //apple_ref/occ/instm/KSYGPUView/fillMode - 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/initWithInterruptCfg + 初始化方法 + KSYGPUStreamerKit.h - @property (readwrite, nonatomic) GPUImageFillModeType fillMode + - (instancetype)initWithInterruptCfg - //api/name/fillMode + //api/name/initWithInterruptCfg - //apple_ref/occ/instp/KSYGPUView/fillMode - 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/getKSYVersion + 获取SDK版本号 + KSYGPUStreamerKit.h - @property (readwrite, nonatomic) GPUImageFillModeType fillMode + - (NSString *)getKSYVersion - //api/name/fillMode + //api/name/getKSYVersion - //apple_ref/occ/instm/KSYGPUView/setSizeInPixels: - This calculates the current display size, in pixels, taking into account Retina scaling factors - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/setVCapDev: + 视频采集设备 + KSYGPUStreamerKit.h - @property (readonly, nonatomic) CGSize sizeInPixels + @property (nonatomic, readonly) KSYAVFCapture *vCapDev - //api/name/sizeInPixels + //api/name/vCapDev - //apple_ref/occ/instm/KSYGPUView/sizeInPixels - This calculates the current display size, in pixels, taking into account Retina scaling factors - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/vCapDev + 视频采集设备 + KSYGPUStreamerKit.h - @property (readonly, nonatomic) CGSize sizeInPixels + @property (nonatomic, readonly) KSYAVFCapture *vCapDev - //api/name/sizeInPixels + //api/name/vCapDev - //apple_ref/occ/instp/KSYGPUView/sizeInPixels - This calculates the current display size, in pixels, taking into account Retina scaling factors - KSYGPUView.h + //apple_ref/occ/instp/KSYGPUStreamerKit/vCapDev + 视频采集设备 + KSYGPUStreamerKit.h - @property (readonly, nonatomic) CGSize sizeInPixels + @property (nonatomic, readonly) KSYAVFCapture *vCapDev - //api/name/sizeInPixels + //api/name/vCapDev - //apple_ref/occ/instm/KSYGPUView/setEnabled: - GPUImageInput 启用 - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/setFilter: + 获取当前使用的滤镜 + KSYGPUStreamerKit.h - @property (nonatomic) BOOL enabled + @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter - //api/name/enabled + //api/name/filter - //apple_ref/occ/instm/KSYGPUView/enabled - GPUImageInput 启用 - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/filter + 获取当前使用的滤镜 + KSYGPUStreamerKit.h - @property (nonatomic) BOOL enabled + @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter - //api/name/enabled + //api/name/filter - //apple_ref/occ/instp/KSYGPUView/enabled - GPUImageInput 启用 - KSYGPUView.h + //apple_ref/occ/instp/KSYGPUStreamerKit/filter + 获取当前使用的滤镜 + KSYGPUStreamerKit.h - @property (nonatomic) BOOL enabled + @property (nonatomic, readonly) GPUImageOutput<GPUImageInput> *filter - //api/name/enabled + //api/name/filter - //apple_ref/occ/instm/KSYGPUView/setBackgroundColorRed:green:blue:alpha: - Handling fill mode - KSYGPUView.h + //apple_ref/occ/instm/KSYGPUStreamerKit/setVPreviewMixer: + 图像混合器 for 预览 + KSYGPUStreamerKit.h - - (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent + @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + + + //api/name/vPreviewMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/vPreviewMixer + 图像混合器 for 预览 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + + + //api/name/vPreviewMixer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/vPreviewMixer + 图像混合器 for 预览 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicMixer *vPreviewMixer + + + //api/name/vPreviewMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setVStreamMixer: + 图像混合器 for 推流 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + + + //api/name/vStreamMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/vStreamMixer + 图像混合器 for 推流 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + + + //api/name/vStreamMixer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/vStreamMixer + 图像混合器 for 推流 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicMixer *vStreamMixer + + + //api/name/vStreamMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPreview: + 预览视图 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUView *preview + + + //api/name/preview + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/preview + 预览视图 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUView *preview + + + //api/name/preview + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/preview + 预览视图 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUView *preview + + + //api/name/preview + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCapToGpu: + 采集到的图像上传GPU + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + + + //api/name/capToGpu + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/capToGpu + 采集到的图像上传GPU + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + + + //api/name/capToGpu + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/capToGpu + 采集到的图像上传GPU + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicInput *capToGpu + + + //api/name/capToGpu + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setGpuToStr: + 获取渲染的图像 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + + + //api/name/gpuToStr + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/gpuToStr + 获取渲染的图像 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + + + //api/name/gpuToStr + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/gpuToStr + 获取渲染的图像 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYGPUPicOutput *gpuToStr + + + //api/name/gpuToStr + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setACapDev: + 音频采集设备 Audio Unit 音频采集 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/aCapDev + 音频采集设备 Audio Unit 音频采集 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/aCapDev + 音频采集设备 Audio Unit 音频采集 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAUAudioCapture *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setBgmPlayer: + 背景音乐播放器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer + + + //api/name/bgmPlayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/bgmPlayer + 背景音乐播放器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer + + + //api/name/bgmPlayer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/bgmPlayer + 背景音乐播放器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYBgmPlayer *bgmPlayer + + + //api/name/bgmPlayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAMixer: + 音频混合器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/aMixer + 音频混合器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/aMixer + 音频混合器 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioCaptureType: + 音频采集模式 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioCapType audioCaptureType + + + //api/name/audioCaptureType + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/audioCaptureType + 音频采集模式 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioCapType audioCaptureType + + + //api/name/audioCaptureType + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioCaptureType + 音频采集模式 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioCapType audioCaptureType + + + //api/name/audioCaptureType + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setMsgStreamer: + 消息通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYMessage *msgStreamer + + + //api/name/msgStreamer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/msgStreamer + 消息通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYMessage *msgStreamer + + + //api/name/msgStreamer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/msgStreamer + 消息通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYMessage *msgStreamer + + + //api/name/msgStreamer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerBase: + 获取初始化时创建的底层推流工具 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamerBase + 获取初始化时创建的底层推流工具 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamerBase + 获取初始化时创建的底层推流工具 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setMaxAutoRetry: + 自动重连次数 关闭(0), 开启(>0), 默认为0 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int maxAutoRetry + + + //api/name/maxAutoRetry + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/maxAutoRetry + 自动重连次数 关闭(0), 开启(>0), 默认为0 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int maxAutoRetry + + + //api/name/maxAutoRetry + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/maxAutoRetry + 自动重连次数 关闭(0), 开启(>0), 默认为0 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int maxAutoRetry + + + //api/name/maxAutoRetry + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAutoRetryDelay: + 自动重连延时, 发现连接错误后, 重试的延时 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) double autoRetryDelay + + + //api/name/autoRetryDelay + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/autoRetryDelay + 自动重连延时, 发现连接错误后, 重试的延时 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) double autoRetryDelay + + + //api/name/autoRetryDelay + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/autoRetryDelay + 自动重连延时, 发现连接错误后, 重试的延时 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) double autoRetryDelay + + + //api/name/autoRetryDelay + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCameraLayer: + 摄像头图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger cameraLayer + + + //api/name/cameraLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/cameraLayer + 摄像头图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger cameraLayer + + + //api/name/cameraLayer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/cameraLayer + 摄像头图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger cameraLayer + + + //api/name/cameraLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoPicLayer: + logo 图片的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoPicLayer + + + //api/name/logoPicLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/logoPicLayer + logo 图片的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoPicLayer + + + //api/name/logoPicLayer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/logoPicLayer + logo 图片的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoPicLayer + + + //api/name/logoPicLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoTxtLayer: + logo 文字的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoTxtLayer + + + //api/name/logoTxtLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/logoTxtLayer + logo 文字的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoTxtLayer + + + //api/name/logoTxtLayer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/logoTxtLayer + logo 文字的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger logoTxtLayer + + + //api/name/logoTxtLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAeLayer: + 贴纸的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger aeLayer + + + //api/name/aeLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/aeLayer + 贴纸的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger aeLayer + + + //api/name/aeLayer + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/aeLayer + 贴纸的图层 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) NSInteger aeLayer + + + //api/name/aeLayer + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setMicTrack: + 麦克风通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int micTrack + + + //api/name/micTrack + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/micTrack + 麦克风通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int micTrack + + + //api/name/micTrack + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/micTrack + 麦克风通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int micTrack + + + //api/name/micTrack + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setBgmTrack: + 背景音乐通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int bgmTrack + + + //api/name/bgmTrack + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/bgmTrack + 背景音乐通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int bgmTrack + + + //api/name/bgmTrack + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/bgmTrack + 背景音乐通道 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) int bgmTrack + + + //api/name/bgmTrack + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCaptureState: + 当前采集设备状况 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYCaptureState captureState + + + //api/name/captureState + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/captureState + 当前采集设备状况 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYCaptureState captureState + + + //api/name/captureState + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/captureState + 当前采集设备状况 + KSYGPUStreamerKit.h + + @property (nonatomic, readonly) KSYCaptureState captureState + + + //api/name/captureState + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/getCaptureStateName: + 获取采集状态对应的字符串 + KSYGPUStreamerKit.h + + - (NSString *)getCaptureStateName:(KSYCaptureState)stat + + + //api/name/getCaptureStateName: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/getCurCaptureStateName + 获取当前采集状态对应的字符串 + KSYGPUStreamerKit.h + + - (NSString *)getCurCaptureStateName + + + //api/name/getCurCaptureStateName + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/startPreview: + 启动预览 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/videoFPS + + + + - (void)startPreview:(UIView *)view + + + view + 预览画面作为subview,插入到 view 的最底层 + + + + //api/name/startPreview: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/startVideoCap + 开启视频配置和采集 + KSYGPUStreamerKit.h + + - (BOOL)startVideoCap + + + //api/name/startVideoCap + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/startAudioCap + 开始音频配置和采集 + KSYGPUStreamerKit.h + + - (BOOL)startAudioCap + + + //api/name/startAudioCap + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/stopPreview + 停止预览,停止采集设备,并清理会话 + KSYGPUStreamerKit.h + + - (void)stopPreview + + + //api/name/stopPreview + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/appEnterBackground + 进入后台: 暂停图像采集 + KSYGPUStreamerKit.h + + - (void)appEnterBackground + + + //api/name/appEnterBackground + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/appBecomeActive + 回到前台: 恢复采集 + KSYGPUStreamerKit.h + + - (void)appBecomeActive + + + //api/name/appBecomeActive + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCapPreset: + 采集分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) NSString *capPreset + + + //api/name/capPreset + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/capPreset + 采集分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) NSString *capPreset + + + //api/name/capPreset + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/capPreset + 采集分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) NSString *capPreset + + + //api/name/capPreset + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/captureDimension + 查询实际的采集分辨率 + KSYGPUStreamerKit.h + + - (CGSize)captureDimension + + + //api/name/captureDimension + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewDimension: + 预览分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGSize previewDimension + + + //api/name/previewDimension + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/previewDimension + 预览分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGSize previewDimension + + + //api/name/previewDimension + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension + 预览分辨率 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGSize previewDimension + + + //api/name/previewDimension + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamDimension: + 用户定义的视频 推流 分辨率 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension + + + + @property (nonatomic, assign) CGSize streamDimension + + + //api/name/streamDimension + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamDimension + 用户定义的视频 推流 分辨率 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension + + + + @property (nonatomic, assign) CGSize streamDimension + + + //api/name/streamDimension + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamDimension + 用户定义的视频 推流 分辨率 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewDimension + + + + @property (nonatomic, assign) CGSize streamDimension + + + //api/name/streamDimension + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCapturePixelFormat: + 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType capturePixelFormat + + + //api/name/capturePixelFormat + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/capturePixelFormat + 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType capturePixelFormat + + + //api/name/capturePixelFormat + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/capturePixelFormat + 采集模块输出的像素格式 (默认:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType capturePixelFormat + + + //api/name/capturePixelFormat + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setGpuOutputPixelFormat: + gpu output pixel format (默认:kCVPixelFormatType_32BGRA) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType gpuOutputPixelFormat + + + //api/name/gpuOutputPixelFormat + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/gpuOutputPixelFormat + gpu output pixel format (默认:kCVPixelFormatType_32BGRA) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType gpuOutputPixelFormat + + + //api/name/gpuOutputPixelFormat + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/gpuOutputPixelFormat + gpu output pixel format (默认:kCVPixelFormatType_32BGRA) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) OSType gpuOutputPixelFormat + + + //api/name/gpuOutputPixelFormat + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoFPS: + 采集及编码视频帧率 (开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int videoFPS + + + //api/name/videoFPS + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/videoFPS + 采集及编码视频帧率 (开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int videoFPS + + + //api/name/videoFPS + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/videoFPS + 采集及编码视频帧率 (开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) int videoFPS + + + //api/name/videoFPS + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setCameraPosition: + 摄像头位置 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition + + + //api/name/cameraPosition + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/cameraPosition + 摄像头位置 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition + + + //api/name/cameraPosition + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/cameraPosition + 摄像头位置 (仅在开始采集前设置有效) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureDevicePosition cameraPosition + + + //api/name/cameraPosition + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoOrientation: + 摄像头朝向, 只在启动采集前设置有效 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation + + + //api/name/videoOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/videoOrientation + 摄像头朝向, 只在启动采集前设置有效 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation + + + //api/name/videoOrientation + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/videoOrientation + 摄像头朝向, 只在启动采集前设置有效 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) UIInterfaceOrientation videoOrientation + + + //api/name/videoOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setBStereoAudioStream: + 是否用双声道推流 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL bStereoAudioStream + + + //api/name/bStereoAudioStream + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/bStereoAudioStream + 是否用双声道推流 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL bStereoAudioStream + + + //api/name/bStereoAudioStream + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/bStereoAudioStream + 是否用双声道推流 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL bStereoAudioStream + + + //api/name/bStereoAudioStream + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/switchCamera + 切换摄像头 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/cameraPosition + + + + - (BOOL)switchCamera + + TRUE: 成功切换摄像头, FALSE:当前参数,下一个摄像头不支持,切换失败 + //api/name/switchCamera + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/isTorchSupported + 当前采集设备是否支持闪光灯 + KSYGPUStreamerKit.h + + - (BOOL)isTorchSupported + + YES / NO + //api/name/isTorchSupported + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/toggleTorch + 开关闪光灯 + KSYGPUStreamerKit.h + + - (void)toggleTorch + + + //api/name/toggleTorch + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setTorchMode: + 设置闪光灯 + KSYGPUStreamerKit.h + + - (void)setTorchMode:(AVCaptureTorchMode)mode + + + mode + AVCaptureTorchModeOn/Off + + + + //api/name/setTorchMode: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/getCurrentCameraDevices + 获取当前采集设备的指针 + KSYGPUStreamerKit.h + + - (AVCaptureDevice *)getCurrentCameraDevices + + AVCaptureDevice* 预览开始前调用返回为nil,开始预览后,返回当前正在使用的摄像头 + //api/name/getCurrentCameraDevices + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setVideoProcessingCallback: + 视频处理回调接口 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback + + + sampleBuffer + 原始采集到的视频数据 + + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/videoProcessingCallback + 视频处理回调接口 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback + + + sampleBuffer + 原始采集到的视频数据 + + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/videoProcessingCallback + 视频处理回调接口 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) videoProcessingCallback + + + sampleBuffer + 原始采集到的视频数据 + + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioProcessingCallback: + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback + + + //api/name/audioProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/audioProcessingCallback + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback + + + //api/name/audioProcessingCallback + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioProcessingCallback + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( CMSampleBufferRef sampleBuffer ) audioProcessingCallback + + + //api/name/audioProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPcmProcessingCallback: + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback + + + //api/name/pcmProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/pcmProcessingCallback + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback + + + //api/name/pcmProcessingCallback + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/pcmProcessingCallback + 音频处理回调接口 + KSYGPUStreamerKit.h + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + + + + @property (nonatomic, copy) void ( ^ ) ( uint8_t **pData , int len , const AudioStreamBasicDescription *fmt , CMTime timeInfo ) pcmProcessingCallback + + + //api/name/pcmProcessingCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAudioDataType: + 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioDataType audioDataType + + + //api/name/audioDataType + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/audioDataType + 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioDataType audioDataType + + + //api/name/audioDataType + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/audioDataType + 音频处理通路数据类型 (默认为 KSYAudioData_CMSampleBuffer) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYAudioDataType audioDataType + + + //api/name/audioDataType + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setInterruptCallback: + 摄像头采集被打断的消息通知 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback + + + //api/name/interruptCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/interruptCallback + 摄像头采集被打断的消息通知 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback + + + //api/name/interruptCallback + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/interruptCallback + 摄像头采集被打断的消息通知 + KSYGPUStreamerKit.h + + @property (nonatomic, copy) void ( ^ ) ( BOOL bInterrupt ) interruptCallback + + + //api/name/interruptCallback + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setupFilter: + 设置当前使用的滤镜 + KSYGPUStreamerKit.h + + - (void)setupFilter:(GPUImageOutput<GPUImageInput> *)filter + + + //api/name/setupFilter: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewMirrored: + 预览设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL previewMirrored + + + //api/name/previewMirrored + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/previewMirrored + 预览设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL previewMirrored + + + //api/name/previewMirrored + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewMirrored + 预览设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL previewMirrored + + + //api/name/previewMirrored + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerMirrored: + 推流设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerMirrored + + + //api/name/streamerMirrored + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamerMirrored + 推流设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerMirrored + + + //api/name/streamerMirrored + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamerMirrored + 推流设置成镜像模式,默认为NO + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerMirrored + + + //api/name/streamerMirrored + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerFreezed: + 推流的画面是否冻结 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerFreezed + + + //api/name/streamerFreezed + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamerFreezed + 推流的画面是否冻结 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerFreezed + + + //api/name/streamerFreezed + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamerFreezed + 推流的画面是否冻结 (默认为NO) + KSYGPUStreamerKit.h + + @property (nonatomic, assign) BOOL streamerFreezed + + + //api/name/streamerFreezed + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPreviewOrientation: + 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation previewOrientation + + + //api/name/previewOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/previewOrientation + 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation previewOrientation + + + //api/name/previewOrientation + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/previewOrientation + 预览图像朝向, 如果UI能够旋转,需要保持和UI的朝向一致 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation previewOrientation + + + //api/name/previewOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamOrientation: + 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation streamOrientation + + + //api/name/streamOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamOrientation + 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation streamOrientation + + + //api/name/streamOrientation + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamOrientation + 推流图像朝向, 如果UI能够旋转, 可以跟随旋转,也可以不修改 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) UIInterfaceOrientation streamOrientation + + + //api/name/streamOrientation + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/rotatePreviewTo: + 根据UI的朝向旋转预览视图, 保证预览视图全屏铺满窗口 + KSYGPUStreamerKit.h + + - (void)rotatePreviewTo:(UIInterfaceOrientation)orie + + + orie + 旋转到目标朝向, 需要从demo中获取UI的朝向传入 + + + + //api/name/rotatePreviewTo: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/rotateStreamTo: + 根据UI的朝向旋转推流画面, 这个是可以选的,可以不跟随旋转 + KSYGPUStreamerKit.h + + - (void)rotateStreamTo:(UIInterfaceOrientation)orie + + + orie + 旋转到目标朝向, 需要从demo中获取UI的朝向传入 + + + + //api/name/rotateStreamTo: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoPic: + 水印logo的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *logoPic + + + //api/name/logoPic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/logoPic + 水印logo的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *logoPic + + + //api/name/logoPic + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/logoPic + 水印logo的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *logoPic + + + //api/name/logoPic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoOrientaion: + 设置水印图片的朝向 + KSYGPUStreamerKit.h + + - (void)setLogoOrientaion:(UIImageOrientation)orien - redComponent - Red component for background color - - greenComponent - Green component for background color - - blueComponent - Blue component for background color - - alphaComponent - Alpha component for background color + orien + 图片的朝向 - //api/name/setBackgroundColorRed:green:blue:alpha: + //api/name/setLogoOrientaion: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setTextPic: + 文字内容的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *textPic + + + //api/name/textPic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/textPic + 文字内容的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *textPic + + + //api/name/textPic + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/textPic + 文字内容的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImagePicture *textPic + + + //api/name/textPic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setAePic: + 贴纸的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImageUIElement *aePic + + + //api/name/aePic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/aePic + 贴纸的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImageUIElement *aePic + + + //api/name/aePic + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/aePic + 贴纸的图片 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) GPUImageUIElement *aePic + + + //api/name/aePic + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoRect: + 水印logo的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect logoRect + + + //api/name/logoRect + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/logoRect + 水印logo的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect logoRect + + + //api/name/logoRect + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/logoRect + 水印logo的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect logoRect + + + //api/name/logoRect + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setLogoAlpha: + 水印logo的图片的位置 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGFloat logoAlpha + + + //api/name/logoAlpha + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/logoAlpha + 水印logo的图片的位置 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGFloat logoAlpha + + + //api/name/logoAlpha + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/logoAlpha + 水印logo的图片的位置 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGFloat logoAlpha + + + //api/name/logoAlpha + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setTextLabel: + 水印文字的label + KSYGPUStreamerKit.h + + + //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel + + + + @property (nonatomic, readwrite) UILabel *textLabel + + + //api/name/textLabel + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/textLabel + 水印文字的label + KSYGPUStreamerKit.h + + + //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel + + + + @property (nonatomic, readwrite) UILabel *textLabel + + + //api/name/textLabel + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/textLabel + 水印文字的label + KSYGPUStreamerKit.h + + + //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel + + + + @property (nonatomic, readwrite) UILabel *textLabel + + + //api/name/textLabel + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setTextRect: + 水印文字的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect textRect + + + //api/name/textRect + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/textRect + 水印文字的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect textRect + + + //api/name/textRect + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/textRect + 水印文字的图片的位置和大小 + KSYGPUStreamerKit.h + + @property (nonatomic, readwrite) CGRect textRect + + + //api/name/textRect + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/updateTextLabel + 刷新水印文字的内容 + KSYGPUStreamerKit.h + + - (void)updateTextLabel + + + //api/name/updateTextLabel + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/focusAtPoint: + 当前采集设备是否支持自动变焦 +@param point相机对焦的位置 + KSYGPUStreamerKit.h + + - (BOOL)focusAtPoint:(CGPoint)point + + YES / NO + //api/name/focusAtPoint: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/exposureAtPoint: + 当前采集设备是否支持自动曝光 +@param point相机曝光的位置 + KSYGPUStreamerKit.h + + - (BOOL)exposureAtPoint:(CGPoint)point + + YES / NO + //api/name/exposureAtPoint: + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setPinchZoomFactor: + 触摸缩放因子 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGFloat pinchZoomFactor + + + //api/name/pinchZoomFactor + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/pinchZoomFactor + 触摸缩放因子 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGFloat pinchZoomFactor + + + //api/name/pinchZoomFactor + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/pinchZoomFactor + 触摸缩放因子 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) CGFloat pinchZoomFactor + + + //api/name/pinchZoomFactor + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStreamerProfile: + 采集和推流配置参数 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYStreamerProfile streamerProfile + + + //api/name/streamerProfile + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/streamerProfile + 采集和推流配置参数 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYStreamerProfile streamerProfile + + + //api/name/streamerProfile + + + + + //apple_ref/occ/instp/KSYGPUStreamerKit/streamerProfile + 采集和推流配置参数 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) KSYStreamerProfile streamerProfile + + + //api/name/streamerProfile + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/setStabilizationMode: + 摄像头防抖模式,切换摄像头后需要进行重新设置 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode + + + //api/name/stabilizationMode + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/stabilizationMode + 摄像头防抖模式,切换摄像头后需要进行重新设置 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode + + + //api/name/stabilizationMode - //apple_ref/occ/instm/KSYGPUView/setCurrentlyReceivingMonochromeInput: - 是否接收单通道输入 - KSYGPUView.h + //apple_ref/occ/instp/KSYGPUStreamerKit/stabilizationMode + 摄像头防抖模式,切换摄像头后需要进行重新设置 + KSYGPUStreamerKit.h + + @property (nonatomic, assign) AVCaptureVideoStabilizationMode stabilizationMode + - - (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue + //api/name/stabilizationMode + + + + + //apple_ref/occ/instm/KSYGPUStreamerKit/processMessageData: + 用户待发送的消息 +@param messageData待发送的消息 + KSYGPUStreamerKit.h + - (BOOL)processMessageData:(NSDictionary *)messageData - //api/name/setCurrentlyReceivingMonochromeInput: + YES / NO + //api/name/processMessageData: diff --git a/doc/docset/Contents/Resources/Tokens31.xml b/doc/docset/Contents/Resources/Tokens31.xml index 77a0a7a..542abaf 100644 --- a/doc/docset/Contents/Resources/Tokens31.xml +++ b/doc/docset/Contents/Resources/Tokens31.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYGPUViewCapture - GPU UIView视图 采集模块 - KSYGPUViewCapture.h + //apple_ref/occ/cl/KSYGPUTwoInputFiter + 双输入滤镜 + KSYGPUTwoInputFiter.h @@ -13,185 +13,39 @@ - //apple_ref/occ/instm/KSYGPUViewCapture/initWithView: - 设置需要采集的视图 - KSYGPUViewCapture.h + //apple_ref/occ/instm/KSYGPUTwoInputFiter/reload: + 重新载入加密的shader串 + KSYGPUTwoInputFiter.h - - (id)initWithView:(UIView *)inputView + - (void)reload:(NSString *)fragmentShaderString - inputView - 被采集的视图 + fragmentShaderString + 加密的片原shader - 采集实例 - //api/name/initWithView: - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/initWithLayer: - 设置需要采集的视图图层 - KSYGPUViewCapture.h - - - (id)initWithLayer:(CALayer *)inputLayer - - - inputLayer - 被采集的图层 - - - 采集实例 - //api/name/initWithLayer: - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/layerSizeInPixels - - KSYGPUViewCapture.h - - - (CGSize)layerSizeInPixels - - - //api/name/layerSizeInPixels - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/update - 更新画面内容 使用无效时间戳 - KSYGPUViewCapture.h - - - (void)update - - //api/name/update + //api/name/reload: - //apple_ref/occ/instm/KSYGPUViewCapture/updateUsingCurrentTime - 更新画面内容 使用当前时间戳 - KSYGPUViewCapture.h + //apple_ref/occ/instm/KSYGPUTwoInputFiter/reloadVS:andFS: + 重新载入加密的shader串 + KSYGPUTwoInputFiter.h - - (void)updateUsingCurrentTime - - - //api/name/updateUsingCurrentTime - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/updateWithTimestamp: - 更新画面内容 - KSYGPUViewCapture.h - - - (void)updateWithTimestamp:(CMTime)frameTime + - (void)reloadVS:(NSString *)vertexShaderString andFS:(NSString *)fragmentShaderString - frameTime - 时间戳 + vertexShaderString + 顶点shader(未加密) + + fragmentShaderString + 片原shader(加密的) - //api/name/updateWithTimestamp: - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/setUpdateFps: - UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) - KSYGPUViewCapture.h - - @property int updateFps - - - //api/name/updateFps - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/updateFps - UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) - KSYGPUViewCapture.h - - @property int updateFps - - - //api/name/updateFps - - - - - //apple_ref/occ/instp/KSYGPUViewCapture/updateFps - UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) - KSYGPUViewCapture.h - - @property int updateFps - - - //api/name/updateFps - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/start - 启动采集 - KSYGPUViewCapture.h - - - (void)start - - - //api/name/start - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/stop - 停止采集 - KSYGPUViewCapture.h - - - (void)stop - - - //api/name/stop - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/setPaused: - 暂停 / 继续 - KSYGPUViewCapture.h - - @property BOOL paused - - - //api/name/paused - - - - - //apple_ref/occ/instm/KSYGPUViewCapture/paused - 暂停 / 继续 - KSYGPUViewCapture.h - - @property BOOL paused - - - //api/name/paused - - - - - //apple_ref/occ/instp/KSYGPUViewCapture/paused - 暂停 / 继续 - KSYGPUViewCapture.h - - @property BOOL paused - - - //api/name/paused + //api/name/reloadVS:andFS: diff --git a/doc/docset/Contents/Resources/Tokens32.xml b/doc/docset/Contents/Resources/Tokens32.xml index 9a725cc..e759e7a 100644 --- a/doc/docset/Contents/Resources/Tokens32.xml +++ b/doc/docset/Contents/Resources/Tokens32.xml @@ -1,18 +1,163 @@ - + - //apple_ref/occ/cl/KSYGPUYUVInput - GPU图像输输入 -过期的类, 请使用KSYGPUPicInput - KSYGPUPicInput.h + //apple_ref/occ/cl/KSYGPUView + UIView subclass to use as an endpoint for displaying GPUImage outputs + KSYGPUView.h + + //apple_ref/occ/instm/KSYGPUView/setFillMode: + 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio + KSYGPUView.h + + @property (readwrite, nonatomic) GPUImageFillModeType fillMode + + + //api/name/fillMode + + + + + //apple_ref/occ/instm/KSYGPUView/fillMode + 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio + KSYGPUView.h + + @property (readwrite, nonatomic) GPUImageFillModeType fillMode + + + //api/name/fillMode + + + + + //apple_ref/occ/instp/KSYGPUView/fillMode + 画面填充模式, 默认值为kGPUImageFillModePreserveAspectRatio + KSYGPUView.h + + @property (readwrite, nonatomic) GPUImageFillModeType fillMode + + + //api/name/fillMode + + + + + //apple_ref/occ/instm/KSYGPUView/setSizeInPixels: + This calculates the current display size, in pixels, taking into account Retina scaling factors + KSYGPUView.h + + @property (readonly, nonatomic) CGSize sizeInPixels + + + //api/name/sizeInPixels + + + + + //apple_ref/occ/instm/KSYGPUView/sizeInPixels + This calculates the current display size, in pixels, taking into account Retina scaling factors + KSYGPUView.h + + @property (readonly, nonatomic) CGSize sizeInPixels + + + //api/name/sizeInPixels + + + + + //apple_ref/occ/instp/KSYGPUView/sizeInPixels + This calculates the current display size, in pixels, taking into account Retina scaling factors + KSYGPUView.h + + @property (readonly, nonatomic) CGSize sizeInPixels + + + //api/name/sizeInPixels + + + + + //apple_ref/occ/instm/KSYGPUView/setEnabled: + GPUImageInput 启用 + KSYGPUView.h + + @property (nonatomic) BOOL enabled + + + //api/name/enabled + + + + + //apple_ref/occ/instm/KSYGPUView/enabled + GPUImageInput 启用 + KSYGPUView.h + + @property (nonatomic) BOOL enabled + + + //api/name/enabled + + + + + //apple_ref/occ/instp/KSYGPUView/enabled + GPUImageInput 启用 + KSYGPUView.h + + @property (nonatomic) BOOL enabled + + + //api/name/enabled + + + + + //apple_ref/occ/instm/KSYGPUView/setBackgroundColorRed:green:blue:alpha: + Handling fill mode + KSYGPUView.h + + - (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent + + + redComponent + Red component for background color + + greenComponent + Green component for background color + + blueComponent + Blue component for background color + + alphaComponent + Alpha component for background color + + + + //api/name/setBackgroundColorRed:green:blue:alpha: + + + + + //apple_ref/occ/instm/KSYGPUView/setCurrentlyReceivingMonochromeInput: + 是否接收单通道输入 + KSYGPUView.h + + - (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue + + + //api/name/setCurrentlyReceivingMonochromeInput: + + + diff --git a/doc/docset/Contents/Resources/Tokens33.xml b/doc/docset/Contents/Resources/Tokens33.xml index 3aae827..20620b3 100644 --- a/doc/docset/Contents/Resources/Tokens33.xml +++ b/doc/docset/Contents/Resources/Tokens33.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMediaInfo - 媒体信息 - KSYMediaInfo.h + //apple_ref/occ/cl/KSYGPUViewCapture + GPU UIView视图 采集模块 + KSYGPUViewCapture.h @@ -13,182 +13,185 @@ - //apple_ref/occ/instm/KSYMediaInfo/setType: - 封装格式,具体类型为MEDIAINFOMUXTYPE - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/initWithView: + 设置需要采集的视图 + KSYGPUViewCapture.h - @property (nonatomic) MEDIAINFO_MUX_TYPE type - - - //api/name/type - - - - - //apple_ref/occ/instm/KSYMediaInfo/type - 封装格式,具体类型为MEDIAINFOMUXTYPE - KSYMediaInfo.h - - @property (nonatomic) MEDIAINFO_MUX_TYPE type - - - //api/name/type + - (id)initWithView:(UIView *)inputView + + + inputView + 被采集的视图 + + + 采集实例 + //api/name/initWithView: - //apple_ref/occ/instp/KSYMediaInfo/type - 封装格式,具体类型为MEDIAINFOMUXTYPE - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/initWithLayer: + 设置需要采集的视图图层 + KSYGPUViewCapture.h - @property (nonatomic) MEDIAINFO_MUX_TYPE type - - - //api/name/type + - (id)initWithLayer:(CALayer *)inputLayer + + + inputLayer + 被采集的图层 + + + 采集实例 + //api/name/initWithLayer: - //apple_ref/occ/instm/KSYMediaInfo/setBitrate: - 码率 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/layerSizeInPixels + + KSYGPUViewCapture.h - @property (nonatomic, assign) int64_t bitrate + - (CGSize)layerSizeInPixels - //api/name/bitrate + //api/name/layerSizeInPixels - //apple_ref/occ/instm/KSYMediaInfo/bitrate - 码率 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/update + 更新画面内容 使用无效时间戳 + KSYGPUViewCapture.h - @property (nonatomic, assign) int64_t bitrate + - (void)update - //api/name/bitrate + //api/name/update - //apple_ref/occ/instp/KSYMediaInfo/bitrate - 码率 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/updateUsingCurrentTime + 更新画面内容 使用当前时间戳 + KSYGPUViewCapture.h - @property (nonatomic, assign) int64_t bitrate + - (void)updateUsingCurrentTime - //api/name/bitrate + //api/name/updateUsingCurrentTime - //apple_ref/occ/instm/KSYMediaInfo/setDuration: - 视频总时长,单位是秒 - KSYMediaInfo.h - - @property (nonatomic, assign) NSTimeInterval duration + //apple_ref/occ/instm/KSYGPUViewCapture/updateWithTimestamp: + 更新画面内容 + KSYGPUViewCapture.h + - (void)updateWithTimestamp:(CMTime)frameTime + + + frameTime + 时间戳 + + - //api/name/duration + //api/name/updateWithTimestamp: - //apple_ref/occ/instm/KSYMediaInfo/duration - 视频总时长,单位是秒 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/setUpdateFps: + UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) + KSYGPUViewCapture.h - @property (nonatomic, assign) NSTimeInterval duration + @property int updateFps - //api/name/duration + //api/name/updateFps - //apple_ref/occ/instp/KSYMediaInfo/duration - 视频总时长,单位是秒 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/updateFps + UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) + KSYGPUViewCapture.h - @property (nonatomic, assign) NSTimeInterval duration + @property int updateFps - //api/name/duration + //api/name/updateFps - //apple_ref/occ/instm/KSYMediaInfo/setVideos: - 所有视频流信息,具体对象类型为KSYVideoInfo - KSYMediaInfo.h + //apple_ref/occ/instp/KSYGPUViewCapture/updateFps + UI刷新的频率 默认值为15 (有效值fps=60/N, 比如60, 30, 20, 15, 10等) + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *videos + @property int updateFps - //api/name/videos + //api/name/updateFps - //apple_ref/occ/instm/KSYMediaInfo/videos - 所有视频流信息,具体对象类型为KSYVideoInfo - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/start + 启动采集 + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *videos + - (void)start - //api/name/videos + //api/name/start - //apple_ref/occ/instp/KSYMediaInfo/videos - 所有视频流信息,具体对象类型为KSYVideoInfo - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/stop + 停止采集 + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *videos + - (void)stop - //api/name/videos + //api/name/stop - //apple_ref/occ/instm/KSYMediaInfo/setAudios: - 所有音频流信息,具体对象类型为KSYAudioInfo - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/setPaused: + 暂停 / 继续 + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *audios + @property BOOL paused - //api/name/audios + //api/name/paused - //apple_ref/occ/instm/KSYMediaInfo/audios - 所有音频流信息,具体对象类型为KSYAudioInfo - KSYMediaInfo.h + //apple_ref/occ/instm/KSYGPUViewCapture/paused + 暂停 / 继续 + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *audios + @property BOOL paused - //api/name/audios + //api/name/paused - //apple_ref/occ/instp/KSYMediaInfo/audios - 所有音频流信息,具体对象类型为KSYAudioInfo - KSYMediaInfo.h + //apple_ref/occ/instp/KSYGPUViewCapture/paused + 暂停 / 继续 + KSYGPUViewCapture.h - @property (nonatomic) NSMutableArray *audios + @property BOOL paused - //api/name/audios + //api/name/paused diff --git a/doc/docset/Contents/Resources/Tokens34.xml b/doc/docset/Contents/Resources/Tokens34.xml index b049469..864a03c 100644 --- a/doc/docset/Contents/Resources/Tokens34.xml +++ b/doc/docset/Contents/Resources/Tokens34.xml @@ -1,357 +1,18 @@ - + - //apple_ref/occ/cl/KSYMediaInfoProber - KSYMediaInfoProber - KSYMediaInfoProber.h + //apple_ref/occ/cl/KSYGPUYUVInput + GPU图像输输入 +过期的类, 请使用KSYGPUPicInput + KSYGPUPicInput.h - - //apple_ref/occ/instm/KSYMediaInfoProber/initWithContentURL: - 初始化文件格式探测器并设置播放地址 - KSYMediaInfoProber.h - - - (instancetype)initWithContentURL:(NSURL *)url - - - url - 待探测格式的文件地址,该地址可以是本地地址或者服务器地址. - - - 返回KSYMediaInfoProber对象 - //api/name/initWithContentURL: - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setTimeout: - 文件格式探测时间,单位是秒,默认值是3秒 - KSYMediaInfoProber.h - - @property (nonatomic) NSTimeInterval timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/timeout - 文件格式探测时间,单位是秒,默认值是3秒 - KSYMediaInfoProber.h - - @property (nonatomic) NSTimeInterval timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/timeout - 文件格式探测时间,单位是秒,默认值是3秒 - KSYMediaInfoProber.h - - @property (nonatomic) NSTimeInterval timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setBAccelerate: - 是否要加速探测速度 - KSYMediaInfoProber.h - - @property (nonatomic) BOOL bAccelerate - - - //api/name/bAccelerate - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/bAccelerate - 是否要加速探测速度 - KSYMediaInfoProber.h - - @property (nonatomic) BOOL bAccelerate - - - //api/name/bAccelerate - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/bAccelerate - 是否要加速探测速度 - KSYMediaInfoProber.h - - @property (nonatomic) BOOL bAccelerate - - - //api/name/bAccelerate - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setHttpHeaders: - 发送http请求时需要header带上的字段 - KSYMediaInfoProber.h - - - (void)setHttpHeaders:(NSDictionary *)headers - - - //api/name/setHttpHeaders: - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setUrl: - 待探测的文件格式地址 - KSYMediaInfoProber.h - - @property (nonatomic, copy) NSURL *url - - - //api/name/url - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/url - 待探测的文件格式地址 - KSYMediaInfoProber.h - - @property (nonatomic, copy) NSURL *url - - - //api/name/url - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/url - 待探测的文件格式地址 - KSYMediaInfoProber.h - - @property (nonatomic, copy) NSURL *url - - - //api/name/url - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setBH264Codec: - 编码类型是否是h264 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bH264Codec - - - //api/name/bH264Codec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/bH264Codec - 编码类型是否是h264 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bH264Codec - - - //api/name/bH264Codec - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/bH264Codec - 编码类型是否是h264 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bH264Codec - - - //api/name/bH264Codec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setBHEVCCodec: - 编码类型是否是hevc - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bHEVCCodec - - - //api/name/bHEVCCodec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/bHEVCCodec - 编码类型是否是hevc - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bHEVCCodec - - - //api/name/bHEVCCodec - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/bHEVCCodec - 编码类型是否是hevc - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bHEVCCodec - - - //api/name/bHEVCCodec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setBAACCodec: - 编码类型是否是aac - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bAACCodec - - - //api/name/bAACCodec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/bAACCodec - 编码类型是否是aac - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bAACCodec - - - //api/name/bAACCodec - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/bAACCodec - 编码类型是否是aac - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bAACCodec - - - //api/name/bAACCodec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setBMP3Codec: - 编码类型是否是mp3 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bMP3Codec - - - //api/name/bMP3Codec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/bMP3Codec - 编码类型是否是mp3 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bMP3Codec - - - //api/name/bMP3Codec - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/bMP3Codec - 编码类型是否是mp3 - KSYMediaInfoProber.h - - @property (nonatomic, readonly) BOOL bMP3Codec - - - //api/name/bMP3Codec - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/setKsyMediaInfo: - 媒体信息, 具体对象类型为KSYMediaInfo - KSYMediaInfoProber.h - - @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - - - //api/name/ksyMediaInfo - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/ksyMediaInfo - 媒体信息, 具体对象类型为KSYMediaInfo - KSYMediaInfoProber.h - - @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - - - //api/name/ksyMediaInfo - - - - - //apple_ref/occ/instp/KSYMediaInfoProber/ksyMediaInfo - 媒体信息, 具体对象类型为KSYMediaInfo - KSYMediaInfoProber.h - - @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - - - //api/name/ksyMediaInfo - - - - - //apple_ref/occ/instm/KSYMediaInfoProber/getVideoThumbnailImageAtTime:width:height: - 获取视频缩略图 - KSYMediaInfoProber.h - - - (UIImage *)getVideoThumbnailImageAtTime:(NSTimeInterval)seekTime width:(int)width height:(int)height - - - seekTime - 指定的时间位置,单位为s, 小于0时无法截图 - - width - 缩略图的宽度 - - height - 缩略图的高度 - - - 返回UIImage对象,即为缩略图 - //api/name/getVideoThumbnailImageAtTime:width:height: - - - diff --git a/doc/docset/Contents/Resources/Tokens35.xml b/doc/docset/Contents/Resources/Tokens35.xml index 14e441f..875f636 100644 --- a/doc/docset/Contents/Resources/Tokens35.xml +++ b/doc/docset/Contents/Resources/Tokens35.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMessage - - KSYMessage.h + //apple_ref/occ/cl/KSYMediaInfo + 媒体信息 + KSYMediaInfo.h @@ -13,54 +13,182 @@ - //apple_ref/occ/instm/KSYMessage/processMessageData: - 处理消息数据 -@param 消息数据 - KSYMessage.h + //apple_ref/occ/instm/KSYMediaInfo/setType: + 封装格式,具体类型为MEDIAINFOMUXTYPE + KSYMediaInfo.h - - (BOOL)processMessageData:(NSMutableDictionary *)messageData + @property (nonatomic) MEDIAINFO_MUX_TYPE type - //api/name/processMessageData: + //api/name/type - //apple_ref/occ/instm/KSYMessage/setMessageProcessingCallback: - 消息处理回调接口 -@param 消息数据 - KSYMessage.h + //apple_ref/occ/instm/KSYMediaInfo/type + 封装格式,具体类型为MEDIAINFOMUXTYPE + KSYMediaInfo.h - @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback + @property (nonatomic) MEDIAINFO_MUX_TYPE type - //api/name/messageProcessingCallback + //api/name/type - //apple_ref/occ/instm/KSYMessage/messageProcessingCallback - 消息处理回调接口 -@param 消息数据 - KSYMessage.h + //apple_ref/occ/instp/KSYMediaInfo/type + 封装格式,具体类型为MEDIAINFOMUXTYPE + KSYMediaInfo.h - @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback + @property (nonatomic) MEDIAINFO_MUX_TYPE type - //api/name/messageProcessingCallback + //api/name/type - //apple_ref/occ/instp/KSYMessage/messageProcessingCallback - 消息处理回调接口 -@param 消息数据 - KSYMessage.h + //apple_ref/occ/instm/KSYMediaInfo/setBitrate: + 码率 + KSYMediaInfo.h - @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback + @property (nonatomic, assign) int64_t bitrate - //api/name/messageProcessingCallback + //api/name/bitrate + + + + + //apple_ref/occ/instm/KSYMediaInfo/bitrate + 码率 + KSYMediaInfo.h + + @property (nonatomic, assign) int64_t bitrate + + + //api/name/bitrate + + + + + //apple_ref/occ/instp/KSYMediaInfo/bitrate + 码率 + KSYMediaInfo.h + + @property (nonatomic, assign) int64_t bitrate + + + //api/name/bitrate + + + + + //apple_ref/occ/instm/KSYMediaInfo/setDuration: + 视频总时长,单位是秒 + KSYMediaInfo.h + + @property (nonatomic, assign) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYMediaInfo/duration + 视频总时长,单位是秒 + KSYMediaInfo.h + + @property (nonatomic, assign) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instp/KSYMediaInfo/duration + 视频总时长,单位是秒 + KSYMediaInfo.h + + @property (nonatomic, assign) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYMediaInfo/setVideos: + 所有视频流信息,具体对象类型为KSYVideoInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *videos + + + //api/name/videos + + + + + //apple_ref/occ/instm/KSYMediaInfo/videos + 所有视频流信息,具体对象类型为KSYVideoInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *videos + + + //api/name/videos + + + + + //apple_ref/occ/instp/KSYMediaInfo/videos + 所有视频流信息,具体对象类型为KSYVideoInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *videos + + + //api/name/videos + + + + + //apple_ref/occ/instm/KSYMediaInfo/setAudios: + 所有音频流信息,具体对象类型为KSYAudioInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *audios + + + //api/name/audios + + + + + //apple_ref/occ/instm/KSYMediaInfo/audios + 所有音频流信息,具体对象类型为KSYAudioInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *audios + + + //api/name/audios + + + + + //apple_ref/occ/instp/KSYMediaInfo/audios + 所有音频流信息,具体对象类型为KSYAudioInfo + KSYMediaInfo.h + + @property (nonatomic) NSMutableArray *audios + + + //api/name/audios diff --git a/doc/docset/Contents/Resources/Tokens36.xml b/doc/docset/Contents/Resources/Tokens36.xml index 1dab5a6..3d0ab46 100644 --- a/doc/docset/Contents/Resources/Tokens36.xml +++ b/doc/docset/Contents/Resources/Tokens36.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMoviePlayerController - KSYMoviePlayerController - KSYMoviePlayerController.h + //apple_ref/occ/cl/KSYMediaInfoProber + KSYMediaInfoProber + KSYMediaInfoProber.h @@ -13,1927 +13,342 @@ - //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL: - 初始化播放器并设置播放地址 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/initWithContentURL: + 初始化文件格式探测器并设置播放地址 + KSYMediaInfoProber.h - (instancetype)initWithContentURL:(NSURL *)url url - 视频播放地址,该地址可以是本地地址或者服务器地址. + 待探测格式的文件地址,该地址可以是本地地址或者服务器地址. - 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped.返回KSYMoviePlayerController 实例 + 返回KSYMediaInfoProber对象 //api/name/initWithContentURL: - //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL:sharegroup: - 初始化播放器并设置播放地址 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setTimeout: + 文件格式探测时间,单位是秒,默认值是3秒 + KSYMediaInfoProber.h - - (instancetype)initWithContentURL:(NSURL *)url sharegroup:(EAGLSharegroup *)sharegroup - - - url - 视频播放地址,该地址可以是本地地址或者服务器地址. - - sharegroup - opengl的sharegroup, 用于共享视频渲染texture - - - 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped. - //api/name/initWithContentURL:sharegroup: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL:fileList:sharegroup: - 初始化播放器并设置播放地址 - KSYMoviePlayerController.h - - - (instancetype)initWithContentURL:(NSURL *)url fileList:(NSArray *)fileList sharegroup:(EAGLSharegroup *)sharegroup - - - url - 视频播放的绝对地址,可以设置为nil; - - sharegroup - opengl的sharegroup, 用于共享视频渲染texture, 可以设置为nil - - list - 分片列表,可以设置为nil - - - 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped. - //api/name/initWithContentURL:fileList:sharegroup: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setContentURL: - 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSURL *contentURL - - - //api/name/contentURL - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/contentURL - 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSURL *contentURL - - - //api/name/contentURL - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/contentURL - 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSURL *contentURL - - - //api/name/contentURL - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setFileList: - 正在播放的视频文件的list列表 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSArray *fileList - - - //api/name/fileList - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/fileList - 正在播放的视频文件的list列表 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSArray *fileList - - - //api/name/fileList - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/fileList - 正在播放的视频文件的list列表 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSArray *fileList - - - //api/name/fileList - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setView: - 包含视频播放内容的VIEW(只读)。 - KSYMoviePlayerController.h - - - //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode - - - - @property (nonatomic, readonly) UIView *view - - - //api/name/view - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/view - 包含视频播放内容的VIEW(只读)。 - KSYMoviePlayerController.h - - - //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode - - - - @property (nonatomic, readonly) UIView *view - - - //api/name/view - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/view - 包含视频播放内容的VIEW(只读)。 - KSYMoviePlayerController.h - - - //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode - - - - @property (nonatomic, readonly) UIView *view - - - //api/name/view - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setControlStyle: - 该属性当前不支持 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieControlStyle controlStyle - - - //api/name/controlStyle - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/controlStyle - 该属性当前不支持 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieControlStyle controlStyle - - - //api/name/controlStyle - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/controlStyle - 该属性当前不支持 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieControlStyle controlStyle - - - //api/name/controlStyle - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setPlaybackState: - 当前播放器的播放状态(只读)。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMoviePlaybackState playbackState - - - //api/name/playbackState - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/playbackState - 当前播放器的播放状态(只读)。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMoviePlaybackState playbackState - - - //api/name/playbackState - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/playbackState - 当前播放器的播放状态(只读)。 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMoviePlaybackState playbackState - - - //api/name/playbackState - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setLoadState: - 当前网络加载情况 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMovieLoadState loadState - - - //api/name/loadState - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/loadState - 当前网络加载情况 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMovieLoadState loadState - - - //api/name/loadState - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/loadState - 当前网络加载情况 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) MPMovieLoadState loadState - - - //api/name/loadState - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldAutoplay: - 播放视频时是否需要自动播放,默认值为YES。 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldAutoplay - - - //api/name/shouldAutoplay - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldAutoplay - 播放视频时是否需要自动播放,默认值为YES。 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldAutoplay - - - //api/name/shouldAutoplay - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldAutoplay - 播放视频时是否需要自动播放,默认值为YES。 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldAutoplay - - - //api/name/shouldAutoplay - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setScalingMode: - 当前缩放显示模式。 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieScalingMode scalingMode - - - //api/name/scalingMode - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/scalingMode - 当前缩放显示模式。 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieScalingMode scalingMode - - - //api/name/scalingMode - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode - 当前缩放显示模式。 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieScalingMode scalingMode - - - //api/name/scalingMode - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setDuration: - 当前视频总时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval duration - - - //api/name/duration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/duration - 当前视频总时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval duration - - - //api/name/duration - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/duration - 当前视频总时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval duration - - - //api/name/duration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setPlayableDuration: - 当前视频可播放长度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval playableDuration - - - //api/name/playableDuration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/playableDuration - 当前视频可播放长度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval playableDuration - - - //api/name/playableDuration - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/playableDuration - 当前视频可播放长度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval playableDuration - - - //api/name/playableDuration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldEnableKSYStatModule: - 数据统计,默认开启 - KSYMoviePlayerController.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldEnableKSYStatModule - 数据统计,默认开启 - KSYMoviePlayerController.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldEnableKSYStatModule - 数据统计,默认开启 - KSYMoviePlayerController.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setNaturalSize: - 当前视频宽高 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) CGSize naturalSize - - - //api/name/naturalSize - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/naturalSize - 当前视频宽高 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) CGSize naturalSize - - - //api/name/naturalSize - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/naturalSize - 当前视频宽高 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) CGSize naturalSize - - - //api/name/naturalSize - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setNaturalRotate: - 当前视频自带旋转(逆时针)角度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger naturalRotate - - - //api/name/naturalRotate - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/naturalRotate - 当前视频自带旋转(逆时针)角度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger naturalRotate - - - //api/name/naturalRotate - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/naturalRotate - 当前视频自带旋转(逆时针)角度 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger naturalRotate - - - //api/name/naturalRotate - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setLogBlock: - 获取播放器日志 - KSYMoviePlayerController.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/logBlock - 获取播放器日志 - KSYMoviePlayerController.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/logBlock - 获取播放器日志 - KSYMoviePlayerController.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setBufferTimeMax: - bufferTimeMax指定播放时的缓冲时长,单位秒 - KSYMoviePlayerController.h - - @property NSTimeInterval bufferTimeMax - - - //api/name/bufferTimeMax - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/bufferTimeMax - bufferTimeMax指定播放时的缓冲时长,单位秒 - KSYMoviePlayerController.h - - @property NSTimeInterval bufferTimeMax - - - //api/name/bufferTimeMax - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/bufferTimeMax - bufferTimeMax指定播放时的缓冲时长,单位秒 - KSYMoviePlayerController.h - - @property NSTimeInterval bufferTimeMax - - - //api/name/bufferTimeMax - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setBufferSizeMax: - bufferSizeMax指定点播播放时的最大缓冲,单位MB - KSYMoviePlayerController.h - - @property NSUInteger bufferSizeMax - - - //api/name/bufferSizeMax - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/bufferSizeMax - bufferSizeMax指定点播播放时的最大缓冲,单位MB - KSYMoviePlayerController.h - - @property NSUInteger bufferSizeMax - - - //api/name/bufferSizeMax - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/bufferSizeMax - bufferSizeMax指定点播播放时的最大缓冲,单位MB - KSYMoviePlayerController.h - - @property NSUInteger bufferSizeMax - - - //api/name/bufferSizeMax - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setReadSize: - 已经加载的数据大小 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) double readSize - - - //api/name/readSize - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/readSize - 已经加载的数据大小 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) double readSize - - - //api/name/readSize - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/readSize - 已经加载的数据大小 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) double readSize - - - //api/name/readSize - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setBufferEmptyDuration: - buffer为空时,拉取数据所耗的时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration - - - //api/name/bufferEmptyDuration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/bufferEmptyDuration - buffer为空时,拉取数据所耗的时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration - - - //api/name/bufferEmptyDuration - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/bufferEmptyDuration - buffer为空时,拉取数据所耗的时长 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration - - - //api/name/bufferEmptyDuration - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setBufferEmptyCount: - 发起cache的次数 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger bufferEmptyCount - - - //api/name/bufferEmptyCount - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/bufferEmptyCount - 发起cache的次数 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger bufferEmptyCount - - - //api/name/bufferEmptyCount - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/bufferEmptyCount - 发起cache的次数 - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSInteger bufferEmptyCount - - - //api/name/bufferEmptyCount - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setServerAddress: - 视频流server ip - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *serverAddress - - - //api/name/serverAddress - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/serverAddress - 视频流server ip - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *serverAddress - - - //api/name/serverAddress - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/serverAddress - 视频流server ip - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *serverAddress - - - //api/name/serverAddress - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setClientIP: - 客户端出口IP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *clientIP - - - //api/name/clientIP - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/clientIP - 客户端出口IP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *clientIP - - - //api/name/clientIP - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/clientIP - 客户端出口IP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *clientIP - - - //api/name/clientIP - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setLocalDNSIP: - 客户端LocalDNSIP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *localDNSIP - - - //api/name/localDNSIP - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/localDNSIP - 客户端LocalDNSIP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *localDNSIP - - - //api/name/localDNSIP - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/localDNSIP - 客户端LocalDNSIP - KSYMoviePlayerController.h - - @property (nonatomic, readonly) NSString *localDNSIP - - - //api/name/localDNSIP - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setQosInfo: - 视频流qos信息 - KSYMoviePlayerController.h - - @property (nonatomic, strong) KSYQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/qosInfo - 视频流qos信息 - KSYMoviePlayerController.h - - @property (nonatomic, strong) KSYQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/qosInfo - 视频流qos信息 - KSYMoviePlayerController.h - - @property (nonatomic, strong) KSYQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/thumbnailImageAtCurrentTime - 截图 - KSYMoviePlayerController.h - - - (UIImage *)thumbnailImageAtCurrentTime - - 当前时刻的视频UIImage 图像 - //api/name/thumbnailImageAtCurrentTime - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldEnableVideoPostProcessing: - 是否开启视频后处理 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldEnableVideoPostProcessing - - - //api/name/shouldEnableVideoPostProcessing - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldEnableVideoPostProcessing - 是否开启视频后处理 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldEnableVideoPostProcessing - - - //api/name/shouldEnableVideoPostProcessing - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldEnableVideoPostProcessing - 是否开启视频后处理 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldEnableVideoPostProcessing - - - //api/name/shouldEnableVideoPostProcessing - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setVideoDecoderMode: - 是否开启硬件解码 - KSYMoviePlayerController.h - - @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode - - - //api/name/videoDecoderMode - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/videoDecoderMode - 是否开启硬件解码 - KSYMoviePlayerController.h - - @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode - - - //api/name/videoDecoderMode - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/videoDecoderMode - 是否开启硬件解码 - KSYMoviePlayerController.h - - @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode - - - //api/name/videoDecoderMode - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldMute: - 是否静音 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldMute - - - //api/name/shouldMute - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldMute - 是否静音 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldMute - - - //api/name/shouldMute - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldMute - 是否静音 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldMute - - - //api/name/shouldMute - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldHideVideo: - 是否隐藏视频 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldHideVideo - - - //api/name/shouldHideVideo - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldHideVideo - 是否隐藏视频 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldHideVideo - - - //api/name/shouldHideVideo - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldHideVideo - 是否隐藏视频 - - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldHideVideo - - - //api/name/shouldHideVideo - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setShouldLoop: - 是否循环播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldLoop - - - //api/name/shouldLoop - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/shouldLoop - 是否循环播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldLoop - - - //api/name/shouldLoop - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/shouldLoop - 是否循环播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL shouldLoop - - - //api/name/shouldLoop - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setVideoDataBlock: - 视频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyVideoDataBlock - - - - @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock - - - //api/name/videoDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/videoDataBlock - 视频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyVideoDataBlock - - - - @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock - - - //api/name/videoDataBlock - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/videoDataBlock - 视频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyVideoDataBlock - - - - @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock - - - //api/name/videoDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setAudioDataBlock: - 音频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock - - - //api/name/audioDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/audioDataBlock - 音频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock - - - //api/name/audioDataBlock - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/audioDataBlock - 音频数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock - - - //api/name/audioDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setMessageDataBlock: - 消息数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyMessageDataBlock - - - - @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock - - - //api/name/messageDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/messageDataBlock - 消息数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyMessageDataBlock - - - - @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock - - - //api/name/messageDataBlock - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/messageDataBlock - 消息数据回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyMessageDataBlock - - - - @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock - - - //api/name/messageDataBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setTextureBlock: - 视频图像texture回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyTextureBlock textureBlock - - - //api/name/textureBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/textureBlock - 视频图像texture回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyTextureBlock textureBlock - - - //api/name/textureBlock - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/textureBlock - 视频图像texture回调 - KSYMoviePlayerController.h - - - //apple_ref/c/tdef/KSYPlyAudioDataBlock - - - - @property (nonatomic, copy) KSYPlyTextureBlock textureBlock - - - //api/name/textureBlock - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setRotateDegress: - 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 - KSYMoviePlayerController.h - - @property (nonatomic) int rotateDegress - - - //api/name/rotateDegress - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/rotateDegress - 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 - KSYMoviePlayerController.h - - @property (nonatomic) int rotateDegress - - - //api/name/rotateDegress - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/rotateDegress - 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 - KSYMoviePlayerController.h - - @property (nonatomic) int rotateDegress - - - //api/name/rotateDegress - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setMirror: - 指定视频是否镜像显示 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL mirror - - - //api/name/mirror - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/mirror - 指定视频是否镜像显示 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL mirror - - - //api/name/mirror - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/mirror - 指定视频是否镜像显示 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL mirror - - - //api/name/mirror - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setSuperFastPlay: - 快速播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL superFastPlay - - - //api/name/superFastPlay - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/superFastPlay - 快速播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL superFastPlay - - - //api/name/superFastPlay - - - - - //apple_ref/occ/instp/KSYMoviePlayerController/superFastPlay - 快速播放 - KSYMoviePlayerController.h - - @property (nonatomic) BOOL superFastPlay - - - //api/name/superFastPlay - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setDeinterlaceMode: - 是否进行视频反交错处理 - KSYMoviePlayerController.h - - @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode - - - //api/name/deinterlaceMode - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/deinterlaceMode - 是否进行视频反交错处理 - KSYMoviePlayerController.h + @property (nonatomic) NSTimeInterval timeout - @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode - - //api/name/deinterlaceMode + //api/name/timeout - //apple_ref/occ/instp/KSYMoviePlayerController/deinterlaceMode - 是否进行视频反交错处理 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/timeout + 文件格式探测时间,单位是秒,默认值是3秒 + KSYMediaInfoProber.h - @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode + @property (nonatomic) NSTimeInterval timeout - //api/name/deinterlaceMode + //api/name/timeout - //apple_ref/occ/instm/KSYMoviePlayerController/setBInterruptOtherAudio: - 是否打断其他后台的音乐播放 - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/timeout + 文件格式探测时间,单位是秒,默认值是3秒 + KSYMediaInfoProber.h - @property (nonatomic) BOOL bInterruptOtherAudio + @property (nonatomic) NSTimeInterval timeout - //api/name/bInterruptOtherAudio + //api/name/timeout - //apple_ref/occ/instm/KSYMoviePlayerController/bInterruptOtherAudio - 是否打断其他后台的音乐播放 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setBAccelerate: + 是否要加速探测速度 + KSYMediaInfoProber.h - @property (nonatomic) BOOL bInterruptOtherAudio + @property (nonatomic) BOOL bAccelerate - //api/name/bInterruptOtherAudio + //api/name/bAccelerate - //apple_ref/occ/instp/KSYMoviePlayerController/bInterruptOtherAudio - 是否打断其他后台的音乐播放 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/bAccelerate + 是否要加速探测速度 + KSYMediaInfoProber.h - @property (nonatomic) BOOL bInterruptOtherAudio + @property (nonatomic) BOOL bAccelerate - //api/name/bInterruptOtherAudio + //api/name/bAccelerate - //apple_ref/occ/instm/KSYMoviePlayerController/setAudioPan: - 立体声平衡模式,默认立体声输出 - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/bAccelerate + 是否要加速探测速度 + KSYMediaInfoProber.h - @property (nonatomic) MPMovieAudioPan audioPan + @property (nonatomic) BOOL bAccelerate - //api/name/audioPan + //api/name/bAccelerate - //apple_ref/occ/instm/KSYMoviePlayerController/audioPan - 立体声平衡模式,默认立体声输出 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setHttpHeaders: + 发送http请求时需要header带上的字段 + KSYMediaInfoProber.h - @property (nonatomic) MPMovieAudioPan audioPan + - (void)setHttpHeaders:(NSDictionary *)headers - //api/name/audioPan + //api/name/setHttpHeaders: - //apple_ref/occ/instp/KSYMoviePlayerController/audioPan - 立体声平衡模式,默认立体声输出 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setUrl: + 待探测的文件格式地址 + KSYMediaInfoProber.h - @property (nonatomic) MPMovieAudioPan audioPan + @property (nonatomic, copy) NSURL *url - //api/name/audioPan + //api/name/url - //apple_ref/occ/instm/KSYMoviePlayerController/setNetworkDetectURL: - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/url + 待探测的文件格式地址 + KSYMediaInfoProber.h - @property (nonatomic, readwrite) NSString *networkDetectURL + @property (nonatomic, copy) NSURL *url - //api/name/networkDetectURL + //api/name/url - //apple_ref/occ/instm/KSYMoviePlayerController/networkDetectURL - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/url + 待探测的文件格式地址 + KSYMediaInfoProber.h - @property (nonatomic, readwrite) NSString *networkDetectURL + @property (nonatomic, copy) NSURL *url - //api/name/networkDetectURL + //api/name/url - //apple_ref/occ/instp/KSYMoviePlayerController/networkDetectURL - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setBH264Codec: + 编码类型是否是h264 + KSYMediaInfoProber.h - @property (nonatomic, readwrite) NSString *networkDetectURL + @property (nonatomic, readonly) BOOL bH264Codec - //api/name/networkDetectURL + //api/name/bH264Codec - //apple_ref/occ/instm/KSYMoviePlayerController/setNetworkStatus: - 网络连通状态 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/bH264Codec + 编码类型是否是h264 + KSYMediaInfoProber.h - @property (nonatomic, readonly) KSYNetworkStatus networkStatus + @property (nonatomic, readonly) BOOL bH264Codec - //api/name/networkStatus + //api/name/bH264Codec - //apple_ref/occ/instm/KSYMoviePlayerController/networkStatus - 网络连通状态 - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/bH264Codec + 编码类型是否是h264 + KSYMediaInfoProber.h - @property (nonatomic, readonly) KSYNetworkStatus networkStatus + @property (nonatomic, readonly) BOOL bH264Codec - //api/name/networkStatus + //api/name/bH264Codec - //apple_ref/occ/instp/KSYMoviePlayerController/networkStatus - 网络连通状态 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setBHEVCCodec: + 编码类型是否是hevc + KSYMediaInfoProber.h - @property (nonatomic, readonly) KSYNetworkStatus networkStatus + @property (nonatomic, readonly) BOOL bHEVCCodec - //api/name/networkStatus + //api/name/bHEVCCodec - //apple_ref/occ/instm/KSYMoviePlayerController/setPlaybackSpeed: - 设置播放速度,取值范围(0.5~2.0),默认1.0 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/bHEVCCodec + 编码类型是否是hevc + KSYMediaInfoProber.h - @property (nonatomic) float playbackSpeed + @property (nonatomic, readonly) BOOL bHEVCCodec - //api/name/playbackSpeed + //api/name/bHEVCCodec - //apple_ref/occ/instm/KSYMoviePlayerController/playbackSpeed - 设置播放速度,取值范围(0.5~2.0),默认1.0 - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/bHEVCCodec + 编码类型是否是hevc + KSYMediaInfoProber.h - @property (nonatomic) float playbackSpeed + @property (nonatomic, readonly) BOOL bHEVCCodec - //api/name/playbackSpeed + //api/name/bHEVCCodec - //apple_ref/occ/instp/KSYMoviePlayerController/playbackSpeed - 设置播放速度,取值范围(0.5~2.0),默认1.0 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setBAACCodec: + 编码类型是否是aac + KSYMediaInfoProber.h - @property (nonatomic) float playbackSpeed + @property (nonatomic, readonly) BOOL bAACCodec - //api/name/playbackSpeed + //api/name/bAACCodec - //apple_ref/occ/instm/KSYMoviePlayerController/setTimeout:readTimeout: - timeout指定拉流超时时间,单位是秒 - KSYMoviePlayerController.h - - - (void)setTimeout:(int)prepareTimeout readTimeout:(int)readTimeout - - - prepareTimeout - 建立链接超时时间,默认值是10秒 - - readTimeout - 拉流超时时间,默认值是30秒 - - + //apple_ref/occ/instm/KSYMediaInfoProber/bAACCodec + 编码类型是否是aac + KSYMediaInfoProber.h - //api/name/setTimeout:readTimeout: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setVolume:rigthVolume: - setVolume指定播放器输出音量 - KSYMoviePlayerController.h + @property (nonatomic, readonly) BOOL bAACCodec - - (void)setVolume:(float)leftVolume rigthVolume:(float)rightVolume - - - leftVolume - left volume scalar [0~2.0f] - - rightVolume - right volume scalar [0~2.0f] - - - //api/name/setVolume:rigthVolume: + //api/name/bAACCodec - //apple_ref/occ/instm/KSYMoviePlayerController/getVersion - 获取sdk版本 - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/bAACCodec + 编码类型是否是aac + KSYMediaInfoProber.h - - (NSString *)getVersion + @property (nonatomic, readonly) BOOL bAACCodec - //api/name/getVersion + //api/name/bAACCodec - //apple_ref/occ/instm/KSYMoviePlayerController/getMetadata - 获取播放Meta信息 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/setBMP3Codec: + 编码类型是否是mp3 + KSYMediaInfoProber.h - - (NSDictionary *)getMetadata + @property (nonatomic, readonly) BOOL bMP3Codec - //api/name/getMetadata + //api/name/bMP3Codec - //apple_ref/occ/instm/KSYMoviePlayerController/getMetadata: - 获取播放Meta - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/bMP3Codec + 编码类型是否是mp3 + KSYMediaInfoProber.h - - (NSDictionary *)getMetadata:(MPMovieMetaType)metaType + @property (nonatomic, readonly) BOOL bMP3Codec - //api/name/getMetadata: + //api/name/bMP3Codec - //apple_ref/occ/instm/KSYMoviePlayerController/isPlaying - 当前播放器是否在播放 - KSYMoviePlayerController.h - - - //apple_ref/occ/instp/KSYMoviePlayerController/playbackState - - - - - (BOOL)isPlaying + //apple_ref/occ/instp/KSYMediaInfoProber/bMP3Codec + 编码类型是否是mp3 + KSYMediaInfoProber.h - 获取playbackState信息,如果当前状态为MPMoviePlaybackStatePlaying,则返回TRUE。其他情况返回FASLE。 - //api/name/isPlaying - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/reload: - 重新启动拉流 - KSYMoviePlayerController.h + @property (nonatomic, readonly) BOOL bMP3Codec - - (void)reload:(NSURL *)aUrl - - - aUrl - 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 - - - //api/name/reload: + //api/name/bMP3Codec - //apple_ref/occ/instm/KSYMoviePlayerController/reload:flush: - 重新启动拉流 - KSYMoviePlayerController.h - - - (void)reload:(NSURL *)aUrl flush:(BOOL)flush - - - aUrl - 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 - - flush - 是否清除上一个url的缓冲区内容,该值为NO不清除,为YES则清除 - - + //apple_ref/occ/instm/KSYMediaInfoProber/setKsyMediaInfo: + 媒体信息, 具体对象类型为KSYMediaInfo + KSYMediaInfoProber.h - //api/name/reload:flush: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/reload:flush:mode: - 重新启动拉流 - KSYMoviePlayerController.h + @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - - (void)reload:(NSURL *)aUrl flush:(bool)flush mode:(MPMovieReloadMode)mode - - - aUrl - 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 - - flush - 是否清除上一个url的缓冲区内容,该值为NO不清除,为YES则清除 - - mode - 配置reload后的加载模式,该值为MPMovieReloadMode_Accurate则启用精准查找模式播放 - - - //api/name/reload:flush:mode: + //api/name/ksyMediaInfo - //apple_ref/occ/instm/KSYMoviePlayerController/getCurrentPts - 获取当前播放的pts - KSYMoviePlayerController.h - - - (NSTimeInterval)getCurrentPts + //apple_ref/occ/instm/KSYMediaInfoProber/ksyMediaInfo + 媒体信息, 具体对象类型为KSYMediaInfo + KSYMediaInfoProber.h + @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - //api/name/getCurrentPts - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setUrl: - 设置播放url - KSYMoviePlayerController.h - - - (void)setUrl:(NSURL *)url - - - url - 视频播放地址,该地址可以是本地地址或者服务器地址. - - - //api/name/setUrl: + //api/name/ksyMediaInfo - //apple_ref/occ/instm/KSYMoviePlayerController/setUrl:fileList: - 设置播放url - KSYMoviePlayerController.h + //apple_ref/occ/instp/KSYMediaInfoProber/ksyMediaInfo + 媒体信息, 具体对象类型为KSYMediaInfo + KSYMediaInfoProber.h - - (void)setUrl:(NSURL *)url fileList:(NSArray *)fileList - - - fileList - 分片列表 - - baseURL - 视频播放的绝对地址,该地址可以是本地地址或者服务器地址 - - - - //api/name/setUrl:fileList: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/reset: - 重置播放器 - KSYMoviePlayerController.h + @property (nonatomic, strong) KSYMediaInfo *ksyMediaInfo - - (void)reset:(BOOL)holdLastPic - - - holdLastPic - 是否保留最后一帧 - - - //api/name/reset: + //api/name/ksyMediaInfo - //apple_ref/occ/instm/KSYMoviePlayerController/seekTo:accurate: - 跳转到指定位置播放 - KSYMoviePlayerController.h + //apple_ref/occ/instm/KSYMediaInfoProber/getVideoThumbnailImageAtTime:width:height: + 获取视频缩略图 + KSYMediaInfoProber.h - - (void)seekTo:(double)pos accurate:(BOOL)isAccurate + - (UIImage *)getVideoThumbnailImageAtTime:(NSTimeInterval)seekTime width:(int)width height:(int)height - pos - 跳转到的位置,单位秒 + seekTime + 指定的时间位置,单位为s, 小于0时无法截图 - isAccurate - 是否精确跳转,NO时等同于currentPlaybackTime, YES时为精确跳转 - - - - //api/name/seekTo:accurate: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setHttpHeaders: - 发送http请求时需要header带上的字段 - KSYMoviePlayerController.h - - - (void)setHttpHeaders:(NSDictionary *)headers - - - header - 自定义http header字段 - - - - //api/name/setHttpHeaders: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setTrackSelected:selected: - 设置开启/关闭指定的媒体轨道 - KSYMoviePlayerController.h - - - (void)setTrackSelected:(NSInteger)trackIndex selected:(BOOL)selected - - - trackIndex - - 轨道的stream index + width + 缩略图的宽度 - selected - - 开启/关闭指定媒体轨道 - - - - //api/name/setTrackSelected:selected: - - - - - //apple_ref/occ/instm/KSYMoviePlayerController/setExtSubtitleFilePath: - 设置本地字幕文件的地址 - KSYMoviePlayerController.h - - - (void)setExtSubtitleFilePath:(NSString *)subtitleFilePath - - - subtitleFilePath - 本地字幕文件地址 + height + 缩略图的高度 - - //api/name/setExtSubtitleFilePath: + 返回UIImage对象,即为缩略图 + //api/name/getVideoThumbnailImageAtTime:width:height: diff --git a/doc/docset/Contents/Resources/Tokens37.xml b/doc/docset/Contents/Resources/Tokens37.xml index 90a31d9..d71ca93 100644 --- a/doc/docset/Contents/Resources/Tokens37.xml +++ b/doc/docset/Contents/Resources/Tokens37.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMovieWriter - 视频文件录制类 - KSYMovieWriter.h + //apple_ref/occ/cl/KSYMessage + + KSYMessage.h @@ -13,31 +13,54 @@ - //apple_ref/occ/instm/KSYMovieWriter/startWrite: - write video stream to local files - KSYMovieWriter.h - - - (void)startWrite:(NSURL *)filePath - - - filePath - is local file path - - - - //api/name/startWrite: + //apple_ref/occ/instm/KSYMessage/processMessageData: + 处理消息数据 +@param 消息数据 + KSYMessage.h + + - (BOOL)processMessageData:(NSMutableDictionary *)messageData + + + //api/name/processMessageData: + + + + + //apple_ref/occ/instm/KSYMessage/setMessageProcessingCallback: + 消息处理回调接口 +@param 消息数据 + KSYMessage.h + + @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback + + + //api/name/messageProcessingCallback + + + + + //apple_ref/occ/instm/KSYMessage/messageProcessingCallback + 消息处理回调接口 +@param 消息数据 + KSYMessage.h + + @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback + + + //api/name/messageProcessingCallback - //apple_ref/occ/instm/KSYMovieWriter/stopWrite - stop wirte file - KSYMovieWriter.h + //apple_ref/occ/instp/KSYMessage/messageProcessingCallback + 消息处理回调接口 +@param 消息数据 + KSYMessage.h - - (void)stopWrite + @property (nonatomic, copy) void ( ^ ) ( NSDictionary *messageData ) messageProcessingCallback - //api/name/stopWrite + //api/name/messageProcessingCallback diff --git a/doc/docset/Contents/Resources/Tokens38.xml b/doc/docset/Contents/Resources/Tokens38.xml index a9c1f7f..5d8b6f4 100644 --- a/doc/docset/Contents/Resources/Tokens38.xml +++ b/doc/docset/Contents/Resources/Tokens38.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMvEffect - KSYMvEffect MV特效类 - KSYMvEffect.h + //apple_ref/occ/cl/KSYMoviePlayerController + KSYMoviePlayerController + KSYMoviePlayerController.h @@ -13,58 +13,1927 @@ - //apple_ref/occ/instm/KSYMvEffect/setTimeInfo: - 设置MV特效生成的时间 - KSYMvEffect.h + //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL: + 初始化播放器并设置播放地址 + KSYMoviePlayerController.h + + - (instancetype)initWithContentURL:(NSURL *)url + + + url + 视频播放地址,该地址可以是本地地址或者服务器地址. + + + 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped.返回KSYMoviePlayerController 实例 + //api/name/initWithContentURL: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL:sharegroup: + 初始化播放器并设置播放地址 + KSYMoviePlayerController.h + + - (instancetype)initWithContentURL:(NSURL *)url sharegroup:(EAGLSharegroup *)sharegroup + + + url + 视频播放地址,该地址可以是本地地址或者服务器地址. + + sharegroup + opengl的sharegroup, 用于共享视频渲染texture + + + 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped. + //api/name/initWithContentURL:sharegroup: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/initWithContentURL:fileList:sharegroup: + 初始化播放器并设置播放地址 + KSYMoviePlayerController.h + + - (instancetype)initWithContentURL:(NSURL *)url fileList:(NSArray *)fileList sharegroup:(EAGLSharegroup *)sharegroup + + + url + 视频播放的绝对地址,可以设置为nil; + + sharegroup + opengl的sharegroup, 用于共享视频渲染texture, 可以设置为nil + + list + 分片列表,可以设置为nil + + + 返回KSYMoviePlayerController对象,该对象的视频播放地址ContentURL已经初始化。此时播放器状态为MPMoviePlaybackStateStopped. + //api/name/initWithContentURL:fileList:sharegroup: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setContentURL: + 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSURL *contentURL + + + //api/name/contentURL + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/contentURL + 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSURL *contentURL + + + //api/name/contentURL + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/contentURL + 正在播放的视频文件的URL地址,该地址可以是本地地址或者服务器地址。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSURL *contentURL + + + //api/name/contentURL + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setFileList: + 正在播放的视频文件的list列表 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSArray *fileList + + + //api/name/fileList + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/fileList + 正在播放的视频文件的list列表 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSArray *fileList + + + //api/name/fileList + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/fileList + 正在播放的视频文件的list列表 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSArray *fileList + + + //api/name/fileList + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setView: + 包含视频播放内容的VIEW(只读)。 + KSYMoviePlayerController.h + + + //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode + + + + @property (nonatomic, readonly) UIView *view + + + //api/name/view + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/view + 包含视频播放内容的VIEW(只读)。 + KSYMoviePlayerController.h + + + //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode + + + + @property (nonatomic, readonly) UIView *view + + + //api/name/view + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/view + 包含视频播放内容的VIEW(只读)。 + KSYMoviePlayerController.h + + + //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode + + + + @property (nonatomic, readonly) UIView *view + + + //api/name/view + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setControlStyle: + 该属性当前不支持 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieControlStyle controlStyle + + + //api/name/controlStyle + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/controlStyle + 该属性当前不支持 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieControlStyle controlStyle + + + //api/name/controlStyle + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/controlStyle + 该属性当前不支持 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieControlStyle controlStyle + + + //api/name/controlStyle + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setPlaybackState: + 当前播放器的播放状态(只读)。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMoviePlaybackState playbackState + + + //api/name/playbackState + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/playbackState + 当前播放器的播放状态(只读)。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMoviePlaybackState playbackState + + + //api/name/playbackState + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/playbackState + 当前播放器的播放状态(只读)。 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMoviePlaybackState playbackState + + + //api/name/playbackState + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setLoadState: + 当前网络加载情况 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMovieLoadState loadState + + + //api/name/loadState + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/loadState + 当前网络加载情况 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMovieLoadState loadState + + + //api/name/loadState + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/loadState + 当前网络加载情况 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) MPMovieLoadState loadState + + + //api/name/loadState + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldAutoplay: + 播放视频时是否需要自动播放,默认值为YES。 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldAutoplay + + + //api/name/shouldAutoplay + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldAutoplay + 播放视频时是否需要自动播放,默认值为YES。 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldAutoplay + + + //api/name/shouldAutoplay + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldAutoplay + 播放视频时是否需要自动播放,默认值为YES。 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldAutoplay + + + //api/name/shouldAutoplay + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setScalingMode: + 当前缩放显示模式。 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieScalingMode scalingMode + + + //api/name/scalingMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/scalingMode + 当前缩放显示模式。 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieScalingMode scalingMode + + + //api/name/scalingMode + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/scalingMode + 当前缩放显示模式。 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieScalingMode scalingMode + + + //api/name/scalingMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setDuration: + 当前视频总时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/duration + 当前视频总时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/duration + 当前视频总时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setPlayableDuration: + 当前视频可播放长度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval playableDuration + + + //api/name/playableDuration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/playableDuration + 当前视频可播放长度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval playableDuration + + + //api/name/playableDuration + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/playableDuration + 当前视频可播放长度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval playableDuration + + + //api/name/playableDuration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldEnableKSYStatModule: + 数据统计,默认开启 + KSYMoviePlayerController.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldEnableKSYStatModule + 数据统计,默认开启 + KSYMoviePlayerController.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldEnableKSYStatModule + 数据统计,默认开启 + KSYMoviePlayerController.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setNaturalSize: + 当前视频宽高 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) CGSize naturalSize + + + //api/name/naturalSize + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/naturalSize + 当前视频宽高 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) CGSize naturalSize + + + //api/name/naturalSize + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/naturalSize + 当前视频宽高 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) CGSize naturalSize + + + //api/name/naturalSize + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setNaturalRotate: + 当前视频自带旋转(逆时针)角度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger naturalRotate + + + //api/name/naturalRotate + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/naturalRotate + 当前视频自带旋转(逆时针)角度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger naturalRotate + + + //api/name/naturalRotate + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/naturalRotate + 当前视频自带旋转(逆时针)角度 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger naturalRotate + + + //api/name/naturalRotate + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setLogBlock: + 获取播放器日志 + KSYMoviePlayerController.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/logBlock + 获取播放器日志 + KSYMoviePlayerController.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/logBlock + 获取播放器日志 + KSYMoviePlayerController.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setBufferTimeMax: + bufferTimeMax指定播放时的缓冲时长,单位秒 + KSYMoviePlayerController.h + + @property NSTimeInterval bufferTimeMax + + + //api/name/bufferTimeMax + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/bufferTimeMax + bufferTimeMax指定播放时的缓冲时长,单位秒 + KSYMoviePlayerController.h + + @property NSTimeInterval bufferTimeMax + + + //api/name/bufferTimeMax + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/bufferTimeMax + bufferTimeMax指定播放时的缓冲时长,单位秒 + KSYMoviePlayerController.h + + @property NSTimeInterval bufferTimeMax + + + //api/name/bufferTimeMax + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setBufferSizeMax: + bufferSizeMax指定点播播放时的最大缓冲,单位MB + KSYMoviePlayerController.h + + @property NSUInteger bufferSizeMax + + + //api/name/bufferSizeMax + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/bufferSizeMax + bufferSizeMax指定点播播放时的最大缓冲,单位MB + KSYMoviePlayerController.h + + @property NSUInteger bufferSizeMax + + + //api/name/bufferSizeMax + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/bufferSizeMax + bufferSizeMax指定点播播放时的最大缓冲,单位MB + KSYMoviePlayerController.h + + @property NSUInteger bufferSizeMax + + + //api/name/bufferSizeMax + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setReadSize: + 已经加载的数据大小 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) double readSize + + + //api/name/readSize + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/readSize + 已经加载的数据大小 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) double readSize + + + //api/name/readSize + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/readSize + 已经加载的数据大小 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) double readSize + + + //api/name/readSize + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setBufferEmptyDuration: + buffer为空时,拉取数据所耗的时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration + + + //api/name/bufferEmptyDuration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/bufferEmptyDuration + buffer为空时,拉取数据所耗的时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration + + + //api/name/bufferEmptyDuration + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/bufferEmptyDuration + buffer为空时,拉取数据所耗的时长 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSTimeInterval bufferEmptyDuration + + + //api/name/bufferEmptyDuration + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setBufferEmptyCount: + 发起cache的次数 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger bufferEmptyCount + + + //api/name/bufferEmptyCount + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/bufferEmptyCount + 发起cache的次数 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger bufferEmptyCount + + + //api/name/bufferEmptyCount + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/bufferEmptyCount + 发起cache的次数 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSInteger bufferEmptyCount + + + //api/name/bufferEmptyCount + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setServerAddress: + 视频流server ip + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *serverAddress + + + //api/name/serverAddress + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/serverAddress + 视频流server ip + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *serverAddress + + + //api/name/serverAddress + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/serverAddress + 视频流server ip + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *serverAddress + + + //api/name/serverAddress + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setClientIP: + 客户端出口IP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *clientIP + + + //api/name/clientIP + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/clientIP + 客户端出口IP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *clientIP + + + //api/name/clientIP + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/clientIP + 客户端出口IP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *clientIP + + + //api/name/clientIP + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setLocalDNSIP: + 客户端LocalDNSIP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *localDNSIP + + + //api/name/localDNSIP + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/localDNSIP + 客户端LocalDNSIP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *localDNSIP + + + //api/name/localDNSIP + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/localDNSIP + 客户端LocalDNSIP + KSYMoviePlayerController.h + + @property (nonatomic, readonly) NSString *localDNSIP + + + //api/name/localDNSIP + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setQosInfo: + 视频流qos信息 + KSYMoviePlayerController.h + + @property (nonatomic, strong) KSYQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/qosInfo + 视频流qos信息 + KSYMoviePlayerController.h + + @property (nonatomic, strong) KSYQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/qosInfo + 视频流qos信息 + KSYMoviePlayerController.h + + @property (nonatomic, strong) KSYQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/thumbnailImageAtCurrentTime + 截图 + KSYMoviePlayerController.h + + - (UIImage *)thumbnailImageAtCurrentTime + + 当前时刻的视频UIImage 图像 + //api/name/thumbnailImageAtCurrentTime + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldEnableVideoPostProcessing: + 是否开启视频后处理 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldEnableVideoPostProcessing + + + //api/name/shouldEnableVideoPostProcessing + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldEnableVideoPostProcessing + 是否开启视频后处理 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldEnableVideoPostProcessing + + + //api/name/shouldEnableVideoPostProcessing + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldEnableVideoPostProcessing + 是否开启视频后处理 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldEnableVideoPostProcessing + + + //api/name/shouldEnableVideoPostProcessing + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setVideoDecoderMode: + 是否开启硬件解码 + KSYMoviePlayerController.h + + @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode + + + //api/name/videoDecoderMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/videoDecoderMode + 是否开启硬件解码 + KSYMoviePlayerController.h + + @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode + + + //api/name/videoDecoderMode + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/videoDecoderMode + 是否开启硬件解码 + KSYMoviePlayerController.h + + @property (nonatomic, assign) MPMovieVideoDecoderMode videoDecoderMode + + + //api/name/videoDecoderMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldMute: + 是否静音 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldMute + + + //api/name/shouldMute + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldMute + 是否静音 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldMute + + + //api/name/shouldMute + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldMute + 是否静音 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldMute + + + //api/name/shouldMute + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldHideVideo: + 是否隐藏视频 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldHideVideo + + + //api/name/shouldHideVideo + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldHideVideo + 是否隐藏视频 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldHideVideo + + + //api/name/shouldHideVideo + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldHideVideo + 是否隐藏视频 + + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldHideVideo + + + //api/name/shouldHideVideo + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setShouldLoop: + 是否循环播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldLoop + + + //api/name/shouldLoop + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/shouldLoop + 是否循环播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldLoop + + + //api/name/shouldLoop + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/shouldLoop + 是否循环播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL shouldLoop + + + //api/name/shouldLoop + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setVideoDataBlock: + 视频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyVideoDataBlock + + + + @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock + + + //api/name/videoDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/videoDataBlock + 视频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyVideoDataBlock + + + + @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock + + + //api/name/videoDataBlock + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/videoDataBlock + 视频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyVideoDataBlock + + + + @property (nonatomic, copy) KSYPlyVideoDataBlock videoDataBlock + + + //api/name/videoDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setAudioDataBlock: + 音频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock + + + //api/name/audioDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/audioDataBlock + 音频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock + + + //api/name/audioDataBlock + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/audioDataBlock + 音频数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyAudioDataBlock audioDataBlock + + + //api/name/audioDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setMessageDataBlock: + 消息数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyMessageDataBlock + + + + @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock + + + //api/name/messageDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/messageDataBlock + 消息数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyMessageDataBlock + + + + @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock + + + //api/name/messageDataBlock + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/messageDataBlock + 消息数据回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyMessageDataBlock + + + + @property (nonatomic, copy) KSYPlyMessageDataBlock messageDataBlock + + + //api/name/messageDataBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setTextureBlock: + 视频图像texture回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyTextureBlock textureBlock + + + //api/name/textureBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/textureBlock + 视频图像texture回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyTextureBlock textureBlock + + + //api/name/textureBlock + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/textureBlock + 视频图像texture回调 + KSYMoviePlayerController.h + + + //apple_ref/c/tdef/KSYPlyAudioDataBlock + + + + @property (nonatomic, copy) KSYPlyTextureBlock textureBlock + + + //api/name/textureBlock + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setRotateDegress: + 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 + KSYMoviePlayerController.h + + @property (nonatomic) int rotateDegress + + + //api/name/rotateDegress + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/rotateDegress + 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 + KSYMoviePlayerController.h + + @property (nonatomic) int rotateDegress + + + //api/name/rotateDegress + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/rotateDegress + 指定逆时针旋转角度,只能是0/90/180/270, 不符合上述值不进行旋转 + KSYMoviePlayerController.h + + @property (nonatomic) int rotateDegress + + + //api/name/rotateDegress + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setMirror: + 指定视频是否镜像显示 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL mirror + + + //api/name/mirror + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/mirror + 指定视频是否镜像显示 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL mirror + + + //api/name/mirror + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/mirror + 指定视频是否镜像显示 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL mirror + + + //api/name/mirror + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setSuperFastPlay: + 快速播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL superFastPlay + + + //api/name/superFastPlay + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/superFastPlay + 快速播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL superFastPlay + + + //api/name/superFastPlay + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/superFastPlay + 快速播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL superFastPlay + + + //api/name/superFastPlay + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setDeinterlaceMode: + 是否进行视频反交错处理 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode - @property (nonatomic, assign) CGFloat timeInfo + + //api/name/deinterlaceMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/deinterlaceMode + 是否进行视频反交错处理 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode + + + //api/name/deinterlaceMode + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/deinterlaceMode + 是否进行视频反交错处理 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieVideoDeinterlaceMode deinterlaceMode + + + //api/name/deinterlaceMode + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setBInterruptOtherAudio: + 是否打断其他后台的音乐播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/bInterruptOtherAudio + 是否打断其他后台的音乐播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/bInterruptOtherAudio + 是否打断其他后台的音乐播放 + KSYMoviePlayerController.h + + @property (nonatomic) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setAudioPan: + 立体声平衡模式,默认立体声输出 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieAudioPan audioPan + + + //api/name/audioPan + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/audioPan + 立体声平衡模式,默认立体声输出 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieAudioPan audioPan + + + //api/name/audioPan + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/audioPan + 立体声平衡模式,默认立体声输出 + KSYMoviePlayerController.h + + @property (nonatomic) MPMovieAudioPan audioPan + + + //api/name/audioPan + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setNetworkDetectURL: + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYMoviePlayerController.h + + @property (nonatomic, readwrite) NSString *networkDetectURL + + + //api/name/networkDetectURL + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/networkDetectURL + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYMoviePlayerController.h + + @property (nonatomic, readwrite) NSString *networkDetectURL + + + //api/name/networkDetectURL + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/networkDetectURL + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYMoviePlayerController.h + + @property (nonatomic, readwrite) NSString *networkDetectURL + + + //api/name/networkDetectURL + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setNetworkStatus: + 网络连通状态 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) KSYNetworkStatus networkStatus + + + //api/name/networkStatus + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/networkStatus + 网络连通状态 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) KSYNetworkStatus networkStatus + + + //api/name/networkStatus + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/networkStatus + 网络连通状态 + KSYMoviePlayerController.h + + @property (nonatomic, readonly) KSYNetworkStatus networkStatus + + + //api/name/networkStatus + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setPlaybackSpeed: + 设置播放速度,取值范围(0.5~2.0),默认1.0 + KSYMoviePlayerController.h + + @property (nonatomic) float playbackSpeed + + + //api/name/playbackSpeed + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/playbackSpeed + 设置播放速度,取值范围(0.5~2.0),默认1.0 + KSYMoviePlayerController.h + + @property (nonatomic) float playbackSpeed + + + //api/name/playbackSpeed + + + + + //apple_ref/occ/instp/KSYMoviePlayerController/playbackSpeed + 设置播放速度,取值范围(0.5~2.0),默认1.0 + KSYMoviePlayerController.h + + @property (nonatomic) float playbackSpeed + + + //api/name/playbackSpeed + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setTimeout:readTimeout: + timeout指定拉流超时时间,单位是秒 + KSYMoviePlayerController.h + + - (void)setTimeout:(int)prepareTimeout readTimeout:(int)readTimeout + + + prepareTimeout + 建立链接超时时间,默认值是10秒 + + readTimeout + 拉流超时时间,默认值是30秒 + + + + //api/name/setTimeout:readTimeout: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setVolume:rigthVolume: + setVolume指定播放器输出音量 + KSYMoviePlayerController.h + + - (void)setVolume:(float)leftVolume rigthVolume:(float)rightVolume + + + leftVolume + left volume scalar [0~2.0f] + + rightVolume + right volume scalar [0~2.0f] + + + + //api/name/setVolume:rigthVolume: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/getVersion + 获取sdk版本 + KSYMoviePlayerController.h + + - (NSString *)getVersion + + + //api/name/getVersion + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/getMetadata + 获取播放Meta信息 + KSYMoviePlayerController.h + + - (NSDictionary *)getMetadata + + + //api/name/getMetadata + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/getMetadata: + 获取播放Meta + KSYMoviePlayerController.h + + - (NSDictionary *)getMetadata:(MPMovieMetaType)metaType + + + //api/name/getMetadata: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/isPlaying + 当前播放器是否在播放 + KSYMoviePlayerController.h + + + //apple_ref/occ/instp/KSYMoviePlayerController/playbackState + + + + - (BOOL)isPlaying + + 获取playbackState信息,如果当前状态为MPMoviePlaybackStatePlaying,则返回TRUE。其他情况返回FASLE。 + //api/name/isPlaying + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/reload: + 重新启动拉流 + KSYMoviePlayerController.h + + - (void)reload:(NSURL *)aUrl + + + aUrl + 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 + + + + //api/name/reload: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/reload:flush: + 重新启动拉流 + KSYMoviePlayerController.h + + - (void)reload:(NSURL *)aUrl flush:(BOOL)flush + + + aUrl + 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 + + flush + 是否清除上一个url的缓冲区内容,该值为NO不清除,为YES则清除 + + + + //api/name/reload:flush: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/reload:flush:mode: + 重新启动拉流 + KSYMoviePlayerController.h + + - (void)reload:(NSURL *)aUrl flush:(bool)flush mode:(MPMovieReloadMode)mode + + + aUrl + 视频播放地址,该地址可以是本地地址或者服务器地址.如果为nil,则使用前一次播放地址 + + flush + 是否清除上一个url的缓冲区内容,该值为NO不清除,为YES则清除 + + mode + 配置reload后的加载模式,该值为MPMovieReloadMode_Accurate则启用精准查找模式播放 + + + + //api/name/reload:flush:mode: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/getCurrentPts + 获取当前播放的pts + KSYMoviePlayerController.h + + - (NSTimeInterval)getCurrentPts - //api/name/timeInfo + //api/name/getCurrentPts - //apple_ref/occ/instm/KSYMvEffect/timeInfo - 设置MV特效生成的时间 - KSYMvEffect.h + //apple_ref/occ/instm/KSYMoviePlayerController/setUrl: + 设置播放url + KSYMoviePlayerController.h + + - (void)setUrl:(NSURL *)url + + + url + 视频播放地址,该地址可以是本地地址或者服务器地址. + + + + //api/name/setUrl: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setUrl:fileList: + 设置播放url + KSYMoviePlayerController.h + + - (void)setUrl:(NSURL *)url fileList:(NSArray *)fileList + + + fileList + 分片列表 + + baseURL + 视频播放的绝对地址,该地址可以是本地地址或者服务器地址 + + - @property (nonatomic, assign) CGFloat timeInfo + //api/name/setUrl:fileList: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/reset: + 重置播放器 + KSYMoviePlayerController.h + - (void)reset:(BOOL)holdLastPic + + + holdLastPic + 是否保留最后一帧 + + - //api/name/timeInfo + //api/name/reset: - //apple_ref/occ/instp/KSYMvEffect/timeInfo - 设置MV特效生成的时间 - KSYMvEffect.h + //apple_ref/occ/instm/KSYMoviePlayerController/seekTo:accurate: + 跳转到指定位置播放 + KSYMoviePlayerController.h - @property (nonatomic, assign) CGFloat timeInfo + - (void)seekTo:(double)pos accurate:(BOOL)isAccurate + + + pos + 跳转到的位置,单位秒 + + isAccurate + 是否精确跳转,NO时等同于currentPlaybackTime, YES时为精确跳转 + + + + //api/name/seekTo:accurate: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setHttpHeaders: + 发送http请求时需要header带上的字段 + KSYMoviePlayerController.h + - (void)setHttpHeaders:(NSDictionary *)headers + + + header + 自定义http header字段 + + - //api/name/timeInfo + //api/name/setHttpHeaders: - //apple_ref/occ/instm/KSYMvEffect/initWithEffectShader:durationTime: - 初始化并导入effectShader - KSYMvEffect.h + //apple_ref/occ/instm/KSYMoviePlayerController/setTrackSelected:selected: + 设置开启/关闭指定的媒体轨道 + KSYMoviePlayerController.h - - (instancetype)initWithEffectShader:(NSString *)effectShader durationTime:(CGFloat)durTime + - (void)setTrackSelected:(NSInteger)trackIndex selected:(BOOL)selected - durTime - MV特效持续时间 + trackIndex + - 轨道的stream index - shader字符串 - 片源着色器 + selected + - 开启/关闭指定媒体轨道 + + + + //api/name/setTrackSelected:selected: + + + + + //apple_ref/occ/instm/KSYMoviePlayerController/setExtSubtitleFilePath: + 设置本地字幕文件的地址 + KSYMoviePlayerController.h + + - (void)setExtSubtitleFilePath:(NSString *)subtitleFilePath + + + subtitleFilePath + 本地字幕文件地址 - //api/name/initWithEffectShader:durationTime: + //api/name/setExtSubtitleFilePath: diff --git a/doc/docset/Contents/Resources/Tokens39.xml b/doc/docset/Contents/Resources/Tokens39.xml index b5142f0..0f82eaa 100644 --- a/doc/docset/Contents/Resources/Tokens39.xml +++ b/doc/docset/Contents/Resources/Tokens39.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYMvFilter - KSYMvFilter MV效果类 - KSYMvFilter.h + //apple_ref/occ/cl/KSYMovieWriter + 视频文件录制类 + KSYMovieWriter.h @@ -13,58 +13,31 @@ - //apple_ref/occ/instm/KSYMvFilter/initWithPath:shouldRepeat: - 单个mp4 filter - KSYMvFilter.h + //apple_ref/occ/instm/KSYMovieWriter/startWrite: + write video stream to local files + KSYMovieWriter.h - - (id)initWithPath:(NSURL *)mp4URL shouldRepeat:(BOOL)bRepeat + - (void)startWrite:(NSURL *)filePath - mp4URL - 指定mp4路径 - - shouldRepeat - mp4是否循环播放 + filePath + is local file path - mp4 filter - //api/name/initWithPath:shouldRepeat: - - - - - //apple_ref/occ/instm/KSYMvFilter/MvPause - mv 播放暂停 - KSYMvFilter.h - - - (void)MvPause - - - //api/name/MvPause - - - - - //apple_ref/occ/instm/KSYMvFilter/MvResume - mv 播放暂停恢复 - KSYMvFilter.h - - - (void)MvResume - - //api/name/MvResume + //api/name/startWrite: - //apple_ref/occ/instm/KSYMvFilter/closeMvFilter - 关闭mv filter - KSYMvFilter.h + //apple_ref/occ/instm/KSYMovieWriter/stopWrite + stop wirte file + KSYMovieWriter.h - - (void)closeMvFilter + - (void)stopWrite - //api/name/closeMvFilter + //api/name/stopWrite diff --git a/doc/docset/Contents/Resources/Tokens40.xml b/doc/docset/Contents/Resources/Tokens40.xml index d0423ee..2afc47b 100644 --- a/doc/docset/Contents/Resources/Tokens40.xml +++ b/doc/docset/Contents/Resources/Tokens40.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYNetRouterInfo - 网络链路上的路由节点信息类 - KSYNetTracker.h + //apple_ref/occ/cl/KSYMvEffect + KSYMvEffect MV特效类 + KSYMvEffect.h @@ -13,254 +13,58 @@ - //apple_ref/occ/instm/KSYNetRouterInfo/setIps: - 链路上每个节点的ip地址 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvEffect/setTimeInfo: + 设置MV特效生成的时间 + KSYMvEffect.h - @property (nonatomic, readonly) NSMutableArray *ips + @property (nonatomic, assign) CGFloat timeInfo - //api/name/ips + //api/name/timeInfo - //apple_ref/occ/instm/KSYNetRouterInfo/ips - 链路上每个节点的ip地址 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvEffect/timeInfo + 设置MV特效生成的时间 + KSYMvEffect.h - @property (nonatomic, readonly) NSMutableArray *ips + @property (nonatomic, assign) CGFloat timeInfo - //api/name/ips + //api/name/timeInfo - //apple_ref/occ/instp/KSYNetRouterInfo/ips - 链路上每个节点的ip地址 - KSYNetTracker.h + //apple_ref/occ/instp/KSYMvEffect/timeInfo + 设置MV特效生成的时间 + KSYMvEffect.h - @property (nonatomic, readonly) NSMutableArray *ips + @property (nonatomic, assign) CGFloat timeInfo - //api/name/ips + //api/name/timeInfo - //apple_ref/occ/instm/KSYNetRouterInfo/setTmax: - 所有探测报文的rtt最大值 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvEffect/initWithEffectShader:durationTime: + 初始化并导入effectShader + KSYMvEffect.h - @property (nonatomic, readonly) float tmax + - (instancetype)initWithEffectShader:(NSString *)effectShader durationTime:(CGFloat)durTime + + + durTime + MV特效持续时间 + + shader字符串 + 片源着色器 + + - - //api/name/tmax - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/tmax - 所有探测报文的rtt最大值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tmax - - - //api/name/tmax - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/tmax - 所有探测报文的rtt最大值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tmax - - - //api/name/tmax - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/setTmin: - 所有探测报文的rtt最小值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tmin - - - //api/name/tmin - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/tmin - 所有探测报文的rtt最小值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tmin - - - //api/name/tmin - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/tmin - 所有探测报文的rtt最小值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tmin - - - //api/name/tmin - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/setTavg: - 所有探测报文的rtt平均值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tavg - - - //api/name/tavg - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/tavg - 所有探测报文的rtt平均值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tavg - - - //api/name/tavg - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/tavg - 所有探测报文的rtt平均值 - KSYNetTracker.h - - @property (nonatomic, readonly) float tavg - - - //api/name/tavg - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/setTdev: - 所有探测报文的rtt均方差 - KSYNetTracker.h - - @property (nonatomic, readonly) float tdev - - - //api/name/tdev - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/tdev - 所有探测报文的rtt均方差 - KSYNetTracker.h - - @property (nonatomic, readonly) float tdev - - - //api/name/tdev - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/tdev - 所有探测报文的rtt均方差 - KSYNetTracker.h - - @property (nonatomic, readonly) float tdev - - - //api/name/tdev - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/setLoss: - 所有探测报文的丢包率 - KSYNetTracker.h - - @property (nonatomic, readonly) float loss - - - //api/name/loss - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/loss - 所有探测报文的丢包率 - KSYNetTracker.h - - @property (nonatomic, readonly) float loss - - - //api/name/loss - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/loss - 所有探测报文的丢包率 - KSYNetTracker.h - - @property (nonatomic, readonly) float loss - - - //api/name/loss - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/setNumber: - 统计所使用的探测报文个数 - KSYNetTracker.h - - @property (nonatomic, readonly) int number - - - //api/name/number - - - - - //apple_ref/occ/instm/KSYNetRouterInfo/number - 统计所使用的探测报文个数 - KSYNetTracker.h - - @property (nonatomic, readonly) int number - - - //api/name/number - - - - - //apple_ref/occ/instp/KSYNetRouterInfo/number - 统计所使用的探测报文个数 - KSYNetTracker.h - - @property (nonatomic, readonly) int number - - - //api/name/number + //api/name/initWithEffectShader:durationTime: diff --git a/doc/docset/Contents/Resources/Tokens41.xml b/doc/docset/Contents/Resources/Tokens41.xml index 7b34dda..9d993fd 100644 --- a/doc/docset/Contents/Resources/Tokens41.xml +++ b/doc/docset/Contents/Resources/Tokens41.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYNetTracker - 网络链路探测器类 - KSYNetTracker.h + //apple_ref/occ/cl/KSYMvFilter + KSYMvFilter MV效果类 + KSYMvFilter.h @@ -13,211 +13,58 @@ - //apple_ref/occ/instm/KSYNetTracker/start: - 开始探测 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvFilter/initWithPath:shouldRepeat: + 单个mp4 filter + KSYMvFilter.h - - (int)start:(NSString *__nonnull)domain + - (id)initWithPath:(NSURL *)mp4URL shouldRepeat:(BOOL)bRepeat - domain - 探测地址 + mp4URL + 指定mp4路径 + + shouldRepeat + mp4是否循环播放 - 成功开始返回0, 否则返回非0 - //api/name/start: + mp4 filter + //api/name/initWithPath:shouldRepeat: - //apple_ref/occ/instm/KSYNetTracker/stop - 停止探测 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvFilter/MvPause + mv 播放暂停 + KSYMvFilter.h - - (void)stop + - (void)MvPause - //api/name/stop + //api/name/MvPause - //apple_ref/occ/instm/KSYNetTracker/setAction: - 探测方式 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvFilter/MvResume + mv 播放暂停恢复 + KSYMvFilter.h - @property (nonatomic, assign) KSY_NETTRACKER_ACTION action + - (void)MvResume - //api/name/action + //api/name/MvResume - //apple_ref/occ/instm/KSYNetTracker/action - 探测方式 - KSYNetTracker.h + //apple_ref/occ/instm/KSYMvFilter/closeMvFilter + 关闭mv filter + KSYMvFilter.h - @property (nonatomic, assign) KSY_NETTRACKER_ACTION action + - (void)closeMvFilter - //api/name/action - - - - - //apple_ref/occ/instp/KSYNetTracker/action - 探测方式 - KSYNetTracker.h - - @property (nonatomic, assign) KSY_NETTRACKER_ACTION action - - - //api/name/action - - - - - //apple_ref/occ/instm/KSYNetTracker/setTimeout: - 探测超时时间,单位是ms,默认值是1000ms - KSYNetTracker.h - - @property (nonatomic, assign) int timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instm/KSYNetTracker/timeout - 探测超时时间,单位是ms,默认值是1000ms - KSYNetTracker.h - - @property (nonatomic, assign) int timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instp/KSYNetTracker/timeout - 探测超时时间,单位是ms,默认值是1000ms - KSYNetTracker.h - - @property (nonatomic, assign) int timeout - - - //api/name/timeout - - - - - //apple_ref/occ/instm/KSYNetTracker/setMaxttl: - 探测使用的最大ttl值,默认值是64 - KSYNetTracker.h - - @property (nonatomic, assign) int maxttl - - - //api/name/maxttl - - - - - //apple_ref/occ/instm/KSYNetTracker/maxttl - 探测使用的最大ttl值,默认值是64 - KSYNetTracker.h - - @property (nonatomic, assign) int maxttl - - - //api/name/maxttl - - - - - //apple_ref/occ/instp/KSYNetTracker/maxttl - 探测使用的最大ttl值,默认值是64 - KSYNetTracker.h - - @property (nonatomic, assign) int maxttl - - - //api/name/maxttl - - - - - //apple_ref/occ/instm/KSYNetTracker/setNumber: - 探测次数,默认值是10 - KSYNetTracker.h - - @property (nonatomic, assign) int number - - - //api/name/number - - - - - //apple_ref/occ/instm/KSYNetTracker/number - 探测次数,默认值是10 - KSYNetTracker.h - - @property (nonatomic, assign) int number - - - //api/name/number - - - - - //apple_ref/occ/instp/KSYNetTracker/number - 探测次数,默认值是10 - KSYNetTracker.h - - @property (nonatomic, assign) int number - - - //api/name/number - - - - - //apple_ref/occ/instm/KSYNetTracker/setRouterInfo: - 链路状况 - KSYNetTracker.h - - @property (nonatomic, readonly) NSMutableArray *routerInfo - - - //api/name/routerInfo - - - - - //apple_ref/occ/instm/KSYNetTracker/routerInfo - 链路状况 - KSYNetTracker.h - - @property (nonatomic, readonly) NSMutableArray *routerInfo - - - //api/name/routerInfo - - - - - //apple_ref/occ/instp/KSYNetTracker/routerInfo - 链路状况 - KSYNetTracker.h - - @property (nonatomic, readonly) NSMutableArray *routerInfo - - - //api/name/routerInfo + //api/name/closeMvFilter diff --git a/doc/docset/Contents/Resources/Tokens42.xml b/doc/docset/Contents/Resources/Tokens42.xml index 5d5f42a..85c0256 100644 --- a/doc/docset/Contents/Resources/Tokens42.xml +++ b/doc/docset/Contents/Resources/Tokens42.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYQosInfo - Qos信息 - KSYQosInfo.h + //apple_ref/occ/cl/KSYNetRouterInfo + 网络链路上的路由节点信息类 + KSYNetTracker.h @@ -13,326 +13,254 @@ - //apple_ref/occ/instm/KSYQosInfo/setAudioBufferByteLength: - audio queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setIps: + 链路上每个节点的ip地址 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferByteLength + @property (nonatomic, readonly) NSMutableArray *ips - //api/name/audioBufferByteLength + //api/name/ips - //apple_ref/occ/instm/KSYQosInfo/audioBufferByteLength - audio queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/ips + 链路上每个节点的ip地址 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferByteLength + @property (nonatomic, readonly) NSMutableArray *ips - //api/name/audioBufferByteLength + //api/name/ips - //apple_ref/occ/instp/KSYQosInfo/audioBufferByteLength - audio queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/ips + 链路上每个节点的ip地址 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferByteLength + @property (nonatomic, readonly) NSMutableArray *ips - //api/name/audioBufferByteLength + //api/name/ips - //apple_ref/occ/instm/KSYQosInfo/setAudioBufferTimeLength: - audio queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setTmax: + 所有探测报文的rtt最大值 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferTimeLength + @property (nonatomic, readonly) float tmax - //api/name/audioBufferTimeLength + //api/name/tmax - //apple_ref/occ/instm/KSYQosInfo/audioBufferTimeLength - audio queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/tmax + 所有探测报文的rtt最大值 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferTimeLength + @property (nonatomic, readonly) float tmax - //api/name/audioBufferTimeLength + //api/name/tmax - //apple_ref/occ/instp/KSYQosInfo/audioBufferTimeLength - audio queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/tmax + 所有探测报文的rtt最大值 + KSYNetTracker.h - @property (nonatomic, assign) int audioBufferTimeLength + @property (nonatomic, readonly) float tmax - //api/name/audioBufferTimeLength + //api/name/tmax - //apple_ref/occ/instm/KSYQosInfo/setAudioTotalDataSize: - size of data have arrived at audio queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setTmin: + 所有探测报文的rtt最小值 + KSYNetTracker.h - @property (nonatomic, assign) int64_t audioTotalDataSize + @property (nonatomic, readonly) float tmin - //api/name/audioTotalDataSize + //api/name/tmin - //apple_ref/occ/instm/KSYQosInfo/audioTotalDataSize - size of data have arrived at audio queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/tmin + 所有探测报文的rtt最小值 + KSYNetTracker.h - @property (nonatomic, assign) int64_t audioTotalDataSize + @property (nonatomic, readonly) float tmin - //api/name/audioTotalDataSize + //api/name/tmin - //apple_ref/occ/instp/KSYQosInfo/audioTotalDataSize - size of data have arrived at audio queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/tmin + 所有探测报文的rtt最小值 + KSYNetTracker.h - @property (nonatomic, assign) int64_t audioTotalDataSize + @property (nonatomic, readonly) float tmin - //api/name/audioTotalDataSize + //api/name/tmin - //apple_ref/occ/instm/KSYQosInfo/setVideoBufferByteLength: - video queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setTavg: + 所有探测报文的rtt平均值 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferByteLength + @property (nonatomic, readonly) float tavg - //api/name/videoBufferByteLength + //api/name/tavg - //apple_ref/occ/instm/KSYQosInfo/videoBufferByteLength - video queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/tavg + 所有探测报文的rtt平均值 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferByteLength + @property (nonatomic, readonly) float tavg - //api/name/videoBufferByteLength + //api/name/tavg - //apple_ref/occ/instp/KSYQosInfo/videoBufferByteLength - video queue size in bytes - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/tavg + 所有探测报文的rtt平均值 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferByteLength + @property (nonatomic, readonly) float tavg - //api/name/videoBufferByteLength + //api/name/tavg - //apple_ref/occ/instm/KSYQosInfo/setVideoBufferTimeLength: - video queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setTdev: + 所有探测报文的rtt均方差 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferTimeLength + @property (nonatomic, readonly) float tdev - //api/name/videoBufferTimeLength + //api/name/tdev - //apple_ref/occ/instm/KSYQosInfo/videoBufferTimeLength - video queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/tdev + 所有探测报文的rtt均方差 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferTimeLength + @property (nonatomic, readonly) float tdev - //api/name/videoBufferTimeLength + //api/name/tdev - //apple_ref/occ/instp/KSYQosInfo/videoBufferTimeLength - video queue time length in ms - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/tdev + 所有探测报文的rtt均方差 + KSYNetTracker.h - @property (nonatomic, assign) int videoBufferTimeLength + @property (nonatomic, readonly) float tdev - //api/name/videoBufferTimeLength + //api/name/tdev - //apple_ref/occ/instm/KSYQosInfo/setVideoTotalDataSize: - size of data have arrived at video queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setLoss: + 所有探测报文的丢包率 + KSYNetTracker.h - @property (nonatomic, assign) int64_t videoTotalDataSize + @property (nonatomic, readonly) float loss - //api/name/videoTotalDataSize + //api/name/loss - //apple_ref/occ/instm/KSYQosInfo/videoTotalDataSize - size of data have arrived at video queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/loss + 所有探测报文的丢包率 + KSYNetTracker.h - @property (nonatomic, assign) int64_t videoTotalDataSize + @property (nonatomic, readonly) float loss - //api/name/videoTotalDataSize + //api/name/loss - //apple_ref/occ/instp/KSYQosInfo/videoTotalDataSize - size of data have arrived at video queue since playing. unit:byte - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/loss + 所有探测报文的丢包率 + KSYNetTracker.h - @property (nonatomic, assign) int64_t videoTotalDataSize + @property (nonatomic, readonly) float loss - //api/name/videoTotalDataSize + //api/name/loss - //apple_ref/occ/instm/KSYQosInfo/setTotalDataSize: - size of total audio and video data since playing. unit: byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/setNumber: + 统计所使用的探测报文个数 + KSYNetTracker.h - @property (nonatomic, assign) int64_t totalDataSize + @property (nonatomic, readonly) int number - //api/name/totalDataSize + //api/name/number - //apple_ref/occ/instm/KSYQosInfo/totalDataSize - size of total audio and video data since playing. unit: byte - KSYQosInfo.h + //apple_ref/occ/instm/KSYNetRouterInfo/number + 统计所使用的探测报文个数 + KSYNetTracker.h - @property (nonatomic, assign) int64_t totalDataSize + @property (nonatomic, readonly) int number - //api/name/totalDataSize + //api/name/number - //apple_ref/occ/instp/KSYQosInfo/totalDataSize - size of total audio and video data since playing. unit: byte - KSYQosInfo.h + //apple_ref/occ/instp/KSYNetRouterInfo/number + 统计所使用的探测报文个数 + KSYNetTracker.h - @property (nonatomic, assign) int64_t totalDataSize + @property (nonatomic, readonly) int number - //api/name/totalDataSize - - - - - //apple_ref/occ/instm/KSYQosInfo/setVideoDecodeFPS: - video decode frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoDecodeFPS - - - //api/name/videoDecodeFPS - - - - - //apple_ref/occ/instm/KSYQosInfo/videoDecodeFPS - video decode frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoDecodeFPS - - - //api/name/videoDecodeFPS - - - - - //apple_ref/occ/instp/KSYQosInfo/videoDecodeFPS - video decode frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoDecodeFPS - - - //api/name/videoDecodeFPS - - - - - //apple_ref/occ/instm/KSYQosInfo/setVideoRefreshFPS: - video refresh frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoRefreshFPS - - - //api/name/videoRefreshFPS - - - - - //apple_ref/occ/instm/KSYQosInfo/videoRefreshFPS - video refresh frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoRefreshFPS - - - //api/name/videoRefreshFPS - - - - - //apple_ref/occ/instp/KSYQosInfo/videoRefreshFPS - video refresh frame count per second - KSYQosInfo.h - - @property (nonatomic, assign) float videoRefreshFPS - - - //api/name/videoRefreshFPS + //api/name/number diff --git a/doc/docset/Contents/Resources/Tokens43.xml b/doc/docset/Contents/Resources/Tokens43.xml index cbc1964..a9e271c 100644 --- a/doc/docset/Contents/Resources/Tokens43.xml +++ b/doc/docset/Contents/Resources/Tokens43.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYReachability - - KSYReachability.h + //apple_ref/occ/cl/KSYNetTracker + 网络链路探测器类 + KSYNetTracker.h @@ -13,374 +13,211 @@ - //apple_ref/occ/instm/KSYReachability/setReachableBlock: - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/start: + 开始探测 + KSYNetTracker.h - @property (nonatomic, copy) KSYNetworkReachable reachableBlock - - - //api/name/reachableBlock - - - - - //apple_ref/occ/instm/KSYReachability/reachableBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkReachable reachableBlock - - - //api/name/reachableBlock - - - - - //apple_ref/occ/instp/KSYReachability/reachableBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkReachable reachableBlock - - - //api/name/reachableBlock - - - - - //apple_ref/occ/instm/KSYReachability/setUnreachableBlock: - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock - - - //api/name/unreachableBlock - - - - - //apple_ref/occ/instm/KSYReachability/unreachableBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock - - - //api/name/unreachableBlock - - - - - //apple_ref/occ/instp/KSYReachability/unreachableBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock - - - //api/name/unreachableBlock - - - - - //apple_ref/occ/instm/KSYReachability/setReachabilityBlock: - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock - - - //api/name/reachabilityBlock - - - - - //apple_ref/occ/instm/KSYReachability/reachabilityBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock - - - //api/name/reachabilityBlock - - - - - //apple_ref/occ/instp/KSYReachability/reachabilityBlock - - KSYReachability.h - - @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock - - - //api/name/reachabilityBlock - - - - - //apple_ref/occ/instm/KSYReachability/setReachableOnWWAN: - - KSYReachability.h - - @property (nonatomic, assign) BOOL reachableOnWWAN - - - //api/name/reachableOnWWAN - - - - - //apple_ref/occ/instm/KSYReachability/reachableOnWWAN - - KSYReachability.h - - @property (nonatomic, assign) BOOL reachableOnWWAN - - - //api/name/reachableOnWWAN - - - - - //apple_ref/occ/instp/KSYReachability/reachableOnWWAN - - KSYReachability.h - - @property (nonatomic, assign) BOOL reachableOnWWAN - - - //api/name/reachableOnWWAN - - - - - //apple_ref/occ/clm/KSYReachability/reachabilityWithHostname: - - KSYReachability.h - - + (instancetype)reachabilityWithHostname:(NSString *)hostname - - - //api/name/reachabilityWithHostname: - - - - - //apple_ref/occ/clm/KSYReachability/reachabilityWithHostName: - - KSYReachability.h - - + (instancetype)reachabilityWithHostName:(NSString *)hostname - - - //api/name/reachabilityWithHostName: - - - - - //apple_ref/occ/clm/KSYReachability/reachabilityForInternetConnection - - KSYReachability.h - - + (instancetype)reachabilityForInternetConnection - - - //api/name/reachabilityForInternetConnection + - (int)start:(NSString *__nonnull)domain + + + domain + 探测地址 + + + 成功开始返回0, 否则返回非0 + //api/name/start: - //apple_ref/occ/clm/KSYReachability/reachabilityWithAddress: - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/stop + 停止探测 + KSYNetTracker.h - + (instancetype)reachabilityWithAddress:(void *)hostAddress + - (void)stop - //api/name/reachabilityWithAddress: + //api/name/stop - //apple_ref/occ/clm/KSYReachability/reachabilityForLocalWiFi - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/setAction: + 探测方式 + KSYNetTracker.h - + (instancetype)reachabilityForLocalWiFi + @property (nonatomic, assign) KSY_NETTRACKER_ACTION action - //api/name/reachabilityForLocalWiFi + //api/name/action - //apple_ref/occ/instm/KSYReachability/initWithReachabilityRef: - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/action + 探测方式 + KSYNetTracker.h - - (instancetype)initWithReachabilityRef:(SCNetworkReachabilityRef)ref + @property (nonatomic, assign) KSY_NETTRACKER_ACTION action - //api/name/initWithReachabilityRef: + //api/name/action - //apple_ref/occ/instm/KSYReachability/startNotifier - - KSYReachability.h + //apple_ref/occ/instp/KSYNetTracker/action + 探测方式 + KSYNetTracker.h - - (BOOL)startNotifier + @property (nonatomic, assign) KSY_NETTRACKER_ACTION action - //api/name/startNotifier + //api/name/action - //apple_ref/occ/instm/KSYReachability/stopNotifier - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/setTimeout: + 探测超时时间,单位是ms,默认值是1000ms + KSYNetTracker.h - - (void)stopNotifier + @property (nonatomic, assign) int timeout - //api/name/stopNotifier + //api/name/timeout - //apple_ref/occ/instm/KSYReachability/isReachable - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/timeout + 探测超时时间,单位是ms,默认值是1000ms + KSYNetTracker.h - - (BOOL)isReachable + @property (nonatomic, assign) int timeout - //api/name/isReachable + //api/name/timeout - //apple_ref/occ/instm/KSYReachability/isReachableViaWWAN - - KSYReachability.h + //apple_ref/occ/instp/KSYNetTracker/timeout + 探测超时时间,单位是ms,默认值是1000ms + KSYNetTracker.h - - (BOOL)isReachableViaWWAN + @property (nonatomic, assign) int timeout - //api/name/isReachableViaWWAN + //api/name/timeout - //apple_ref/occ/instm/KSYReachability/isReachableViaWiFi - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/setMaxttl: + 探测使用的最大ttl值,默认值是64 + KSYNetTracker.h - - (BOOL)isReachableViaWiFi + @property (nonatomic, assign) int maxttl - //api/name/isReachableViaWiFi + //api/name/maxttl - //apple_ref/occ/instm/KSYReachability/isConnectionRequired - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/maxttl + 探测使用的最大ttl值,默认值是64 + KSYNetTracker.h - - (BOOL)isConnectionRequired + @property (nonatomic, assign) int maxttl - //api/name/isConnectionRequired + //api/name/maxttl - //apple_ref/occ/instm/KSYReachability/connectionRequired - - KSYReachability.h + //apple_ref/occ/instp/KSYNetTracker/maxttl + 探测使用的最大ttl值,默认值是64 + KSYNetTracker.h - - (BOOL)connectionRequired + @property (nonatomic, assign) int maxttl - //api/name/connectionRequired + //api/name/maxttl - //apple_ref/occ/instm/KSYReachability/isConnectionOnDemand - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/setNumber: + 探测次数,默认值是10 + KSYNetTracker.h - - (BOOL)isConnectionOnDemand + @property (nonatomic, assign) int number - //api/name/isConnectionOnDemand + //api/name/number - //apple_ref/occ/instm/KSYReachability/isInterventionRequired - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/number + 探测次数,默认值是10 + KSYNetTracker.h - - (BOOL)isInterventionRequired + @property (nonatomic, assign) int number - //api/name/isInterventionRequired + //api/name/number - //apple_ref/occ/instm/KSYReachability/currentReachabilityStatus - - KSYReachability.h + //apple_ref/occ/instp/KSYNetTracker/number + 探测次数,默认值是10 + KSYNetTracker.h - - (KSYNetworkStatus)currentReachabilityStatus + @property (nonatomic, assign) int number - //api/name/currentReachabilityStatus + //api/name/number - //apple_ref/occ/instm/KSYReachability/reachabilityFlags - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/setRouterInfo: + 链路状况 + KSYNetTracker.h - - (SCNetworkReachabilityFlags)reachabilityFlags + @property (nonatomic, readonly) NSMutableArray *routerInfo - //api/name/reachabilityFlags + //api/name/routerInfo - //apple_ref/occ/instm/KSYReachability/currentReachabilityString - - KSYReachability.h + //apple_ref/occ/instm/KSYNetTracker/routerInfo + 链路状况 + KSYNetTracker.h - - (NSString *)currentReachabilityString + @property (nonatomic, readonly) NSMutableArray *routerInfo - //api/name/currentReachabilityString + //api/name/routerInfo - //apple_ref/occ/instm/KSYReachability/currentReachabilityFlags - - KSYReachability.h + //apple_ref/occ/instp/KSYNetTracker/routerInfo + 链路状况 + KSYNetTracker.h - - (NSString *)currentReachabilityFlags + @property (nonatomic, readonly) NSMutableArray *routerInfo - //api/name/currentReachabilityFlags + //api/name/routerInfo diff --git a/doc/docset/Contents/Resources/Tokens44.xml b/doc/docset/Contents/Resources/Tokens44.xml index c35b4b6..ff6def4 100644 --- a/doc/docset/Contents/Resources/Tokens44.xml +++ b/doc/docset/Contents/Resources/Tokens44.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYShakeFilter - KSYShakeFilter 画面抖动效果 - KSYShakeFilter.h + //apple_ref/occ/cl/KSYQosInfo + Qos信息 + KSYQosInfo.h @@ -13,19 +13,326 @@ - //apple_ref/occ/instm/KSYShakeFilter/initWithType: - 创建抖动效果的滤镜 - KSYShakeFilter.h + //apple_ref/occ/instm/KSYQosInfo/setAudioBufferByteLength: + audio queue size in bytes + KSYQosInfo.h - - (instancetype)initWithType:(KSYShakeType)type - - - type - 抖动效果的类型 - - + @property (nonatomic, assign) int audioBufferByteLength - //api/name/initWithType: + + //api/name/audioBufferByteLength + + + + + //apple_ref/occ/instm/KSYQosInfo/audioBufferByteLength + audio queue size in bytes + KSYQosInfo.h + + @property (nonatomic, assign) int audioBufferByteLength + + + //api/name/audioBufferByteLength + + + + + //apple_ref/occ/instp/KSYQosInfo/audioBufferByteLength + audio queue size in bytes + KSYQosInfo.h + + @property (nonatomic, assign) int audioBufferByteLength + + + //api/name/audioBufferByteLength + + + + + //apple_ref/occ/instm/KSYQosInfo/setAudioBufferTimeLength: + audio queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int audioBufferTimeLength + + + //api/name/audioBufferTimeLength + + + + + //apple_ref/occ/instm/KSYQosInfo/audioBufferTimeLength + audio queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int audioBufferTimeLength + + + //api/name/audioBufferTimeLength + + + + + //apple_ref/occ/instp/KSYQosInfo/audioBufferTimeLength + audio queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int audioBufferTimeLength + + + //api/name/audioBufferTimeLength + + + + + //apple_ref/occ/instm/KSYQosInfo/setAudioTotalDataSize: + size of data have arrived at audio queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t audioTotalDataSize + + + //api/name/audioTotalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/audioTotalDataSize + size of data have arrived at audio queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t audioTotalDataSize + + + //api/name/audioTotalDataSize + + + + + //apple_ref/occ/instp/KSYQosInfo/audioTotalDataSize + size of data have arrived at audio queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t audioTotalDataSize + + + //api/name/audioTotalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/setVideoBufferByteLength: + video queue size in bytes + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferByteLength + + + //api/name/videoBufferByteLength + + + + + //apple_ref/occ/instm/KSYQosInfo/videoBufferByteLength + video queue size in bytes + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferByteLength + + + //api/name/videoBufferByteLength + + + + + //apple_ref/occ/instp/KSYQosInfo/videoBufferByteLength + video queue size in bytes + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferByteLength + + + //api/name/videoBufferByteLength + + + + + //apple_ref/occ/instm/KSYQosInfo/setVideoBufferTimeLength: + video queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferTimeLength + + + //api/name/videoBufferTimeLength + + + + + //apple_ref/occ/instm/KSYQosInfo/videoBufferTimeLength + video queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferTimeLength + + + //api/name/videoBufferTimeLength + + + + + //apple_ref/occ/instp/KSYQosInfo/videoBufferTimeLength + video queue time length in ms + KSYQosInfo.h + + @property (nonatomic, assign) int videoBufferTimeLength + + + //api/name/videoBufferTimeLength + + + + + //apple_ref/occ/instm/KSYQosInfo/setVideoTotalDataSize: + size of data have arrived at video queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t videoTotalDataSize + + + //api/name/videoTotalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/videoTotalDataSize + size of data have arrived at video queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t videoTotalDataSize + + + //api/name/videoTotalDataSize + + + + + //apple_ref/occ/instp/KSYQosInfo/videoTotalDataSize + size of data have arrived at video queue since playing. unit:byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t videoTotalDataSize + + + //api/name/videoTotalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/setTotalDataSize: + size of total audio and video data since playing. unit: byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t totalDataSize + + + //api/name/totalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/totalDataSize + size of total audio and video data since playing. unit: byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t totalDataSize + + + //api/name/totalDataSize + + + + + //apple_ref/occ/instp/KSYQosInfo/totalDataSize + size of total audio and video data since playing. unit: byte + KSYQosInfo.h + + @property (nonatomic, assign) int64_t totalDataSize + + + //api/name/totalDataSize + + + + + //apple_ref/occ/instm/KSYQosInfo/setVideoDecodeFPS: + video decode frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoDecodeFPS + + + //api/name/videoDecodeFPS + + + + + //apple_ref/occ/instm/KSYQosInfo/videoDecodeFPS + video decode frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoDecodeFPS + + + //api/name/videoDecodeFPS + + + + + //apple_ref/occ/instp/KSYQosInfo/videoDecodeFPS + video decode frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoDecodeFPS + + + //api/name/videoDecodeFPS + + + + + //apple_ref/occ/instm/KSYQosInfo/setVideoRefreshFPS: + video refresh frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoRefreshFPS + + + //api/name/videoRefreshFPS + + + + + //apple_ref/occ/instm/KSYQosInfo/videoRefreshFPS + video refresh frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoRefreshFPS + + + //api/name/videoRefreshFPS + + + + + //apple_ref/occ/instp/KSYQosInfo/videoRefreshFPS + video refresh frame count per second + KSYQosInfo.h + + @property (nonatomic, assign) float videoRefreshFPS + + + //api/name/videoRefreshFPS diff --git a/doc/docset/Contents/Resources/Tokens45.xml b/doc/docset/Contents/Resources/Tokens45.xml index 454aebb..2c453d6 100644 --- a/doc/docset/Contents/Resources/Tokens45.xml +++ b/doc/docset/Contents/Resources/Tokens45.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYSpecialEffects - 金山云特效滤镜 - KSYSpecialEffects.h + //apple_ref/occ/cl/KSYReachability + + KSYReachability.h @@ -13,84 +13,374 @@ - //apple_ref/occ/clm/KSYSpecialEffects/showVersion - show version of this filter - KSYSpecialEffects.h + //apple_ref/occ/instm/KSYReachability/setReachableBlock: + + KSYReachability.h - + (void)showVersion + @property (nonatomic, copy) KSYNetworkReachable reachableBlock - //api/name/showVersion + //api/name/reachableBlock - //apple_ref/occ/instm/KSYSpecialEffects/initWithUIImage: - 初始化并指定特效素材 - KSYSpecialEffects.h + //apple_ref/occ/instm/KSYReachability/reachableBlock + + KSYReachability.h - - (id)initWithUIImage:(UIImage *)image - - - image - 特效素材 - - - 构造的滤镜 - //api/name/initWithUIImage: + @property (nonatomic, copy) KSYNetworkReachable reachableBlock + + + //api/name/reachableBlock + + + + + //apple_ref/occ/instp/KSYReachability/reachableBlock + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkReachable reachableBlock + + + //api/name/reachableBlock + + + + + //apple_ref/occ/instm/KSYReachability/setUnreachableBlock: + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock + + + //api/name/unreachableBlock + + + + + //apple_ref/occ/instm/KSYReachability/unreachableBlock + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock + + + //api/name/unreachableBlock + + + + + //apple_ref/occ/instp/KSYReachability/unreachableBlock + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkUnreachable unreachableBlock + + + //api/name/unreachableBlock + + + + + //apple_ref/occ/instm/KSYReachability/setReachabilityBlock: + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock + + + //api/name/reachabilityBlock + + + + + //apple_ref/occ/instm/KSYReachability/reachabilityBlock + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock + + + //api/name/reachabilityBlock + + + + + //apple_ref/occ/instp/KSYReachability/reachabilityBlock + + KSYReachability.h + + @property (nonatomic, copy) KSYNetworkReachability reachabilityBlock + + + //api/name/reachabilityBlock + + + + + //apple_ref/occ/instm/KSYReachability/setReachableOnWWAN: + + KSYReachability.h + + @property (nonatomic, assign) BOOL reachableOnWWAN + + + //api/name/reachableOnWWAN + + + + + //apple_ref/occ/instm/KSYReachability/reachableOnWWAN + + KSYReachability.h + + @property (nonatomic, assign) BOOL reachableOnWWAN + + + //api/name/reachableOnWWAN + + + + + //apple_ref/occ/instp/KSYReachability/reachableOnWWAN + + KSYReachability.h + + @property (nonatomic, assign) BOOL reachableOnWWAN + + + //api/name/reachableOnWWAN + + + + + //apple_ref/occ/clm/KSYReachability/reachabilityWithHostname: + + KSYReachability.h + + + (instancetype)reachabilityWithHostname:(NSString *)hostname + + + //api/name/reachabilityWithHostname: + + + + + //apple_ref/occ/clm/KSYReachability/reachabilityWithHostName: + + KSYReachability.h + + + (instancetype)reachabilityWithHostName:(NSString *)hostname + + + //api/name/reachabilityWithHostName: + + + + + //apple_ref/occ/clm/KSYReachability/reachabilityForInternetConnection + + KSYReachability.h + + + (instancetype)reachabilityForInternetConnection + + + //api/name/reachabilityForInternetConnection + + + + + //apple_ref/occ/clm/KSYReachability/reachabilityWithAddress: + + KSYReachability.h + + + (instancetype)reachabilityWithAddress:(void *)hostAddress + + + //api/name/reachabilityWithAddress: - //apple_ref/occ/instm/KSYSpecialEffects/setSpecialEffectsUIImage: - 指定特效素材 - KSYSpecialEffects.h + //apple_ref/occ/clm/KSYReachability/reachabilityForLocalWiFi + + KSYReachability.h + + + (instancetype)reachabilityForLocalWiFi + + + //api/name/reachabilityForLocalWiFi + + + + + //apple_ref/occ/instm/KSYReachability/initWithReachabilityRef: + + KSYReachability.h + + - (instancetype)initWithReachabilityRef:(SCNetworkReachabilityRef)ref + + + //api/name/initWithReachabilityRef: + + + + + //apple_ref/occ/instm/KSYReachability/startNotifier + + KSYReachability.h + + - (BOOL)startNotifier + + + //api/name/startNotifier + + + + + //apple_ref/occ/instm/KSYReachability/stopNotifier + + KSYReachability.h + + - (void)stopNotifier + + + //api/name/stopNotifier + + + + + //apple_ref/occ/instm/KSYReachability/isReachable + + KSYReachability.h + + - (BOOL)isReachable + + + //api/name/isReachable + + + + + //apple_ref/occ/instm/KSYReachability/isReachableViaWWAN + + KSYReachability.h + + - (BOOL)isReachableViaWWAN + + + //api/name/isReachableViaWWAN + + + + + //apple_ref/occ/instm/KSYReachability/isReachableViaWiFi + + KSYReachability.h + + - (BOOL)isReachableViaWiFi + + + //api/name/isReachableViaWiFi + + + + + //apple_ref/occ/instm/KSYReachability/isConnectionRequired + + KSYReachability.h + + - (BOOL)isConnectionRequired + + + //api/name/isConnectionRequired + + + + + //apple_ref/occ/instm/KSYReachability/connectionRequired + + KSYReachability.h + + - (BOOL)connectionRequired + + + //api/name/connectionRequired + + + + + //apple_ref/occ/instm/KSYReachability/isConnectionOnDemand + + KSYReachability.h + + - (BOOL)isConnectionOnDemand + + + //api/name/isConnectionOnDemand + + + + + //apple_ref/occ/instm/KSYReachability/isInterventionRequired + + KSYReachability.h + + - (BOOL)isInterventionRequired + + + //api/name/isInterventionRequired + + + + + //apple_ref/occ/instm/KSYReachability/currentReachabilityStatus + + KSYReachability.h + + - (KSYNetworkStatus)currentReachabilityStatus - - (void)setSpecialEffectsUIImage:(UIImage *)image - - - image - 特效素材 - - - //api/name/setSpecialEffectsUIImage: + //api/name/currentReachabilityStatus - //apple_ref/occ/instm/KSYSpecialEffects/setIntensity: - 特效参数 - KSYSpecialEffects.h + //apple_ref/occ/instm/KSYReachability/reachabilityFlags + + KSYReachability.h - @property (readwrite, nonatomic) CGFloat intensity + - (SCNetworkReachabilityFlags)reachabilityFlags - //api/name/intensity + //api/name/reachabilityFlags - //apple_ref/occ/instm/KSYSpecialEffects/intensity - 特效参数 - KSYSpecialEffects.h + //apple_ref/occ/instm/KSYReachability/currentReachabilityString + + KSYReachability.h - @property (readwrite, nonatomic) CGFloat intensity + - (NSString *)currentReachabilityString - //api/name/intensity + //api/name/currentReachabilityString - //apple_ref/occ/instp/KSYSpecialEffects/intensity - 特效参数 - KSYSpecialEffects.h + //apple_ref/occ/instm/KSYReachability/currentReachabilityFlags + + KSYReachability.h - @property (readwrite, nonatomic) CGFloat intensity + - (NSString *)currentReachabilityFlags - //api/name/intensity + //api/name/currentReachabilityFlags diff --git a/doc/docset/Contents/Resources/Tokens46.xml b/doc/docset/Contents/Resources/Tokens46.xml index 9d8b5b7..986bba5 100644 --- a/doc/docset/Contents/Resources/Tokens46.xml +++ b/doc/docset/Contents/Resources/Tokens46.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYStreamerBase - 金山云直播推流SDK iOS版提供了iOS移动设备上的推流功能 - KSYStreamerBase.h + //apple_ref/occ/cl/KSYShakeFilter + KSYShakeFilter 画面抖动效果 + KSYShakeFilter.h @@ -13,2401 +13,19 @@ - //apple_ref/occ/instm/KSYStreamerBase/getKSYVersion - 获取SDK版本号 - KSYStreamerBase.h + //apple_ref/occ/instm/KSYShakeFilter/initWithType: + 创建抖动效果的滤镜 + KSYShakeFilter.h - - (NSString *)getKSYVersion - - - //api/name/getKSYVersion - - - - - //apple_ref/occ/instm/KSYStreamerBase/setHostURL: - 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSURL *hostURL - - - //api/name/hostURL - - - - - //apple_ref/occ/instm/KSYStreamerBase/hostURL - 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSURL *hostURL - - - //api/name/hostURL - - - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSURL *hostURL - - - //api/name/hostURL - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoFPS: - 视频帧率 默认:15 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoFPS - 视频帧率 默认:15 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoFPS - 视频帧率 默认:15 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoFPS - - - //api/name/videoFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoMinFPS: - 视频帧率最小值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMinFPS - - - //api/name/videoMinFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoMinFPS - 视频帧率最小值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMinFPS - - - //api/name/videoMinFPS - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinFPS - 视频帧率最小值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMinFPS - - - //api/name/videoMinFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoMaxFPS: - 视频帧率最大值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMaxFPS - - - //api/name/videoMaxFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoMaxFPS - 视频帧率最大值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMaxFPS - - - //api/name/videoMaxFPS - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxFPS - 视频帧率最大值,默认与videoFPS相同 - KSYStreamerBase.h - - @property (nonatomic, assign) int videoMaxFPS - - - //api/name/videoMaxFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoCodec: - 视频编码器 默认为 自动选择 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf - - - - @property (nonatomic, assign) KSYVideoCodec videoCodec - - - //api/name/videoCodec - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoCodec - 视频编码器 默认为 自动选择 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf - - - - @property (nonatomic, assign) KSYVideoCodec videoCodec - - - //api/name/videoCodec - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoCodec - 视频编码器 默认为 自动选择 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf - - - - @property (nonatomic, assign) KSYVideoCodec videoCodec - - - //api/name/videoCodec - - - - - //apple_ref/occ/instm/KSYStreamerBase/setAudioCodec: - 音频编码器 (默认为AAC-HE) - KSYStreamerBase.h - - - //apple_ref/c/tdef/KSYAudioCodec - - - - @property (nonatomic, assign) KSYAudioCodec audioCodec - - - //api/name/audioCodec - - - - - //apple_ref/occ/instm/KSYStreamerBase/audioCodec - 音频编码器 (默认为AAC-HE) - KSYStreamerBase.h - - - //apple_ref/c/tdef/KSYAudioCodec - - - - @property (nonatomic, assign) KSYAudioCodec audioCodec - - - //api/name/audioCodec - - - - - //apple_ref/occ/instp/KSYStreamerBase/audioCodec - 音频编码器 (默认为AAC-HE) - KSYStreamerBase.h - - - //apple_ref/c/tdef/KSYAudioCodec - - - - @property (nonatomic, assign) KSYAudioCodec audioCodec - - - //api/name/audioCodec - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoInitBitrate: - 视频编码起始码率(单位:kbps, 默认:500) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoInitBitrate - - - //api/name/videoInitBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoInitBitrate - 视频编码起始码率(单位:kbps, 默认:500) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoInitBitrate - - - //api/name/videoInitBitrate - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoInitBitrate - 视频编码起始码率(单位:kbps, 默认:500) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoInitBitrate - - - //api/name/videoInitBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoMaxBitrate: - 视频编码最高码率(单位:kbps, 默认:800) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoMaxBitrate - - - //api/name/videoMaxBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoMaxBitrate - 视频编码最高码率(单位:kbps, 默认:800) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoMaxBitrate - - - //api/name/videoMaxBitrate - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - 视频编码最高码率(单位:kbps, 默认:800) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - - - - @property (nonatomic, assign) int videoMaxBitrate - - - //api/name/videoMaxBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoMinBitrate: - 视频编码最低码率(单位:kbps, 默认:200) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, assign) int videoMinBitrate - - - //api/name/videoMinBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoMinBitrate - 视频编码最低码率(单位:kbps, 默认:200) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, assign) int videoMinBitrate - - - //api/name/videoMinBitrate - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate - 视频编码最低码率(单位:kbps, 默认:200) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, assign) int videoMinBitrate - - - //api/name/videoMinBitrate - - - - - //apple_ref/occ/instm/KSYStreamerBase/setStreamMetaData: - 推流全局附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *streamMetaData - - - //api/name/streamMetaData - - - - - //apple_ref/occ/instm/KSYStreamerBase/streamMetaData - 推流全局附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *streamMetaData - - - //api/name/streamMetaData - - - - - //apple_ref/occ/instp/KSYStreamerBase/streamMetaData - 推流全局附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *streamMetaData - - - //api/name/streamMetaData - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoMetaData: - 视频流附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *videoMetaData - - - //api/name/videoMetaData - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoMetaData - 视频流附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *videoMetaData - - - //api/name/videoMetaData - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoMetaData - 视频流附带的metadata (默认为nil) - KSYStreamerBase.h - - @property (atomic, copy) NSDictionary *videoMetaData - - - //api/name/videoMetaData - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoCrf: - 质量等级(默认:20) - KSYStreamerBase.h - - @property (nonatomic, assign) int videoCrf - - - //api/name/videoCrf - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoCrf - 质量等级(默认:20) - KSYStreamerBase.h - - @property (nonatomic, assign) int videoCrf - - - //api/name/videoCrf - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoCrf - 质量等级(默认:20) - KSYStreamerBase.h - - @property (nonatomic, assign) int videoCrf - - - //api/name/videoCrf - - - - - //apple_ref/occ/instm/KSYStreamerBase/setMaxKeyInterval: - 最大关键帧间隔(单位:秒, 默认:3) - KSYStreamerBase.h - - @property (nonatomic, assign) float maxKeyInterval - - - //api/name/maxKeyInterval - - - - - //apple_ref/occ/instm/KSYStreamerBase/maxKeyInterval - 最大关键帧间隔(单位:秒, 默认:3) - KSYStreamerBase.h - - @property (nonatomic, assign) float maxKeyInterval - - - //api/name/maxKeyInterval - - - - - //apple_ref/occ/instp/KSYStreamerBase/maxKeyInterval - 最大关键帧间隔(单位:秒, 默认:3) - KSYStreamerBase.h - - @property (nonatomic, assign) float maxKeyInterval - - - //api/name/maxKeyInterval - - - - - //apple_ref/occ/instm/KSYStreamerBase/setAudiokBPS: - 音频编码码率(单位:kbps) - KSYStreamerBase.h - - @property (nonatomic, assign) int audiokBPS - - - //api/name/audiokBPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/audiokBPS - 音频编码码率(单位:kbps) - KSYStreamerBase.h - - @property (nonatomic, assign) int audiokBPS - - - //api/name/audiokBPS - - - - - //apple_ref/occ/instp/KSYStreamerBase/audiokBPS - 音频编码码率(单位:kbps) - KSYStreamerBase.h - - @property (nonatomic, assign) int audiokBPS - - - //api/name/audiokBPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBwEstimateMode: - 带宽估计模式 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode - - - //api/name/bwEstimateMode - - - - - //apple_ref/occ/instm/KSYStreamerBase/bwEstimateMode - 带宽估计模式 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode - - - //api/name/bwEstimateMode - - - - - //apple_ref/occ/instp/KSYStreamerBase/bwEstimateMode - 带宽估计模式 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode - - - //api/name/bwEstimateMode - - - - - //apple_ref/occ/instm/KSYStreamerBase/setLiveScene: - 本次直播的目标场景 (默认为KSYLiveScene_Default) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYLiveScene liveScene - - - //api/name/liveScene - - - - - //apple_ref/occ/instm/KSYStreamerBase/liveScene - 本次直播的目标场景 (默认为KSYLiveScene_Default) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYLiveScene liveScene - - - //api/name/liveScene - - - - - //apple_ref/occ/instp/KSYStreamerBase/liveScene - 本次直播的目标场景 (默认为KSYLiveScene_Default) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYLiveScene liveScene - - - //api/name/liveScene - - - - - //apple_ref/occ/instm/KSYStreamerBase/setRecScene: - 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYRecScene recScene - - - //api/name/recScene - - - - - //apple_ref/occ/instm/KSYStreamerBase/recScene - 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYRecScene recScene - - - //api/name/recScene - - - - - //apple_ref/occ/instp/KSYStreamerBase/recScene - 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) - KSYStreamerBase.h - - @property (nonatomic, assign) KSYRecScene recScene - - - //api/name/recScene - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoEncodePerf: - 视频编码性能档次 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf - - - //api/name/videoEncodePerf - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoEncodePerf - 视频编码性能档次 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf - - - //api/name/videoEncodePerf - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf - 视频编码性能档次 - KSYStreamerBase.h - - @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf - - - //api/name/videoEncodePerf - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBWithVideo: - 是否处理视频的图像数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithVideo - - - //api/name/bWithVideo - - - - - //apple_ref/occ/instm/KSYStreamerBase/bWithVideo - 是否处理视频的图像数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithVideo - - - //api/name/bWithVideo - - - - - //apple_ref/occ/instp/KSYStreamerBase/bWithVideo - 是否处理视频的图像数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithVideo - - - //api/name/bWithVideo - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBWithAudio: - 是否处理音频数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithAudio - - - //api/name/bWithAudio - - - - - //apple_ref/occ/instm/KSYStreamerBase/bWithAudio - 是否处理音频数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithAudio - - - //api/name/bWithAudio - - - - - //apple_ref/occ/instp/KSYStreamerBase/bWithAudio - 是否处理音频数据 (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithAudio - - - //api/name/bWithAudio - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBWithMessage: - 是否处理Message (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithMessage - - - //api/name/bWithMessage - - - - - //apple_ref/occ/instm/KSYStreamerBase/bWithMessage - 是否处理Message (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithMessage - - - //api/name/bWithMessage - - - - - //apple_ref/occ/instp/KSYStreamerBase/bWithMessage - 是否处理Message (默认YES) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bWithMessage - - - //api/name/bWithMessage - - - - - //apple_ref/occ/instm/KSYStreamerBase/setScaleRatio: - cpu缩放比率,设置>0为按比例缩放,默认为0 - KSYStreamerBase.h - - @property (nonatomic, assign) float scaleRatio - - - //api/name/scaleRatio - - - - - //apple_ref/occ/instm/KSYStreamerBase/scaleRatio - cpu缩放比率,设置>0为按比例缩放,默认为0 - KSYStreamerBase.h - - @property (nonatomic, assign) float scaleRatio - - - //api/name/scaleRatio - - - - - //apple_ref/occ/instp/KSYStreamerBase/scaleRatio - cpu缩放比率,设置>0为按比例缩放,默认为0 - KSYStreamerBase.h - - @property (nonatomic, assign) float scaleRatio - - - //api/name/scaleRatio - - - - - //apple_ref/occ/instm/KSYStreamerBase/setStreamState: - 当前推流状况 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamState streamState - - - //api/name/streamState - - - - - //apple_ref/occ/instm/KSYStreamerBase/streamState - 当前推流状况 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamState streamState - - - //api/name/streamState - - - - - //apple_ref/occ/instp/KSYStreamerBase/streamState - 当前推流状况 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamState streamState - - - //api/name/streamState - - - - - //apple_ref/occ/instm/KSYStreamerBase/getStreamStateName: - 获取推流状态对应的字符串 - KSYStreamerBase.h - - - (NSString *)getStreamStateName:(KSYStreamState)stat - - - stat - 状态码 - - - 状态名称 - //api/name/getStreamStateName: - - - - - //apple_ref/occ/instm/KSYStreamerBase/getCurStreamStateName - 获取当前推流状态对应的字符串 - KSYStreamerBase.h - - - (NSString *)getCurStreamStateName - - 当前状态名称 - //api/name/getCurStreamStateName - - - - - //apple_ref/occ/instm/KSYStreamerBase/setStreamErrorCode: - 当前推流的错误码 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/streamState - - - - @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode - - - //api/name/streamErrorCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/streamErrorCode - 当前推流的错误码 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/streamState - - - - @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode - - - //api/name/streamErrorCode - - - - - //apple_ref/occ/instp/KSYStreamerBase/streamErrorCode - 当前推流的错误码 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/streamState - - - - @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode - - - //api/name/streamErrorCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/setStreamStateChange: - 发生推流状态变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange - - - //api/name/streamStateChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/streamStateChange - 发生推流状态变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange - - - //api/name/streamStateChange - - - - - //apple_ref/occ/instp/KSYStreamerBase/streamStateChange - 发生推流状态变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange - - - //api/name/streamStateChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/getKSYStreamErrorCodeName: - 获取错误码对应的字符串 - KSYStreamerBase.h - - - (NSString *)getKSYStreamErrorCodeName:(KSYStreamErrorCode)code - - - code - 错误码 - - - - //api/name/getKSYStreamErrorCodeName: - - - - - //apple_ref/occ/instm/KSYStreamerBase/getCurKSYStreamErrorCodeName - 获取当前错误码对应的字符串 - KSYStreamerBase.h - - - (NSString *)getCurKSYStreamErrorCodeName - - - //api/name/getCurKSYStreamErrorCodeName - - - - - //apple_ref/occ/instm/KSYStreamerBase/setNetStateCode: - 当前推流的网络事件 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetStateCode netStateCode - - - //api/name/netStateCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/netStateCode - 当前推流的网络事件 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetStateCode netStateCode - - - //api/name/netStateCode - - - - - //apple_ref/occ/instp/KSYStreamerBase/netStateCode - 当前推流的网络事件 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetStateCode netStateCode - - - //api/name/netStateCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/setVideoFPSChange: - 帧率应发生变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange - - - //api/name/videoFPSChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/videoFPSChange - 帧率应发生变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange - - - //api/name/videoFPSChange - - - - - //apple_ref/occ/instp/KSYStreamerBase/videoFPSChange - 帧率应发生变化时的回调函数 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange - - - //api/name/videoFPSChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/initWithDefaultCfg - 初始化方法 (step1) - KSYStreamerBase.h - - - (instancetype)initWithDefaultCfg - - - //api/name/initWithDefaultCfg - - - - - //apple_ref/occ/instm/KSYStreamerBase/startStream: - 启动推流 (step2) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/audiokBPS - - - - - (void)startStream:(NSURL *)url - - - url - 目标地址 - - - - //api/name/startStream: - - - - - //apple_ref/occ/instm/KSYStreamerBase/stopStream - 停止推流 (step3) - KSYStreamerBase.h - - - (void)stopStream - - - //api/name/stopStream - - - - - //apple_ref/occ/instm/KSYStreamerBase/muteStream: - 静音推流 (仍然有音频输出发送, 只是音量为0) - KSYStreamerBase.h - - - (void)muteStream:(BOOL)bMute - - - bMute - YES / ON - - - - //api/name/muteStream: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processVideoSampleBuffer: - 处理一个视频帧(只支持编码前的原始图像数据) - KSYStreamerBase.h - - - (void)processVideoSampleBuffer:(CMSampleBufferRef)sampleBuffer - - - sampleBuffer - Buffer to process - - - - //api/name/processVideoSampleBuffer: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processVideoSampleBuffer:onComplete: - 处理一个视频帧(只支持编码前的原始图像数据) - KSYStreamerBase.h - - - (void)processVideoSampleBuffer:(CMSampleBufferRef)sampleBuffer onComplete:(void ( ^ ) ( BOOL ))completion - - - sampleBuffer - Buffer to process - - completion - 当前视频帧处理完成的回调 - - - - //api/name/processVideoSampleBuffer:onComplete: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processVideoPixelBuffer:timeInfo: - 处理一个视频帧(只支持编码前的原始图像数据) - KSYStreamerBase.h - - - (void)processVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp - - - pixelBuffer - 待编码的像素数据 - - timeStamp - 待编码的时间戳 - - - - //api/name/processVideoPixelBuffer:timeInfo: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processVideoPixelBuffer:timeInfo:onComplete: - 处理一个视频帧(只支持编码前的原始图像数据) - KSYStreamerBase.h - - - (void)processVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp onComplete:(void ( ^ ) ( BOOL ))completion - - - pixelBuffer - 待编码的像素数据 - - timeStamp - 待编码的时间戳 - - completion - 当前视频帧处理完成的回调 - - - - //api/name/processVideoPixelBuffer:timeInfo:onComplete: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processAudioSampleBuffer: - 处理一段音频数据 - KSYStreamerBase.h - - - (void)processAudioSampleBuffer:(CMSampleBufferRef)sampleBuffer - - - sampleBuffer - Buffer to process - - - - //api/name/processAudioSampleBuffer: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processAudioData:nbSample:withFormat:timeinfo: - 处理一段音频数据 - KSYStreamerBase.h - - - (void)processAudioData:(uint8_t **)pData nbSample:(int)len withFormat:(const AudioStreamBasicDescription *)fmt timeinfo:(CMTime *)pts - - - pData - 原始数据指针数组 - - len - 数据的长度,单位为字节 - - fmt - 原始数据的格式 (必须保证一次推流过程中数据格式不变) - - pts - 原始数据的时间戳 - - - - //api/name/processAudioData:nbSample:withFormat:timeinfo: - - - - - //apple_ref/occ/instm/KSYStreamerBase/processMessageData: - 处理一个消息 - KSYStreamerBase.h - - - (void)processMessageData:(NSDictionary *)messageData - - - message - message to process - - - - //api/name/processMessageData: - - - - - //apple_ref/occ/instm/KSYStreamerBase/setClientAk: - 获取当前用户的ak -@warnning 默认是空的,只有在需要鉴权时,才能获取到 - KSYStreamerBase.h - - @property (nonatomic, assign) NSString *clientAk - - - //api/name/clientAk - - - - - //apple_ref/occ/instm/KSYStreamerBase/clientAk - 获取当前用户的ak -@warnning 默认是空的,只有在需要鉴权时,才能获取到 - KSYStreamerBase.h - - @property (nonatomic, assign) NSString *clientAk - - - //api/name/clientAk - - - - - //apple_ref/occ/instp/KSYStreamerBase/clientAk - 获取当前用户的ak -@warnning 默认是空的,只有在需要鉴权时,才能获取到 - KSYStreamerBase.h - - @property (nonatomic, assign) NSString *clientAk - - - //api/name/clientAk - - - - - //apple_ref/occ/instm/KSYStreamerBase/setExpireDate: - 获取当前SDK过期时间 - KSYStreamerBase.h - - @property (nonatomic, assign) NSDate *expireDate - - - //api/name/expireDate - - - - - //apple_ref/occ/instm/KSYStreamerBase/expireDate - 获取当前SDK过期时间 - KSYStreamerBase.h - - @property (nonatomic, assign) NSDate *expireDate - - - //api/name/expireDate - - - - - //apple_ref/occ/instp/KSYStreamerBase/expireDate - 获取当前SDK过期时间 - KSYStreamerBase.h - - @property (nonatomic, assign) NSDate *expireDate - - - //api/name/expireDate - - - - - //apple_ref/occ/instm/KSYStreamerBase/setStreamID: - 查询当前推流的事件ID - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSString *streamID - - - //api/name/streamID - - - - - //apple_ref/occ/instm/KSYStreamerBase/streamID - 查询当前推流的事件ID - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSString *streamID - - - //api/name/streamID - - - - - //apple_ref/occ/instp/KSYStreamerBase/streamID - 查询当前推流的事件ID - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSString *streamID - - - //api/name/streamID - - - - - //apple_ref/occ/instm/KSYStreamerBase/isStreaming - 查询当前是否处于推流状态 (建立连接中, 或连接中) - KSYStreamerBase.h - - - (BOOL)isStreaming - - - //api/name/isStreaming - - - - - //apple_ref/occ/instm/KSYStreamerBase/setEncodeVKbps: - 查询当前编码的视频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, readonly) double encodeVKbps - - - //api/name/encodeVKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/encodeVKbps - 查询当前编码的视频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, readonly) double encodeVKbps - - - //api/name/encodeVKbps - - - - - //apple_ref/occ/instp/KSYStreamerBase/encodeVKbps - 查询当前编码的视频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate - - - - @property (nonatomic, readonly) double encodeVKbps - - - //api/name/encodeVKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/setEncodeAKbps: - 查询当前编码的音频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/audiokBPS - - - - @property (nonatomic, readonly) double encodeAKbps - - - //api/name/encodeAKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/encodeAKbps - 查询当前编码的音频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/audiokBPS - - - - @property (nonatomic, readonly) double encodeAKbps - - - //api/name/encodeAKbps - - - - - //apple_ref/occ/instp/KSYStreamerBase/encodeAKbps - 查询当前编码的音频码率大小(每秒更新) - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/audiokBPS - - - - @property (nonatomic, readonly) double encodeAKbps - - - //api/name/encodeAKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/setUploadedKByte: - 查询本次推流发送的流量大小 (仅推流时有效) - KSYStreamerBase.h - - @property (nonatomic, readonly) int uploadedKByte - - - //api/name/uploadedKByte - - - - - //apple_ref/occ/instm/KSYStreamerBase/uploadedKByte - 查询本次推流发送的流量大小 (仅推流时有效) - KSYStreamerBase.h - - @property (nonatomic, readonly) int uploadedKByte - - - //api/name/uploadedKByte - - - - - //apple_ref/occ/instp/KSYStreamerBase/uploadedKByte - 查询本次推流发送的流量大小 (仅推流时有效) - KSYStreamerBase.h - - @property (nonatomic, readonly) int uploadedKByte - - - //api/name/uploadedKByte - - - - - //apple_ref/occ/instm/KSYStreamerBase/setCurrentUploadingKbps: - 查询当前上传的码率大小 (每秒更新) - KSYStreamerBase.h - - @property (nonatomic, readonly) double currentUploadingKbps - - - //api/name/currentUploadingKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/currentUploadingKbps - 查询当前上传的码率大小 (每秒更新) - KSYStreamerBase.h - - @property (nonatomic, readonly) double currentUploadingKbps - - - //api/name/currentUploadingKbps - - - - - //apple_ref/occ/instp/KSYStreamerBase/currentUploadingKbps - 查询当前上传的码率大小 (每秒更新) - KSYStreamerBase.h - - @property (nonatomic, readonly) double currentUploadingKbps - - - //api/name/currentUploadingKbps - - - - - //apple_ref/occ/instm/KSYStreamerBase/setEncodingFPS: - 查询当前编码的平均视频帧率 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoFPS - - - - @property (nonatomic, readonly) double encodingFPS - - - //api/name/encodingFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/encodingFPS - 查询当前编码的平均视频帧率 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoFPS - - - - @property (nonatomic, readonly) double encodingFPS - - - //api/name/encodingFPS - - - - - //apple_ref/occ/instp/KSYStreamerBase/encodingFPS - 查询当前编码的平均视频帧率 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/videoFPS - - - - @property (nonatomic, readonly) double encodingFPS - - - //api/name/encodingFPS - - - - - //apple_ref/occ/instm/KSYStreamerBase/setEncodedFrames: - 查询本次推流编码的视频总帧数 - KSYStreamerBase.h - - @property (nonatomic, readonly) int encodedFrames - - - //api/name/encodedFrames - - - - - //apple_ref/occ/instm/KSYStreamerBase/encodedFrames - 查询本次推流编码的视频总帧数 - KSYStreamerBase.h - - @property (nonatomic, readonly) int encodedFrames - - - //api/name/encodedFrames - - - - - //apple_ref/occ/instp/KSYStreamerBase/encodedFrames - 查询本次推流编码的视频总帧数 - KSYStreamerBase.h - - @property (nonatomic, readonly) int encodedFrames - - - //api/name/encodedFrames - - - - - //apple_ref/occ/instm/KSYStreamerBase/setDroppedVideoFrames: - 查询本次推流发送的丢帧数量 - KSYStreamerBase.h - - @property (nonatomic, readonly) int droppedVideoFrames - - - //api/name/droppedVideoFrames - - - - - //apple_ref/occ/instm/KSYStreamerBase/droppedVideoFrames - 查询本次推流发送的丢帧数量 - KSYStreamerBase.h - - @property (nonatomic, readonly) int droppedVideoFrames - - - //api/name/droppedVideoFrames - - - - - //apple_ref/occ/instp/KSYStreamerBase/droppedVideoFrames - 查询本次推流发送的丢帧数量 - KSYStreamerBase.h - - @property (nonatomic, readonly) int droppedVideoFrames - - - //api/name/droppedVideoFrames - - - - - //apple_ref/occ/instm/KSYStreamerBase/setQosInfo: - 推流的qos信息 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instm/KSYStreamerBase/qosInfo - 推流的qos信息 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instp/KSYStreamerBase/qosInfo - 推流的qos信息 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo - - - //api/name/qosInfo - - - - - //apple_ref/occ/instm/KSYStreamerBase/setRtmpHostIP: - 查询当前推流的rtmp服务器的主机IP - KSYStreamerBase.h - - @property (atomic, readonly) NSString *rtmpHostIP - - - //api/name/rtmpHostIP - - - - - //apple_ref/occ/instm/KSYStreamerBase/rtmpHostIP - 查询当前推流的rtmp服务器的主机IP - KSYStreamerBase.h - - @property (atomic, readonly) NSString *rtmpHostIP - - - //api/name/rtmpHostIP - - - - - //apple_ref/occ/instp/KSYStreamerBase/rtmpHostIP - 查询当前推流的rtmp服务器的主机IP - KSYStreamerBase.h - - @property (atomic, readonly) NSString *rtmpHostIP - - - //api/name/rtmpHostIP - - - - - //apple_ref/occ/instm/KSYStreamerBase/setShouldEnableKSYStatModule: - 收集网络相关状态的日志,默认开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instm/KSYStreamerBase/shouldEnableKSYStatModule - 收集网络相关状态的日志,默认开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instp/KSYStreamerBase/shouldEnableKSYStatModule - 收集网络相关状态的日志,默认开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYStatModule - - - //api/name/shouldEnableKSYStatModule - - - - - //apple_ref/occ/instm/KSYStreamerBase/setLogBlock: - 获取Streamer中与网络相关的日志 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instm/KSYStreamerBase/logBlock - 获取Streamer中与网络相关的日志 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instp/KSYStreamerBase/logBlock - 获取Streamer中与网络相关的日志 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock - - - //api/name/logBlock - - - - - //apple_ref/occ/instm/KSYStreamerBase/takePhotoWithQuality:fileName: - 截图功能,目前只支持jpg格式 - KSYStreamerBase.h - - - (void)takePhotoWithQuality:(CGFloat)jpegCompressionQuality fileName:(NSString *)filename - - - jpegCompressionQuality - 设置图像的压缩比例 - - filename - 图片的文件名 - - - - //api/name/takePhotoWithQuality:fileName: - - - - - //apple_ref/occ/instm/KSYStreamerBase/getSnapshotWithCompletion: - 获取当前编码的截图 - KSYStreamerBase.h - - - (void)getSnapshotWithCompletion:(void ( ^ ) ( UIImage *))completion - - - completion - 通过完成代码块获取到截图完成的图像 - - - - //api/name/getSnapshotWithCompletion: - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordURL: - 旁路录像地址 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSURL *bypassRecordURL - - - //api/name/bypassRecordURL - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordURL - 旁路录像地址 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSURL *bypassRecordURL - - - //api/name/bypassRecordURL - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordURL - 旁路录像地址 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/hostURL - - - - @property (nonatomic, readonly) NSURL *bypassRecordURL - - - //api/name/bypassRecordURL - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassMp4FastStart: - mp4文件允许快速启动 (默认NO) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bypassMp4FastStart - - - //api/name/bypassMp4FastStart - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassMp4FastStart - mp4文件允许快速启动 (默认NO) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bypassMp4FastStart - - - //api/name/bypassMp4FastStart - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassMp4FastStart - mp4文件允许快速启动 (默认NO) - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL bypassMp4FastStart - - - //api/name/bypassMp4FastStart - - - - - //apple_ref/occ/instm/KSYStreamerBase/startBypassRecord: - 启动旁路录像 - KSYStreamerBase.h - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordState - - - - - (BOOL)startBypassRecord:(NSURL *)url + - (instancetype)initWithType:(KSYShakeType)type - url - 本地录像文件地址:/private/var/..../test.mp4 + type + 抖动效果的类型 - 是否能尝试启动写入, 不能表明真正开始录像了,真正开始请确认bypassRecordState的值 - //api/name/startBypassRecord: - - - - - //apple_ref/occ/instm/KSYStreamerBase/stopBypassRecord - 停止旁路录像 - KSYStreamerBase.h - - - (void)stopBypassRecord - - - //api/name/stopBypassRecord - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordDuration: - 旁路录像的文件时长 - KSYStreamerBase.h - - @property (nonatomic, readonly) double bypassRecordDuration - - - //api/name/bypassRecordDuration - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordDuration - 旁路录像的文件时长 - KSYStreamerBase.h - - @property (nonatomic, readonly) double bypassRecordDuration - - - //api/name/bypassRecordDuration - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordDuration - 旁路录像的文件时长 - KSYStreamerBase.h - - @property (nonatomic, readonly) double bypassRecordDuration - - - //api/name/bypassRecordDuration - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordState: - 旁路录像的状态 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordState bypassRecordState - - - //api/name/bypassRecordState - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordState - 旁路录像的状态 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordState bypassRecordState - - - //api/name/bypassRecordState - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordState - 旁路录像的状态 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordState bypassRecordState - - - //api/name/bypassRecordState - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordErrorCode: - 旁路录像的错误码 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode - - - //api/name/bypassRecordErrorCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordErrorCode - 旁路录像的错误码 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode - - - //api/name/bypassRecordErrorCode - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordErrorCode - 旁路录像的错误码 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode - - - //api/name/bypassRecordErrorCode - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordErrorName: - 旁路录像的错误名称 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSString *bypassRecordErrorName - - - //api/name/bypassRecordErrorName - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordErrorName - 旁路录像的错误名称 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSString *bypassRecordErrorName - - - //api/name/bypassRecordErrorName - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordErrorName - 旁路录像的错误名称 - KSYStreamerBase.h - - @property (nonatomic, readonly) NSString *bypassRecordErrorName - - - //api/name/bypassRecordErrorName - - - - - //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordStateChange: - 当旁路录制的状态变化时 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange - - - //api/name/bypassRecordStateChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/bypassRecordStateChange - 当旁路录制的状态变化时 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange - - - //api/name/bypassRecordStateChange - - - - - //apple_ref/occ/instp/KSYStreamerBase/bypassRecordStateChange - 当旁路录制的状态变化时 - KSYStreamerBase.h - - @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange - - - //api/name/bypassRecordStateChange - - - - - //apple_ref/occ/instm/KSYStreamerBase/setShouldEnableKSYDropModule: - 是否允许编码前丢帧,默认开启 -@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYDropModule - - - //api/name/shouldEnableKSYDropModule - - - - - //apple_ref/occ/instm/KSYStreamerBase/shouldEnableKSYDropModule - 是否允许编码前丢帧,默认开启 -@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYDropModule - - - //api/name/shouldEnableKSYDropModule - - - - - //apple_ref/occ/instp/KSYStreamerBase/shouldEnableKSYDropModule - 是否允许编码前丢帧,默认开启 -@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 - KSYStreamerBase.h - - @property (nonatomic, assign) BOOL shouldEnableKSYDropModule - - - //api/name/shouldEnableKSYDropModule - - - - - //apple_ref/occ/instm/KSYStreamerBase/setNetReachability: - / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYReachability *netReachability - - - //api/name/netReachability - - - - - //apple_ref/occ/instm/KSYStreamerBase/netReachability - / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYReachability *netReachability - - - //api/name/netReachability - - - - - //apple_ref/occ/instp/KSYStreamerBase/netReachability - / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYReachability *netReachability - - - //api/name/netReachability - - - - - //apple_ref/occ/instm/KSYStreamerBase/setNetReachState: - 是否能连通外网 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetReachState netReachState - - - //api/name/netReachState - - - - - //apple_ref/occ/instm/KSYStreamerBase/netReachState - 是否能连通外网 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetReachState netReachState - - - //api/name/netReachState - - - - - //apple_ref/occ/instp/KSYStreamerBase/netReachState - 是否能连通外网 - KSYStreamerBase.h - - @property (nonatomic, readonly) KSYNetReachState netReachState - - - //api/name/netReachState - - - - - //apple_ref/occ/instm/KSYStreamerBase/setReachabilityDetectURL: - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYStreamerBase.h - - @property (nonatomic, readwrite) NSString *reachabilityDetectURL - - - //api/name/reachabilityDetectURL - - - - - //apple_ref/occ/instm/KSYStreamerBase/reachabilityDetectURL - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYStreamerBase.h - - @property (nonatomic, readwrite) NSString *reachabilityDetectURL - - - //api/name/reachabilityDetectURL - - - - - //apple_ref/occ/instp/KSYStreamerBase/reachabilityDetectURL - 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” - KSYStreamerBase.h - - @property (nonatomic, readwrite) NSString *reachabilityDetectURL - - //api/name/reachabilityDetectURL + //api/name/initWithType: diff --git a/doc/docset/Contents/Resources/Tokens47.xml b/doc/docset/Contents/Resources/Tokens47.xml index 1170e6c..9e5dc67 100644 --- a/doc/docset/Contents/Resources/Tokens47.xml +++ b/doc/docset/Contents/Resources/Tokens47.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYTranscoder - 不同音视频文件格式间的转码 - KSYTranscoder.h + //apple_ref/occ/cl/KSYSpecialEffects + 金山云特效滤镜 + KSYSpecialEffects.h @@ -13,229 +13,101 @@ - //apple_ref/occ/instm/KSYTranscoder/startTranscode:outputFilePath: - 开始转换 - KSYTranscoder.h + //apple_ref/occ/clm/KSYSpecialEffects/showVersion + show version of this filter + KSYSpecialEffects.h - - (void)startTranscode:(NSURL *)inputFilePath outputFilePath:(NSURL *)outputFilePath - - - inputFilePath - 输入文件路径 - - outputFilePath - 输出文件路径 - - - - //api/name/startTranscode:outputFilePath: - - - - - //apple_ref/occ/instm/KSYTranscoder/stopTranscode - 停止转换 - KSYTranscoder.h - - - (void)stopTranscode - - - //api/name/stopTranscode - - - - - //apple_ref/occ/instm/KSYTranscoder/setDuration: - 转换文件的总时长,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float duration - - - //api/name/duration - - - - - //apple_ref/occ/instm/KSYTranscoder/duration - 转换文件的总时长,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float duration + + (void)showVersion - //api/name/duration + //api/name/showVersion - //apple_ref/occ/instp/KSYTranscoder/duration - 转换文件的总时长,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float duration - - - //api/name/duration - - - - - //apple_ref/occ/instm/KSYTranscoder/setPosition: - 当前转换位置,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float position - - - //api/name/position - - - - - //apple_ref/occ/instm/KSYTranscoder/position - 当前转换位置,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float position - - - //api/name/position - - - - - //apple_ref/occ/instp/KSYTranscoder/position - 当前转换位置,单位是秒 - KSYTranscoder.h - - @property (nonatomic, readonly) float position - + //apple_ref/occ/instm/KSYSpecialEffects/initWithUIImage: + 初始化并指定特效素材 + KSYSpecialEffects.h - //api/name/position - - - - - //apple_ref/occ/instm/KSYTranscoder/setProgress: - 转换进度 - KSYTranscoder.h - - @property (nonatomic, readonly) float progress - - - //api/name/progress - - - - - //apple_ref/occ/instm/KSYTranscoder/progress - 转换进度 - KSYTranscoder.h - - @property (nonatomic, readonly) float progress - - - //api/name/progress - - - - - //apple_ref/occ/instp/KSYTranscoder/progress - 转换进度 - KSYTranscoder.h - - @property (nonatomic, readonly) float progress - - - //api/name/progress - - - - - //apple_ref/occ/instm/KSYTranscoder/setTranscodeState: - 当前转码状况 - KSYTranscoder.h - - @property (nonatomic, readonly) KSYTranscodeState transcodeState - - - //api/name/transcodeState + - (id)initWithUIImage:(UIImage *)image + + + image + 特效素材 + + + 构造的滤镜 + //api/name/initWithUIImage: - //apple_ref/occ/instm/KSYTranscoder/transcodeState - 当前转码状况 - KSYTranscoder.h + //apple_ref/occ/instm/KSYSpecialEffects/initWithImageName: + 初始化并指定特效素材 + KSYSpecialEffects.h - @property (nonatomic, readonly) KSYTranscodeState transcodeState - - - //api/name/transcodeState + - (id)initWithImageName:(NSString *)name + + + name + 特效素材的文件名 + + + 构造的滤镜 + //api/name/initWithImageName: - //apple_ref/occ/instp/KSYTranscoder/transcodeState - 当前转码状况 - KSYTranscoder.h - - @property (nonatomic, readonly) KSYTranscodeState transcodeState + //apple_ref/occ/instm/KSYSpecialEffects/setSpecialEffectsUIImage: + 指定特效素材 + KSYSpecialEffects.h + - (void)setSpecialEffectsUIImage:(UIImage *)image + + + image + 特效素材 + + - //api/name/transcodeState + //api/name/setSpecialEffectsUIImage: - //apple_ref/occ/instm/KSYTranscoder/setTranscodeErrorCode: - 转码器的错误码 - KSYTranscoder.h + //apple_ref/occ/instm/KSYSpecialEffects/setIntensity: + 特效参数 + KSYSpecialEffects.h - - //apple_ref/occ/instp/KSYTranscoder/transcodeState - - - - @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode + @property (readwrite, nonatomic) CGFloat intensity - //api/name/transcodeErrorCode + //api/name/intensity - //apple_ref/occ/instm/KSYTranscoder/transcodeErrorCode - 转码器的错误码 - KSYTranscoder.h + //apple_ref/occ/instm/KSYSpecialEffects/intensity + 特效参数 + KSYSpecialEffects.h - - //apple_ref/occ/instp/KSYTranscoder/transcodeState - - - - @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode + @property (readwrite, nonatomic) CGFloat intensity - //api/name/transcodeErrorCode + //api/name/intensity - //apple_ref/occ/instp/KSYTranscoder/transcodeErrorCode - 转码器的错误码 - KSYTranscoder.h + //apple_ref/occ/instp/KSYSpecialEffects/intensity + 特效参数 + KSYSpecialEffects.h - - //apple_ref/occ/instp/KSYTranscoder/transcodeState - - - - @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode + @property (readwrite, nonatomic) CGFloat intensity - //api/name/transcodeErrorCode + //api/name/intensity diff --git a/doc/docset/Contents/Resources/Tokens48.xml b/doc/docset/Contents/Resources/Tokens48.xml index 626681f..4a5a988 100644 --- a/doc/docset/Contents/Resources/Tokens48.xml +++ b/doc/docset/Contents/Resources/Tokens48.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYUIRecorderKit - - KSYUIRecorderKit.h + //apple_ref/occ/cl/KSYStreamerBase + 金山云直播推流SDK iOS版提供了iOS移动设备上的推流功能 + KSYStreamerBase.h @@ -13,182 +13,2401 @@ - //apple_ref/occ/instm/KSYUIRecorderKit/initWithScheme: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/getKSYVersion + 获取SDK版本号 + KSYStreamerBase.h - - (instancetype)initWithScheme:(KSYPlayRecordScheme)scheme + - (NSString *)getKSYVersion - //api/name/initWithScheme: + //api/name/getKSYVersion - //apple_ref/occ/instm/KSYUIRecorderKit/setContentView: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/setHostURL: + 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 + KSYStreamerBase.h - @property (nonatomic, readwrite) UIView *contentView + @property (nonatomic, readonly) NSURL *hostURL - //api/name/contentView + //api/name/hostURL - //apple_ref/occ/instm/KSYUIRecorderKit/contentView - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/hostURL + 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 + KSYStreamerBase.h - @property (nonatomic, readwrite) UIView *contentView + @property (nonatomic, readonly) NSURL *hostURL - //api/name/contentView + //api/name/hostURL - //apple_ref/occ/instp/KSYUIRecorderKit/contentView - - KSYUIRecorderKit.h + //apple_ref/occ/instp/KSYStreamerBase/hostURL + 直播推流时为rtmp主机地址; 本地文件录制时,为输出文件路径 + KSYStreamerBase.h - @property (nonatomic, readwrite) UIView *contentView + @property (nonatomic, readonly) NSURL *hostURL - //api/name/contentView + //api/name/hostURL - //apple_ref/occ/instm/KSYUIRecorderKit/processWithTextureId:TextureSize:Time: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/setVideoFPS: + 视频帧率 默认:15 + KSYStreamerBase.h - - (void)processWithTextureId:(GLuint)InputTexture TextureSize:(CGSize)TextureSize Time:(CMTime)time + @property (nonatomic, assign) int videoFPS - //api/name/processWithTextureId:TextureSize:Time: + //api/name/videoFPS - //apple_ref/occ/instm/KSYUIRecorderKit/processAudioSampleBuffer: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/videoFPS + 视频帧率 默认:15 + KSYStreamerBase.h - - (void)processAudioSampleBuffer:(CMSampleBufferRef)buf + @property (nonatomic, assign) int videoFPS + //api/name/videoFPS + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoFPS + 视频帧率 默认:15 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoFPS + + + //api/name/videoFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoMinFPS: + 视频帧率最小值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMinFPS + + + //api/name/videoMinFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoMinFPS + 视频帧率最小值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMinFPS + + + //api/name/videoMinFPS + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinFPS + 视频帧率最小值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMinFPS + + + //api/name/videoMinFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoMaxFPS: + 视频帧率最大值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMaxFPS + + + //api/name/videoMaxFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoMaxFPS + 视频帧率最大值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMaxFPS + + + //api/name/videoMaxFPS + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxFPS + 视频帧率最大值,默认与videoFPS相同 + KSYStreamerBase.h + + @property (nonatomic, assign) int videoMaxFPS + + + //api/name/videoMaxFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoCodec: + 视频编码器 默认为 自动选择 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf + + + + @property (nonatomic, assign) KSYVideoCodec videoCodec + + + //api/name/videoCodec + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoCodec + 视频编码器 默认为 自动选择 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf + + + + @property (nonatomic, assign) KSYVideoCodec videoCodec + + + //api/name/videoCodec + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoCodec + 视频编码器 默认为 自动选择 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf + + + + @property (nonatomic, assign) KSYVideoCodec videoCodec + + + //api/name/videoCodec + + + + + //apple_ref/occ/instm/KSYStreamerBase/setAudioCodec: + 音频编码器 (默认为AAC-HE) + KSYStreamerBase.h + + + //apple_ref/c/tdef/KSYAudioCodec + + + + @property (nonatomic, assign) KSYAudioCodec audioCodec + + + //api/name/audioCodec + + + + + //apple_ref/occ/instm/KSYStreamerBase/audioCodec + 音频编码器 (默认为AAC-HE) + KSYStreamerBase.h + + + //apple_ref/c/tdef/KSYAudioCodec + + + + @property (nonatomic, assign) KSYAudioCodec audioCodec + + + //api/name/audioCodec + + + + + //apple_ref/occ/instp/KSYStreamerBase/audioCodec + 音频编码器 (默认为AAC-HE) + KSYStreamerBase.h + + + //apple_ref/c/tdef/KSYAudioCodec + + + + @property (nonatomic, assign) KSYAudioCodec audioCodec + + + //api/name/audioCodec + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoInitBitrate: + 视频编码起始码率(单位:kbps, 默认:500) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoInitBitrate + + + //api/name/videoInitBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoInitBitrate + 视频编码起始码率(单位:kbps, 默认:500) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoInitBitrate + + + //api/name/videoInitBitrate + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoInitBitrate + 视频编码起始码率(单位:kbps, 默认:500) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoInitBitrate + + + //api/name/videoInitBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoMaxBitrate: + 视频编码最高码率(单位:kbps, 默认:800) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoMaxBitrate + + + //api/name/videoMaxBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoMaxBitrate + 视频编码最高码率(单位:kbps, 默认:800) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoMaxBitrate + + + //api/name/videoMaxBitrate + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + 视频编码最高码率(单位:kbps, 默认:800) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + + + + @property (nonatomic, assign) int videoMaxBitrate + + + //api/name/videoMaxBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoMinBitrate: + 视频编码最低码率(单位:kbps, 默认:200) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, assign) int videoMinBitrate + + + //api/name/videoMinBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoMinBitrate + 视频编码最低码率(单位:kbps, 默认:200) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, assign) int videoMinBitrate + + + //api/name/videoMinBitrate + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoMinBitrate + 视频编码最低码率(单位:kbps, 默认:200) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, assign) int videoMinBitrate + + + //api/name/videoMinBitrate + + + + + //apple_ref/occ/instm/KSYStreamerBase/setStreamMetaData: + 推流全局附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *streamMetaData + + + //api/name/streamMetaData + + + + + //apple_ref/occ/instm/KSYStreamerBase/streamMetaData + 推流全局附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *streamMetaData + + + //api/name/streamMetaData + + + + + //apple_ref/occ/instp/KSYStreamerBase/streamMetaData + 推流全局附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *streamMetaData + + + //api/name/streamMetaData + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoMetaData: + 视频流附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *videoMetaData + + + //api/name/videoMetaData + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoMetaData + 视频流附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *videoMetaData + + + //api/name/videoMetaData + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoMetaData + 视频流附带的metadata (默认为nil) + KSYStreamerBase.h + + @property (atomic, copy) NSDictionary *videoMetaData + + + //api/name/videoMetaData + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoCrf: + 质量等级(默认:20) + KSYStreamerBase.h + + @property (nonatomic, assign) int videoCrf + + + //api/name/videoCrf + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoCrf + 质量等级(默认:20) + KSYStreamerBase.h + + @property (nonatomic, assign) int videoCrf + + + //api/name/videoCrf + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoCrf + 质量等级(默认:20) + KSYStreamerBase.h + + @property (nonatomic, assign) int videoCrf + + + //api/name/videoCrf + + + + + //apple_ref/occ/instm/KSYStreamerBase/setMaxKeyInterval: + 最大关键帧间隔(单位:秒, 默认:3) + KSYStreamerBase.h + + @property (nonatomic, assign) float maxKeyInterval + + + //api/name/maxKeyInterval + + + + + //apple_ref/occ/instm/KSYStreamerBase/maxKeyInterval + 最大关键帧间隔(单位:秒, 默认:3) + KSYStreamerBase.h + + @property (nonatomic, assign) float maxKeyInterval + + + //api/name/maxKeyInterval + + + + + //apple_ref/occ/instp/KSYStreamerBase/maxKeyInterval + 最大关键帧间隔(单位:秒, 默认:3) + KSYStreamerBase.h + + @property (nonatomic, assign) float maxKeyInterval + + + //api/name/maxKeyInterval + + + + + //apple_ref/occ/instm/KSYStreamerBase/setAudiokBPS: + 音频编码码率(单位:kbps) + KSYStreamerBase.h + + @property (nonatomic, assign) int audiokBPS + + + //api/name/audiokBPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/audiokBPS + 音频编码码率(单位:kbps) + KSYStreamerBase.h + + @property (nonatomic, assign) int audiokBPS + + + //api/name/audiokBPS + + + + + //apple_ref/occ/instp/KSYStreamerBase/audiokBPS + 音频编码码率(单位:kbps) + KSYStreamerBase.h + + @property (nonatomic, assign) int audiokBPS + + + //api/name/audiokBPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBwEstimateMode: + 带宽估计模式 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode + + + //api/name/bwEstimateMode + + + + + //apple_ref/occ/instm/KSYStreamerBase/bwEstimateMode + 带宽估计模式 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode + + + //api/name/bwEstimateMode + + + + + //apple_ref/occ/instp/KSYStreamerBase/bwEstimateMode + 带宽估计模式 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYBWEstimateMode bwEstimateMode + + + //api/name/bwEstimateMode + + + + + //apple_ref/occ/instm/KSYStreamerBase/setLiveScene: + 本次直播的目标场景 (默认为KSYLiveScene_Default) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYLiveScene liveScene + + + //api/name/liveScene + + + + + //apple_ref/occ/instm/KSYStreamerBase/liveScene + 本次直播的目标场景 (默认为KSYLiveScene_Default) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYLiveScene liveScene + + + //api/name/liveScene + + + + + //apple_ref/occ/instp/KSYStreamerBase/liveScene + 本次直播的目标场景 (默认为KSYLiveScene_Default) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYLiveScene liveScene + + + //api/name/liveScene + + + + + //apple_ref/occ/instm/KSYStreamerBase/setRecScene: + 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYRecScene recScene + + + //api/name/recScene + + + + + //apple_ref/occ/instm/KSYStreamerBase/recScene + 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYRecScene recScene + + + //api/name/recScene + + + + + //apple_ref/occ/instp/KSYStreamerBase/recScene + 本次录制的目标场景 (默认为KSYRecScene_ConstantBitRate) + KSYStreamerBase.h + + @property (nonatomic, assign) KSYRecScene recScene + + + //api/name/recScene + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoEncodePerf: + 视频编码性能档次 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf + + + //api/name/videoEncodePerf + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoEncodePerf + 视频编码性能档次 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf + + + //api/name/videoEncodePerf + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoEncodePerf + 视频编码性能档次 + KSYStreamerBase.h + + @property (nonatomic, assign) KSYVideoEncodePerformance videoEncodePerf + + + //api/name/videoEncodePerf + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBWithVideo: + 是否处理视频的图像数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithVideo + + + //api/name/bWithVideo + + + + + //apple_ref/occ/instm/KSYStreamerBase/bWithVideo + 是否处理视频的图像数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithVideo + + + //api/name/bWithVideo + + + + + //apple_ref/occ/instp/KSYStreamerBase/bWithVideo + 是否处理视频的图像数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithVideo + + + //api/name/bWithVideo + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBWithAudio: + 是否处理音频数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithAudio + + + //api/name/bWithAudio + + + + + //apple_ref/occ/instm/KSYStreamerBase/bWithAudio + 是否处理音频数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithAudio + + + //api/name/bWithAudio + + + + + //apple_ref/occ/instp/KSYStreamerBase/bWithAudio + 是否处理音频数据 (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithAudio + + + //api/name/bWithAudio + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBWithMessage: + 是否处理Message (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithMessage + + + //api/name/bWithMessage + + + + + //apple_ref/occ/instm/KSYStreamerBase/bWithMessage + 是否处理Message (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithMessage + + + //api/name/bWithMessage + + + + + //apple_ref/occ/instp/KSYStreamerBase/bWithMessage + 是否处理Message (默认YES) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bWithMessage + + + //api/name/bWithMessage + + + + + //apple_ref/occ/instm/KSYStreamerBase/setScaleRatio: + cpu缩放比率,设置>0为按比例缩放,默认为0 + KSYStreamerBase.h + + @property (nonatomic, assign) float scaleRatio + + + //api/name/scaleRatio + + + + + //apple_ref/occ/instm/KSYStreamerBase/scaleRatio + cpu缩放比率,设置>0为按比例缩放,默认为0 + KSYStreamerBase.h + + @property (nonatomic, assign) float scaleRatio + + + //api/name/scaleRatio + + + + + //apple_ref/occ/instp/KSYStreamerBase/scaleRatio + cpu缩放比率,设置>0为按比例缩放,默认为0 + KSYStreamerBase.h + + @property (nonatomic, assign) float scaleRatio + + + //api/name/scaleRatio + + + + + //apple_ref/occ/instm/KSYStreamerBase/setStreamState: + 当前推流状况 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamState streamState + + + //api/name/streamState + + + + + //apple_ref/occ/instm/KSYStreamerBase/streamState + 当前推流状况 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamState streamState + + + //api/name/streamState + + + + + //apple_ref/occ/instp/KSYStreamerBase/streamState + 当前推流状况 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamState streamState + + + //api/name/streamState + + + + + //apple_ref/occ/instm/KSYStreamerBase/getStreamStateName: + 获取推流状态对应的字符串 + KSYStreamerBase.h + + - (NSString *)getStreamStateName:(KSYStreamState)stat + + + stat + 状态码 + + + 状态名称 + //api/name/getStreamStateName: + + + + + //apple_ref/occ/instm/KSYStreamerBase/getCurStreamStateName + 获取当前推流状态对应的字符串 + KSYStreamerBase.h + + - (NSString *)getCurStreamStateName + + 当前状态名称 + //api/name/getCurStreamStateName + + + + + //apple_ref/occ/instm/KSYStreamerBase/setStreamErrorCode: + 当前推流的错误码 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/streamState + + + + @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode + + + //api/name/streamErrorCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/streamErrorCode + 当前推流的错误码 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/streamState + + + + @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode + + + //api/name/streamErrorCode + + + + + //apple_ref/occ/instp/KSYStreamerBase/streamErrorCode + 当前推流的错误码 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/streamState + + + + @property (nonatomic, readonly) KSYStreamErrorCode streamErrorCode + + + //api/name/streamErrorCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/setStreamStateChange: + 发生推流状态变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange + + + //api/name/streamStateChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/streamStateChange + 发生推流状态变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange + + + //api/name/streamStateChange + + + + + //apple_ref/occ/instp/KSYStreamerBase/streamStateChange + 发生推流状态变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYStreamState newState ) streamStateChange + + + //api/name/streamStateChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/getKSYStreamErrorCodeName: + 获取错误码对应的字符串 + KSYStreamerBase.h + + - (NSString *)getKSYStreamErrorCodeName:(KSYStreamErrorCode)code + + + code + 错误码 + + + + //api/name/getKSYStreamErrorCodeName: + + + + + //apple_ref/occ/instm/KSYStreamerBase/getCurKSYStreamErrorCodeName + 获取当前错误码对应的字符串 + KSYStreamerBase.h + + - (NSString *)getCurKSYStreamErrorCodeName + + + //api/name/getCurKSYStreamErrorCodeName + + + + + //apple_ref/occ/instm/KSYStreamerBase/setNetStateCode: + 当前推流的网络事件 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYNetStateCode netStateCode + + + //api/name/netStateCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/netStateCode + 当前推流的网络事件 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYNetStateCode netStateCode + + + //api/name/netStateCode + + + + + //apple_ref/occ/instp/KSYStreamerBase/netStateCode + 当前推流的网络事件 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYNetStateCode netStateCode + + + //api/name/netStateCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/setVideoFPSChange: + 帧率应发生变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange + + + //api/name/videoFPSChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/videoFPSChange + 帧率应发生变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange + + + //api/name/videoFPSChange + + + + + //apple_ref/occ/instp/KSYStreamerBase/videoFPSChange + 帧率应发生变化时的回调函数 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( int32_t newVideoFPS ) videoFPSChange + + + //api/name/videoFPSChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/initWithDefaultCfg + 初始化方法 (step1) + KSYStreamerBase.h + + - (instancetype)initWithDefaultCfg + + + //api/name/initWithDefaultCfg + + + + + //apple_ref/occ/instm/KSYStreamerBase/startStream: + 启动推流 (step2) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/audiokBPS + + + + - (void)startStream:(NSURL *)url + + + url + 目标地址 + + + + //api/name/startStream: + + + + + //apple_ref/occ/instm/KSYStreamerBase/stopStream + 停止推流 (step3) + KSYStreamerBase.h + + - (void)stopStream + + + //api/name/stopStream + + + + + //apple_ref/occ/instm/KSYStreamerBase/muteStream: + 静音推流 (仍然有音频输出发送, 只是音量为0) + KSYStreamerBase.h + + - (void)muteStream:(BOOL)bMute + + + bMute + YES / ON + + + + //api/name/muteStream: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processVideoSampleBuffer: + 处理一个视频帧(只支持编码前的原始图像数据) + KSYStreamerBase.h + + - (void)processVideoSampleBuffer:(CMSampleBufferRef)sampleBuffer + + + sampleBuffer + Buffer to process + + + + //api/name/processVideoSampleBuffer: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processVideoSampleBuffer:onComplete: + 处理一个视频帧(只支持编码前的原始图像数据) + KSYStreamerBase.h + + - (void)processVideoSampleBuffer:(CMSampleBufferRef)sampleBuffer onComplete:(void ( ^ ) ( BOOL ))completion + + + sampleBuffer + Buffer to process + + completion + 当前视频帧处理完成的回调 + + + + //api/name/processVideoSampleBuffer:onComplete: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processVideoPixelBuffer:timeInfo: + 处理一个视频帧(只支持编码前的原始图像数据) + KSYStreamerBase.h + + - (void)processVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp + + + pixelBuffer + 待编码的像素数据 + + timeStamp + 待编码的时间戳 + + + + //api/name/processVideoPixelBuffer:timeInfo: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processVideoPixelBuffer:timeInfo:onComplete: + 处理一个视频帧(只支持编码前的原始图像数据) + KSYStreamerBase.h + + - (void)processVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp onComplete:(void ( ^ ) ( BOOL ))completion + + + pixelBuffer + 待编码的像素数据 + + timeStamp + 待编码的时间戳 + + completion + 当前视频帧处理完成的回调 + + + + //api/name/processVideoPixelBuffer:timeInfo:onComplete: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processAudioSampleBuffer: + 处理一段音频数据 + KSYStreamerBase.h + + - (void)processAudioSampleBuffer:(CMSampleBufferRef)sampleBuffer + + + sampleBuffer + Buffer to process + + + //api/name/processAudioSampleBuffer: - //apple_ref/occ/instm/KSYUIRecorderKit/processVideoSampleBuffer:timeInfo: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/processAudioData:nbSample:withFormat:timeinfo: + 处理一段音频数据 + KSYStreamerBase.h + + - (void)processAudioData:(uint8_t **)pData nbSample:(int)len withFormat:(const AudioStreamBasicDescription *)fmt timeinfo:(CMTime *)pts + + + pData + 原始数据指针数组 + + len + 数据的长度,单位为字节 + + fmt + 原始数据的格式 (必须保证一次推流过程中数据格式不变) + + pts + 原始数据的时间戳 + + + + //api/name/processAudioData:nbSample:withFormat:timeinfo: + + + + + //apple_ref/occ/instm/KSYStreamerBase/processMessageData: + 处理一个消息 + KSYStreamerBase.h + + - (void)processMessageData:(NSDictionary *)messageData + + + message + message to process + + + + //api/name/processMessageData: + + + + + //apple_ref/occ/instm/KSYStreamerBase/setClientAk: + 获取当前用户的ak +@warnning 默认是空的,只有在需要鉴权时,才能获取到 + KSYStreamerBase.h + + @property (nonatomic, assign) NSString *clientAk + + + //api/name/clientAk + + + + + //apple_ref/occ/instm/KSYStreamerBase/clientAk + 获取当前用户的ak +@warnning 默认是空的,只有在需要鉴权时,才能获取到 + KSYStreamerBase.h + + @property (nonatomic, assign) NSString *clientAk + + + //api/name/clientAk + + + + + //apple_ref/occ/instp/KSYStreamerBase/clientAk + 获取当前用户的ak +@warnning 默认是空的,只有在需要鉴权时,才能获取到 + KSYStreamerBase.h + + @property (nonatomic, assign) NSString *clientAk + + + //api/name/clientAk + + + + + //apple_ref/occ/instm/KSYStreamerBase/setExpireDate: + 获取当前SDK过期时间 + KSYStreamerBase.h + + @property (nonatomic, assign) NSDate *expireDate + + + //api/name/expireDate + + + + + //apple_ref/occ/instm/KSYStreamerBase/expireDate + 获取当前SDK过期时间 + KSYStreamerBase.h + + @property (nonatomic, assign) NSDate *expireDate + + + //api/name/expireDate + + + + + //apple_ref/occ/instp/KSYStreamerBase/expireDate + 获取当前SDK过期时间 + KSYStreamerBase.h + + @property (nonatomic, assign) NSDate *expireDate + + + //api/name/expireDate + + + + + //apple_ref/occ/instm/KSYStreamerBase/setStreamID: + 查询当前推流的事件ID + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSString *streamID + + + //api/name/streamID + + + + + //apple_ref/occ/instm/KSYStreamerBase/streamID + 查询当前推流的事件ID + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSString *streamID + + + //api/name/streamID + + + + + //apple_ref/occ/instp/KSYStreamerBase/streamID + 查询当前推流的事件ID + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSString *streamID + + + //api/name/streamID + + + + + //apple_ref/occ/instm/KSYStreamerBase/isStreaming + 查询当前是否处于推流状态 (建立连接中, 或连接中) + KSYStreamerBase.h + + - (BOOL)isStreaming + + + //api/name/isStreaming + + + + + //apple_ref/occ/instm/KSYStreamerBase/setEncodeVKbps: + 查询当前编码的视频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, readonly) double encodeVKbps + + + //api/name/encodeVKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/encodeVKbps + 查询当前编码的视频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, readonly) double encodeVKbps + + + //api/name/encodeVKbps + + + + + //apple_ref/occ/instp/KSYStreamerBase/encodeVKbps + 查询当前编码的视频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoMaxBitrate + + + + @property (nonatomic, readonly) double encodeVKbps + + + //api/name/encodeVKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/setEncodeAKbps: + 查询当前编码的音频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/audiokBPS + + + + @property (nonatomic, readonly) double encodeAKbps + + + //api/name/encodeAKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/encodeAKbps + 查询当前编码的音频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/audiokBPS + + + + @property (nonatomic, readonly) double encodeAKbps + + + //api/name/encodeAKbps + + + + + //apple_ref/occ/instp/KSYStreamerBase/encodeAKbps + 查询当前编码的音频码率大小(每秒更新) + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/audiokBPS + + + + @property (nonatomic, readonly) double encodeAKbps + + + //api/name/encodeAKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/setUploadedKByte: + 查询本次推流发送的流量大小 (仅推流时有效) + KSYStreamerBase.h + + @property (nonatomic, readonly) int uploadedKByte + + + //api/name/uploadedKByte + + + + + //apple_ref/occ/instm/KSYStreamerBase/uploadedKByte + 查询本次推流发送的流量大小 (仅推流时有效) + KSYStreamerBase.h + + @property (nonatomic, readonly) int uploadedKByte + + + //api/name/uploadedKByte + + + + + //apple_ref/occ/instp/KSYStreamerBase/uploadedKByte + 查询本次推流发送的流量大小 (仅推流时有效) + KSYStreamerBase.h + + @property (nonatomic, readonly) int uploadedKByte + + + //api/name/uploadedKByte + + + + + //apple_ref/occ/instm/KSYStreamerBase/setCurrentUploadingKbps: + 查询当前上传的码率大小 (每秒更新) + KSYStreamerBase.h + + @property (nonatomic, readonly) double currentUploadingKbps + + + //api/name/currentUploadingKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/currentUploadingKbps + 查询当前上传的码率大小 (每秒更新) + KSYStreamerBase.h + + @property (nonatomic, readonly) double currentUploadingKbps + + + //api/name/currentUploadingKbps + + + + + //apple_ref/occ/instp/KSYStreamerBase/currentUploadingKbps + 查询当前上传的码率大小 (每秒更新) + KSYStreamerBase.h + + @property (nonatomic, readonly) double currentUploadingKbps + + + //api/name/currentUploadingKbps + + + + + //apple_ref/occ/instm/KSYStreamerBase/setEncodingFPS: + 查询当前编码的平均视频帧率 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoFPS + + + + @property (nonatomic, readonly) double encodingFPS + + + //api/name/encodingFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/encodingFPS + 查询当前编码的平均视频帧率 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoFPS + + + + @property (nonatomic, readonly) double encodingFPS + + + //api/name/encodingFPS + + + + + //apple_ref/occ/instp/KSYStreamerBase/encodingFPS + 查询当前编码的平均视频帧率 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/videoFPS + + + + @property (nonatomic, readonly) double encodingFPS + + + //api/name/encodingFPS + + + + + //apple_ref/occ/instm/KSYStreamerBase/setEncodedFrames: + 查询本次推流编码的视频总帧数 + KSYStreamerBase.h + + @property (nonatomic, readonly) int encodedFrames + + + //api/name/encodedFrames + + + + + //apple_ref/occ/instm/KSYStreamerBase/encodedFrames + 查询本次推流编码的视频总帧数 + KSYStreamerBase.h + + @property (nonatomic, readonly) int encodedFrames + + + //api/name/encodedFrames + + + + + //apple_ref/occ/instp/KSYStreamerBase/encodedFrames + 查询本次推流编码的视频总帧数 + KSYStreamerBase.h + + @property (nonatomic, readonly) int encodedFrames + + + //api/name/encodedFrames + + + + + //apple_ref/occ/instm/KSYStreamerBase/setDroppedVideoFrames: + 查询本次推流发送的丢帧数量 + KSYStreamerBase.h + + @property (nonatomic, readonly) int droppedVideoFrames + + + //api/name/droppedVideoFrames + + + + + //apple_ref/occ/instm/KSYStreamerBase/droppedVideoFrames + 查询本次推流发送的丢帧数量 + KSYStreamerBase.h + + @property (nonatomic, readonly) int droppedVideoFrames + + + //api/name/droppedVideoFrames + + + + + //apple_ref/occ/instp/KSYStreamerBase/droppedVideoFrames + 查询本次推流发送的丢帧数量 + KSYStreamerBase.h + + @property (nonatomic, readonly) int droppedVideoFrames + + + //api/name/droppedVideoFrames + + + + + //apple_ref/occ/instm/KSYStreamerBase/setQosInfo: + 推流的qos信息 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instm/KSYStreamerBase/qosInfo + 推流的qos信息 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instp/KSYStreamerBase/qosInfo + 推流的qos信息 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYStreamerQosInfo *qosInfo + + + //api/name/qosInfo + + + + + //apple_ref/occ/instm/KSYStreamerBase/setRtmpHostIP: + 查询当前推流的rtmp服务器的主机IP + KSYStreamerBase.h + + @property (atomic, readonly) NSString *rtmpHostIP + + + //api/name/rtmpHostIP + + + + + //apple_ref/occ/instm/KSYStreamerBase/rtmpHostIP + 查询当前推流的rtmp服务器的主机IP + KSYStreamerBase.h + + @property (atomic, readonly) NSString *rtmpHostIP + + + //api/name/rtmpHostIP + + + + + //apple_ref/occ/instp/KSYStreamerBase/rtmpHostIP + 查询当前推流的rtmp服务器的主机IP + KSYStreamerBase.h + + @property (atomic, readonly) NSString *rtmpHostIP + + + //api/name/rtmpHostIP + + + + + //apple_ref/occ/instm/KSYStreamerBase/setShouldEnableKSYStatModule: + 收集网络相关状态的日志,默认开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instm/KSYStreamerBase/shouldEnableKSYStatModule + 收集网络相关状态的日志,默认开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instp/KSYStreamerBase/shouldEnableKSYStatModule + 收集网络相关状态的日志,默认开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYStatModule + + + //api/name/shouldEnableKSYStatModule + + + + + //apple_ref/occ/instm/KSYStreamerBase/setLogBlock: + 获取Streamer中与网络相关的日志 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instm/KSYStreamerBase/logBlock + 获取Streamer中与网络相关的日志 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instp/KSYStreamerBase/logBlock + 获取Streamer中与网络相关的日志 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( NSString *logJson ) logBlock + + + //api/name/logBlock + + + + + //apple_ref/occ/instm/KSYStreamerBase/takePhotoWithQuality:fileName: + 截图功能,目前只支持jpg格式 + KSYStreamerBase.h + + - (void)takePhotoWithQuality:(CGFloat)jpegCompressionQuality fileName:(NSString *)filename + + + jpegCompressionQuality + 设置图像的压缩比例 + + filename + 图片的文件名 + + + + //api/name/takePhotoWithQuality:fileName: + + + + + //apple_ref/occ/instm/KSYStreamerBase/getSnapshotWithCompletion: + 获取当前编码的截图 + KSYStreamerBase.h + + - (void)getSnapshotWithCompletion:(void ( ^ ) ( UIImage *))completion + + + completion + 通过完成代码块获取到截图完成的图像 + + + + //api/name/getSnapshotWithCompletion: + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordURL: + 旁路录像地址 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSURL *bypassRecordURL + + + //api/name/bypassRecordURL + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordURL + 旁路录像地址 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSURL *bypassRecordURL + + + //api/name/bypassRecordURL + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordURL + 旁路录像地址 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/hostURL + + + + @property (nonatomic, readonly) NSURL *bypassRecordURL + + + //api/name/bypassRecordURL + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassMp4FastStart: + mp4文件允许快速启动 (默认NO) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bypassMp4FastStart + + + //api/name/bypassMp4FastStart + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassMp4FastStart + mp4文件允许快速启动 (默认NO) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bypassMp4FastStart + + + //api/name/bypassMp4FastStart + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassMp4FastStart + mp4文件允许快速启动 (默认NO) + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL bypassMp4FastStart + + + //api/name/bypassMp4FastStart + + + + + //apple_ref/occ/instm/KSYStreamerBase/startBypassRecord: + 启动旁路录像 + KSYStreamerBase.h + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordState + + + + - (BOOL)startBypassRecord:(NSURL *)url + + + url + 本地录像文件地址:/private/var/..../test.mp4 + + + 是否能尝试启动写入, 不能表明真正开始录像了,真正开始请确认bypassRecordState的值 + //api/name/startBypassRecord: + + + + + //apple_ref/occ/instm/KSYStreamerBase/stopBypassRecord + 停止旁路录像 + KSYStreamerBase.h + + - (void)stopBypassRecord + + + //api/name/stopBypassRecord + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordDuration: + 旁路录像的文件时长 + KSYStreamerBase.h + + @property (nonatomic, readonly) double bypassRecordDuration + + + //api/name/bypassRecordDuration + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordDuration + 旁路录像的文件时长 + KSYStreamerBase.h + + @property (nonatomic, readonly) double bypassRecordDuration + + + //api/name/bypassRecordDuration + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordDuration + 旁路录像的文件时长 + KSYStreamerBase.h + + @property (nonatomic, readonly) double bypassRecordDuration + + + //api/name/bypassRecordDuration + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordState: + 旁路录像的状态 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordState bypassRecordState + + + //api/name/bypassRecordState + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordState + 旁路录像的状态 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordState bypassRecordState + + + //api/name/bypassRecordState + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordState + 旁路录像的状态 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordState bypassRecordState + + + //api/name/bypassRecordState + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordErrorCode: + 旁路录像的错误码 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode + + + //api/name/bypassRecordErrorCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordErrorCode + 旁路录像的错误码 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode + + + //api/name/bypassRecordErrorCode + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordErrorCode + 旁路录像的错误码 + KSYStreamerBase.h + + @property (nonatomic, readonly) KSYRecordError bypassRecordErrorCode + + + //api/name/bypassRecordErrorCode + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordErrorName: + 旁路录像的错误名称 + KSYStreamerBase.h + + @property (nonatomic, readonly) NSString *bypassRecordErrorName + + + //api/name/bypassRecordErrorName + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordErrorName + 旁路录像的错误名称 + KSYStreamerBase.h + + @property (nonatomic, readonly) NSString *bypassRecordErrorName + + + //api/name/bypassRecordErrorName + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordErrorName + 旁路录像的错误名称 + KSYStreamerBase.h + + @property (nonatomic, readonly) NSString *bypassRecordErrorName + + + //api/name/bypassRecordErrorName + + + + + //apple_ref/occ/instm/KSYStreamerBase/setBypassRecordStateChange: + 当旁路录制的状态变化时 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange + + + //api/name/bypassRecordStateChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/bypassRecordStateChange + 当旁路录制的状态变化时 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange + + + //api/name/bypassRecordStateChange + + + + + //apple_ref/occ/instp/KSYStreamerBase/bypassRecordStateChange + 当旁路录制的状态变化时 + KSYStreamerBase.h + + @property (nonatomic, copy) void ( ^ ) ( KSYRecordState recordState ) bypassRecordStateChange + + + //api/name/bypassRecordStateChange + + + + + //apple_ref/occ/instm/KSYStreamerBase/setShouldEnableKSYDropModule: + 是否允许编码前丢帧,默认开启 +@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYDropModule + + + //api/name/shouldEnableKSYDropModule + + + + + //apple_ref/occ/instm/KSYStreamerBase/shouldEnableKSYDropModule + 是否允许编码前丢帧,默认开启 +@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYDropModule + + + //api/name/shouldEnableKSYDropModule + + + + + //apple_ref/occ/instp/KSYStreamerBase/shouldEnableKSYDropModule + 是否允许编码前丢帧,默认开启 +@warnning 请勿在直播时使用,否则可能出现音视频不同步,仅在离线转码需要输出所有帧的情况下开启 + KSYStreamerBase.h + + @property (nonatomic, assign) BOOL shouldEnableKSYDropModule + + + //api/name/shouldEnableKSYDropModule + + + + + //apple_ref/occ/instm/KSYStreamerBase/setNetReachability: + / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) + KSYStreamerBase.h - - (void)processVideoSampleBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp + @property (nonatomic, readonly) KSYReachability *netReachability - //api/name/processVideoSampleBuffer:timeInfo: + //api/name/netReachability - //apple_ref/occ/instm/KSYUIRecorderKit/startRecord: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/netReachability + / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) + KSYStreamerBase.h - - (void)startRecord:(NSURL *)path + @property (nonatomic, readonly) KSYReachability *netReachability - //api/name/startRecord: + //api/name/netReachability - //apple_ref/occ/instm/KSYUIRecorderKit/stopRecord - - KSYUIRecorderKit.h + //apple_ref/occ/instp/KSYStreamerBase/netReachability + / 网络状态监控 (当SDK内部发现网络不可用时主动发出connet_break的错误码) + KSYStreamerBase.h - - (void)stopRecord + @property (nonatomic, readonly) KSYReachability *netReachability - //api/name/stopRecord + //api/name/netReachability - //apple_ref/occ/instm/KSYUIRecorderKit/setBPlayRecord: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/setNetReachState: + 是否能连通外网 + KSYStreamerBase.h - @property BOOL bPlayRecord + @property (nonatomic, readonly) KSYNetReachState netReachState - //api/name/bPlayRecord + //api/name/netReachState - //apple_ref/occ/instm/KSYUIRecorderKit/bPlayRecord - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/netReachState + 是否能连通外网 + KSYStreamerBase.h - @property BOOL bPlayRecord + @property (nonatomic, readonly) KSYNetReachState netReachState - //api/name/bPlayRecord + //api/name/netReachState - //apple_ref/occ/instp/KSYUIRecorderKit/bPlayRecord - - KSYUIRecorderKit.h + //apple_ref/occ/instp/KSYStreamerBase/netReachState + 是否能连通外网 + KSYStreamerBase.h - @property BOOL bPlayRecord + @property (nonatomic, readonly) KSYNetReachState netReachState - //api/name/bPlayRecord + //api/name/netReachState - //apple_ref/occ/instm/KSYUIRecorderKit/setWriter: - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/setReachabilityDetectURL: + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYStreamerBase.h - @property (nonatomic, readwrite) KSYMovieWriter *writer + @property (nonatomic, readwrite) NSString *reachabilityDetectURL - //api/name/writer + //api/name/reachabilityDetectURL - //apple_ref/occ/instm/KSYUIRecorderKit/writer - - KSYUIRecorderKit.h + //apple_ref/occ/instm/KSYStreamerBase/reachabilityDetectURL + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYStreamerBase.h - @property (nonatomic, readwrite) KSYMovieWriter *writer + @property (nonatomic, readwrite) NSString *reachabilityDetectURL - //api/name/writer + //api/name/reachabilityDetectURL - //apple_ref/occ/instp/KSYUIRecorderKit/writer - - KSYUIRecorderKit.h + //apple_ref/occ/instp/KSYStreamerBase/reachabilityDetectURL + 用于检测网络连通性的地址,默认使用地址为“www.baidu.com” + KSYStreamerBase.h - @property (nonatomic, readwrite) KSYMovieWriter *writer + @property (nonatomic, readwrite) NSString *reachabilityDetectURL - //api/name/writer + //api/name/reachabilityDetectURL diff --git a/doc/docset/Contents/Resources/Tokens49.xml b/doc/docset/Contents/Resources/Tokens49.xml index 985a4f1..279c143 100644 --- a/doc/docset/Contents/Resources/Tokens49.xml +++ b/doc/docset/Contents/Resources/Tokens49.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cl/KSYVideoInfo - 视频信息 - KSYMediaInfo.h + //apple_ref/occ/cl/KSYTranscoder + 不同音视频文件格式间的转码 + KSYTranscoder.h @@ -13,110 +13,229 @@ - //apple_ref/occ/instm/KSYVideoInfo/setVcodec: - 视频编码格式, 具体类型为MEDIAINFOCODECID - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/startTranscode:outputFilePath: + 开始转换 + KSYTranscoder.h + + - (void)startTranscode:(NSURL *)inputFilePath outputFilePath:(NSURL *)outputFilePath + + + inputFilePath + 输入文件路径 + + outputFilePath + 输出文件路径 + + + + //api/name/startTranscode:outputFilePath: + + + + + //apple_ref/occ/instm/KSYTranscoder/stopTranscode + 停止转换 + KSYTranscoder.h + + - (void)stopTranscode + + + //api/name/stopTranscode + + + + + //apple_ref/occ/instm/KSYTranscoder/setDuration: + 转换文件的总时长,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYTranscoder/duration + 转换文件的总时长,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float duration + + + //api/name/duration + + + + + //apple_ref/occ/instp/KSYTranscoder/duration + 转换文件的总时长,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYTranscoder/setPosition: + 当前转换位置,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float position + + + //api/name/position + + + + + //apple_ref/occ/instm/KSYTranscoder/position + 当前转换位置,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float position + + + //api/name/position + + + + + //apple_ref/occ/instp/KSYTranscoder/position + 当前转换位置,单位是秒 + KSYTranscoder.h + + @property (nonatomic, readonly) float position + + + //api/name/position + + + + + //apple_ref/occ/instm/KSYTranscoder/setProgress: + 转换进度 + KSYTranscoder.h - @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + @property (nonatomic, readonly) float progress - //api/name/vcodec + //api/name/progress - //apple_ref/occ/instm/KSYVideoInfo/vcodec - 视频编码格式, 具体类型为MEDIAINFOCODECID - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/progress + 转换进度 + KSYTranscoder.h - @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + @property (nonatomic, readonly) float progress - //api/name/vcodec + //api/name/progress - //apple_ref/occ/instp/KSYVideoInfo/vcodec - 视频编码格式, 具体类型为MEDIAINFOCODECID - KSYMediaInfo.h + //apple_ref/occ/instp/KSYTranscoder/progress + 转换进度 + KSYTranscoder.h - @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + @property (nonatomic, readonly) float progress - //api/name/vcodec + //api/name/progress - //apple_ref/occ/instm/KSYVideoInfo/setFrame_width: - 视频帧宽度 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/setTranscodeState: + 当前转码状况 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_width + @property (nonatomic, readonly) KSYTranscodeState transcodeState - //api/name/frame_width + //api/name/transcodeState - //apple_ref/occ/instm/KSYVideoInfo/frame_width - 视频帧宽度 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/transcodeState + 当前转码状况 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_width + @property (nonatomic, readonly) KSYTranscodeState transcodeState - //api/name/frame_width + //api/name/transcodeState - //apple_ref/occ/instp/KSYVideoInfo/frame_width - 视频帧宽度 - KSYMediaInfo.h + //apple_ref/occ/instp/KSYTranscoder/transcodeState + 当前转码状况 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_width + @property (nonatomic, readonly) KSYTranscodeState transcodeState - //api/name/frame_width + //api/name/transcodeState - //apple_ref/occ/instm/KSYVideoInfo/setFrame_height: - 视频帧高度 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/setTranscodeErrorCode: + 转码器的错误码 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_height + + //apple_ref/occ/instp/KSYTranscoder/transcodeState + + + + @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode - //api/name/frame_height + //api/name/transcodeErrorCode - //apple_ref/occ/instm/KSYVideoInfo/frame_height - 视频帧高度 - KSYMediaInfo.h + //apple_ref/occ/instm/KSYTranscoder/transcodeErrorCode + 转码器的错误码 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_height + + //apple_ref/occ/instp/KSYTranscoder/transcodeState + + + + @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode - //api/name/frame_height + //api/name/transcodeErrorCode - //apple_ref/occ/instp/KSYVideoInfo/frame_height - 视频帧高度 - KSYMediaInfo.h + //apple_ref/occ/instp/KSYTranscoder/transcodeErrorCode + 转码器的错误码 + KSYTranscoder.h - @property (nonatomic, assign) int32_t frame_height + + //apple_ref/occ/instp/KSYTranscoder/transcodeState + + + + @property (nonatomic, readonly) KSYTranscodeErrorCode transcodeErrorCode - //api/name/frame_height + //api/name/transcodeErrorCode diff --git a/doc/docset/Contents/Resources/Tokens50.xml b/doc/docset/Contents/Resources/Tokens50.xml index 53d7bec..2a9c03f 100644 --- a/doc/docset/Contents/Resources/Tokens50.xml +++ b/doc/docset/Contents/Resources/Tokens50.xml @@ -1,12 +1,11 @@ - + - //apple_ref/occ/cl/KSYWeakProxy - A proxy used to hold a weak object. -It can be used to avoid retain cycles, such as the target in NSTimer or CADisplayLink. - KSYWeakProxy.h + //apple_ref/occ/cl/KSYTransitionBlurFilter + KSYTransitionBlurFilter 模糊的转场效果 + KSYTransitionBlurFilter.h @@ -14,72 +13,110 @@ It can be used to avoid retain cycles, such as the target in NSTimer or CADispla - //apple_ref/occ/instm/KSYWeakProxy/setTarget: - The proxy target. - KSYWeakProxy.h + //apple_ref/occ/instm/KSYTransitionBlurFilter/setBToBlur: + YES: 清晰变模糊 NO: 模糊变清晰 (默认YES) + KSYTransitionBlurFilter.h - @property (nullable, nonatomic, weak, readonly) id target + @property (nonatomic, readwrite) BOOL bToBlur - //api/name/target + //api/name/bToBlur - //apple_ref/occ/instm/KSYWeakProxy/target - The proxy target. - KSYWeakProxy.h + //apple_ref/occ/instm/KSYTransitionBlurFilter/bToBlur + YES: 清晰变模糊 NO: 模糊变清晰 (默认YES) + KSYTransitionBlurFilter.h - @property (nullable, nonatomic, weak, readonly) id target + @property (nonatomic, readwrite) BOOL bToBlur - //api/name/target + //api/name/bToBlur - //apple_ref/occ/instp/KSYWeakProxy/target - The proxy target. - KSYWeakProxy.h + //apple_ref/occ/instp/KSYTransitionBlurFilter/bToBlur + YES: 清晰变模糊 NO: 模糊变清晰 (默认YES) + KSYTransitionBlurFilter.h - @property (nullable, nonatomic, weak, readonly) id target + @property (nonatomic, readwrite) BOOL bToBlur - //api/name/target + //api/name/bToBlur - //apple_ref/occ/instm/KSYWeakProxy/initWithTarget: - Creates a new weak proxy for target. - KSYWeakProxy.h - - - (instancetype)initWithTarget:(id)target - - - target - Target object. - - - A new proxy object. - //api/name/initWithTarget: + //apple_ref/occ/instm/KSYTransitionBlurFilter/setDuration: + 转场重叠的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYTransitionBlurFilter/duration + 转场重叠的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration + + + + + //apple_ref/occ/instp/KSYTransitionBlurFilter/duration + 转场重叠的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration - //apple_ref/occ/clm/KSYWeakProxy/proxyWithTarget: - Creates a new weak proxy for target. - KSYWeakProxy.h - - + (instancetype)proxyWithTarget:(id)target - - - target - Target object. - - - A new proxy object. - //api/name/proxyWithTarget: + //apple_ref/occ/instm/KSYTransitionBlurFilter/setFrameIdx: + 转场已经处理的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx + + + + + //apple_ref/occ/instm/KSYTransitionBlurFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx + + + + + //apple_ref/occ/instp/KSYTransitionBlurFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionBlurFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx diff --git a/doc/docset/Contents/Resources/Tokens51.xml b/doc/docset/Contents/Resources/Tokens51.xml index 6320439..c53d583 100644 --- a/doc/docset/Contents/Resources/Tokens51.xml +++ b/doc/docset/Contents/Resources/Tokens51.xml @@ -1,11 +1,11 @@ - + - //apple_ref/occ/cat/AVAudioSession(KSY) - iOS的AVAudioSession 属性配置工具类 - AVAudioSession+KSY.h + //apple_ref/occ/cl/KSYTransitionFadesInOutFilter + KSYTransitionFadesInOutFilter 渐入淡出的转场效果 + KSYTransitionFadesInOutFilter.h @@ -13,247 +13,110 @@ - //apple_ref/occ/instm/AVAudioSession/setDefaultCfg - 设置默认配置 - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/setMasterLayer: + 视频所在的图层 + KSYTransitionFadesInOutFilter.h - - (void)setDefaultCfg + @property (nonatomic, readwrite) NSInteger masterLayer - //api/name/setDefaultCfg + //api/name/masterLayer - //apple_ref/occ/instm/AVAudioSession/setBInterruptOtherAudio: - 是否打断其他后台的音乐播放 (默认为NO) - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/masterLayer + 视频所在的图层 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bInterruptOtherAudio + @property (nonatomic, readwrite) NSInteger masterLayer - //api/name/bInterruptOtherAudio + //api/name/masterLayer - //apple_ref/occ/instm/AVAudioSession/bInterruptOtherAudio - 是否打断其他后台的音乐播放 (默认为NO) - AVAudioSession+KSY.h + //apple_ref/occ/instp/KSYTransitionFadesInOutFilter/masterLayer + 视频所在的图层 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bInterruptOtherAudio + @property (nonatomic, readwrite) NSInteger masterLayer - //api/name/bInterruptOtherAudio + //api/name/masterLayer - //apple_ref/occ/instp/AVAudioSession/bInterruptOtherAudio - 是否打断其他后台的音乐播放 (默认为NO) - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/setDuration: + 转场重叠的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bInterruptOtherAudio + @property (nonatomic, readwrite) int duration - //api/name/bInterruptOtherAudio + //api/name/duration - //apple_ref/occ/instm/AVAudioSession/setBDefaultToSpeaker: - 启动采集后,是否从扬声器播放声音 (默认为YES) - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/duration + 转场重叠的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bDefaultToSpeaker + @property (nonatomic, readwrite) int duration - //api/name/bDefaultToSpeaker + //api/name/duration - //apple_ref/occ/instm/AVAudioSession/bDefaultToSpeaker - 启动采集后,是否从扬声器播放声音 (默认为YES) - AVAudioSession+KSY.h + //apple_ref/occ/instp/KSYTransitionFadesInOutFilter/duration + 转场重叠的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bDefaultToSpeaker + @property (nonatomic, readwrite) int duration - //api/name/bDefaultToSpeaker + //api/name/duration - //apple_ref/occ/instp/AVAudioSession/bDefaultToSpeaker - 启动采集后,是否从扬声器播放声音 (默认为YES) - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/setFrameIdx: + 转场已经处理的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bDefaultToSpeaker + @property (nonatomic, readwrite) int frameIdx - //api/name/bDefaultToSpeaker + //api/name/frameIdx - //apple_ref/occ/instm/AVAudioSession/setBAllowBluetooth: - 是否启用蓝牙设备 (默认为YES) - AVAudioSession+KSY.h + //apple_ref/occ/instm/KSYTransitionFadesInOutFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bAllowBluetooth + @property (nonatomic, readwrite) int frameIdx - //api/name/bAllowBluetooth + //api/name/frameIdx - //apple_ref/occ/instm/AVAudioSession/bAllowBluetooth - 是否启用蓝牙设备 (默认为YES) - AVAudioSession+KSY.h + //apple_ref/occ/instp/KSYTransitionFadesInOutFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFadesInOutFilter.h - @property (nonatomic, assign) BOOL bAllowBluetooth + @property (nonatomic, readwrite) int frameIdx - //api/name/bAllowBluetooth - - - - - //apple_ref/occ/instp/AVAudioSession/bAllowBluetooth - 是否启用蓝牙设备 (默认为YES) - AVAudioSession+KSY.h - - @property (nonatomic, assign) BOOL bAllowBluetooth - - - //api/name/bAllowBluetooth - - - - - //apple_ref/occ/instm/AVAudioSession/setAVAudioSessionCategory: - 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) - AVAudioSession+KSY.h - - @property (nonatomic, assign) NSString *AVAudioSessionCategory - - - //api/name/AVAudioSessionCategory - - - - - //apple_ref/occ/instm/AVAudioSession/AVAudioSessionCategory - 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) - AVAudioSession+KSY.h - - @property (nonatomic, assign) NSString *AVAudioSessionCategory - - - //api/name/AVAudioSessionCategory - - - - - //apple_ref/occ/instp/AVAudioSession/AVAudioSessionCategory - 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) - AVAudioSession+KSY.h - - @property (nonatomic, assign) NSString *AVAudioSessionCategory - - - //api/name/AVAudioSessionCategory - - - - - //apple_ref/occ/instm/AVAudioSession/isBluetoothInputAvaible - 是否有蓝牙麦克风可用 - AVAudioSession+KSY.h - - + (BOOL)isBluetoothInputAvaible - - 是/否有蓝牙麦克风可用 - //api/name/isBluetoothInputAvaible - - - - - //apple_ref/occ/instm/AVAudioSession/switchBluetoothInput: - 选择是否使用蓝牙麦克风 - AVAudioSession+KSY.h - - + (BOOL)switchBluetoothInput:(BOOL)onOrOff - - - onOrOff - : YES 使用蓝牙麦克风 NO - - - 是/否有蓝牙麦克风可用 - //api/name/switchBluetoothInput: - - - - - //apple_ref/occ/instm/AVAudioSession/isHeadsetInputAvaible - 是否有耳机麦克风可用 - AVAudioSession+KSY.h - - + (BOOL)isHeadsetInputAvaible - - 是/否有耳机麦克风 - //api/name/isHeadsetInputAvaible - - - - - //apple_ref/occ/instm/AVAudioSession/isHeadsetPluggedIn - 查询当前是否有耳机(包括蓝牙耳机) - AVAudioSession+KSY.h - - + (BOOL)isHeadsetPluggedIn - - - //api/name/isHeadsetPluggedIn - - - - - //apple_ref/occ/instm/AVAudioSession/setCurrentMicType: - 当前使用的音频采集设备 - AVAudioSession+KSY.h - - @property KSYMicType currentMicType - - - //api/name/currentMicType - - - - - //apple_ref/occ/instm/AVAudioSession/currentMicType - 当前使用的音频采集设备 - AVAudioSession+KSY.h - - @property KSYMicType currentMicType - - - //api/name/currentMicType - - - - - //apple_ref/occ/instp/AVAudioSession/currentMicType - 当前使用的音频采集设备 - AVAudioSession+KSY.h - - @property KSYMicType currentMicType - - - //api/name/currentMicType + //api/name/frameIdx diff --git a/doc/docset/Contents/Resources/Tokens52.xml b/doc/docset/Contents/Resources/Tokens52.xml index 77c8cac..da58194 100644 --- a/doc/docset/Contents/Resources/Tokens52.xml +++ b/doc/docset/Contents/Resources/Tokens52.xml @@ -1,11 +1,15 @@ - + - //apple_ref/occ/intf/KSYMediaPlayback - KSYMediaPlayback为播放内核KSYMoviePlayerController提供播放控制功能。 - KSYMediaPlayback.h + //apple_ref/occ/cl/KSYTransitionFilter + KSYTransitionFilter 转场效果滤镜 +转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 +渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰 +闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频 +... + KSYTransitionFilter.h @@ -13,152 +17,166 @@ - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay - 准备视频播放 - KSYMediaPlayback.h - - - //apple_ref/occ/intfp/KSYMediaPlayback/isPreparedToPlay + //apple_ref/occ/instm/KSYTransitionFilter/initWithType:andOverlay: + 初始化并指定KSYTransitionType类型来创建对应转场特效 + KSYTransitionFilter.h + + - (instancetype)initWithType:(KSYTransitionType)type andOverlay:(KSYOverlapType)overlap + + + type + 效果类型 + + overlap + 重叠方式 + + + + //api/name/initWithType:andOverlay: + + - - - - (void)prepareToPlay + + //apple_ref/occ/instm/KSYTransitionFilter/setTransitionType: + 当前转场的类型 + KSYTransitionFilter.h + + @property (atomic, readonly) KSYTransitionType transitionType - //api/name/prepareToPlay + //api/name/transitionType - //apple_ref/occ/intfm/KSYMediaPlayback/setIsPreparedToPlay: - 查询视频准备是否完成 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/transitionType + 当前转场的类型 + KSYTransitionFilter.h - - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay - - - - @property (nonatomic, readonly) BOOL isPreparedToPlay + @property (atomic, readonly) KSYTransitionType transitionType - //api/name/isPreparedToPlay + //api/name/transitionType - //apple_ref/occ/intfm/KSYMediaPlayback/isPreparedToPlay - 查询视频准备是否完成 - KSYMediaPlayback.h + //apple_ref/occ/instp/KSYTransitionFilter/transitionType + 当前转场的类型 + KSYTransitionFilter.h - - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay - - - - @property (nonatomic, readonly) BOOL isPreparedToPlay + @property (atomic, readonly) KSYTransitionType transitionType - //api/name/isPreparedToPlay + //api/name/transitionType - //apple_ref/occ/intfp/KSYMediaPlayback/isPreparedToPlay - 查询视频准备是否完成 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/setOverlapType: + 当前转场画面重叠的类型 + KSYTransitionFilter.h - - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay - - - - @property (nonatomic, readonly) BOOL isPreparedToPlay + @property (atomic, readonly) KSYOverlapType overlapType - //api/name/isPreparedToPlay + //api/name/overlapType - //apple_ref/occ/intfm/KSYMediaPlayback/play - 播放当前视频。 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/overlapType + 当前转场画面重叠的类型 + KSYTransitionFilter.h + + @property (atomic, readonly) KSYOverlapType overlapType + - - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + //api/name/overlapType + + - - - - (void)play + + //apple_ref/occ/instp/KSYTransitionFilter/overlapType + 当前转场画面重叠的类型 + KSYTransitionFilter.h + @property (atomic, readonly) KSYOverlapType overlapType - //api/name/play + + //api/name/overlapType - //apple_ref/occ/intfm/KSYMediaPlayback/pause - 暂停播放当前视频。 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/setDuration: + 转场重叠的帧数 (默认:30) + KSYTransitionFilter.h - - (void)pause + @property (nonatomic, readwrite) int duration - //api/name/pause + //api/name/duration - //apple_ref/occ/intfm/KSYMediaPlayback/stop - 结束当前视频的播放。 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/duration + 转场重叠的帧数 (默认:30) + KSYTransitionFilter.h + + @property (nonatomic, readwrite) int duration - - //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + //api/name/duration + + - - - - (void)stop + + //apple_ref/occ/instp/KSYTransitionFilter/duration + 转场重叠的帧数 (默认:30) + KSYTransitionFilter.h + + @property (nonatomic, readwrite) int duration - //api/name/stop + //api/name/duration - //apple_ref/occ/intfm/KSYMediaPlayback/setCurrentPlaybackTime: - 播放视频的当前时刻,单位为秒。 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/setFrameIdx: + 转场已经处理的帧数 + KSYTransitionFilter.h - @property (nonatomic) NSTimeInterval currentPlaybackTime + @property (nonatomic, readwrite) int frameIdx - //api/name/currentPlaybackTime + //api/name/frameIdx - //apple_ref/occ/intfm/KSYMediaPlayback/currentPlaybackTime - 播放视频的当前时刻,单位为秒。 - KSYMediaPlayback.h + //apple_ref/occ/instm/KSYTransitionFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFilter.h - @property (nonatomic) NSTimeInterval currentPlaybackTime + @property (nonatomic, readwrite) int frameIdx - //api/name/currentPlaybackTime + //api/name/frameIdx - //apple_ref/occ/intfp/KSYMediaPlayback/currentPlaybackTime - 播放视频的当前时刻,单位为秒。 - KSYMediaPlayback.h + //apple_ref/occ/instp/KSYTransitionFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFilter.h - @property (nonatomic) NSTimeInterval currentPlaybackTime + @property (nonatomic, readwrite) int frameIdx - //api/name/currentPlaybackTime + //api/name/frameIdx diff --git a/doc/docset/Contents/Resources/Tokens53.xml b/doc/docset/Contents/Resources/Tokens53.xml index fe857c6..4d0a9f1 100644 --- a/doc/docset/Contents/Resources/Tokens53.xml +++ b/doc/docset/Contents/Resources/Tokens53.xml @@ -1,67 +1,89 @@ - + - //apple_ref/c/tdef/KSYAVMuxerStatus - 交织处理状态 - KSYAVMuxer.h + //apple_ref/occ/cl/KSYTransitionFlashFilter + KSYTransitionFlashFilter 闪黑/闪白的转场效果 + KSYTransitionFlashFilter.h - - - //apple_ref/c/econst/KSYAVMuxerStatusIdle - 初始状态 - KSYAVMuxerStatusIdle - - KSYAVMuxer.h - + + //apple_ref/occ/instm/KSYTransitionFlashFilter/setDuration: + 转场重叠的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration - - - - //apple_ref/c/econst/KSYAVMuxerStatusMuxing - 处理中 - KSYAVMuxerStatusMuxing - - KSYAVMuxer.h - + + + + //apple_ref/occ/instm/KSYTransitionFlashFilter/duration + 转场重叠的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration - - - - //apple_ref/c/econst/KSYAVMuxerStatusCompleted - 处理完成 - KSYAVMuxerStatusCompleted - - KSYAVMuxer.h - + + + + //apple_ref/occ/instp/KSYTransitionFlashFilter/duration + 转场重叠的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration - - - - //apple_ref/c/econst/KSYAVMuxerStatusFailed - 处理失败 - KSYAVMuxerStatusFailed - - KSYAVMuxer.h - + + + + //apple_ref/occ/instm/KSYTransitionFlashFilter/setFrameIdx: + 转场已经处理的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx - - - - //apple_ref/c/econst/KSYAVMuxerStatusCancelled - 处理任务被取消 - KSYAVMuxerStatusCancelled - - KSYAVMuxer.h - + + + + //apple_ref/occ/instm/KSYTransitionFlashFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx - + + + + //apple_ref/occ/instp/KSYTransitionFlashFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionFlashFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx + + + diff --git a/doc/docset/Contents/Resources/Tokens54.xml b/doc/docset/Contents/Resources/Tokens54.xml index 5b13740..b907795 100644 --- a/doc/docset/Contents/Resources/Tokens54.xml +++ b/doc/docset/Contents/Resources/Tokens54.xml @@ -1,57 +1,161 @@ - + - //apple_ref/c/tdef/KSYAudioCodec - 音频编码器类型 - KSYTypeDef.h + //apple_ref/occ/cl/KSYTransitionPushFilter + KSYTransitionPushFilter 推出的转场效果 + KSYTransitionPushFilter.h - - - //apple_ref/c/econst/KSYAudioCodec_AAC_HE - aac音频软件编码器 - AAC_HE - KSYAudioCodec_AAC_HE - - KSYTypeDef.h - + + //apple_ref/occ/instm/KSYTransitionPushFilter/setMasterLayer: + 视频所在的图层 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) NSInteger masterLayer + + + //api/name/masterLayer - - - - //apple_ref/c/econst/KSYAudioCodec_AAC - aac音频软件编码器 - AAC_LC - KSYAudioCodec_AAC - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/masterLayer + 视频所在的图层 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) NSInteger masterLayer + + + //api/name/masterLayer - - - - //apple_ref/c/econst/KSYAudioCodec_AT_AAC - iOS自带的audiotoolbox音频编码器 - AAC_LC (CPU占用较低,但推荐码率:64kbps单声道,128kbps双声道) - KSYAudioCodec_AT_AAC - - KSYTypeDef.h - + + + + //apple_ref/occ/instp/KSYTransitionPushFilter/masterLayer + 视频所在的图层 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) NSInteger masterLayer + + + //api/name/masterLayer - - - - //apple_ref/c/econst/KSYAudioCodec_AAC_HE_V2 - aac软件编码器 - AACHEV2 (仅双声道音频可用;如果输入数据为单声道,则自动退化为 AAC_HE) - KSYAudioCodec_AAC_HE_V2 - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/setDuration: + 转场重叠的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/duration + 转场重叠的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration + + + + + //apple_ref/occ/instp/KSYTransitionPushFilter/duration + 转场重叠的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int duration + + + //api/name/duration + + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/setFrameIdx: + 转场已经处理的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx + + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx + + + + + //apple_ref/occ/instp/KSYTransitionPushFilter/frameIdx + 转场已经处理的帧数 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) int frameIdx + + + //api/name/frameIdx - + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/setDirection: + 推动方向 默认向上 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) KSYTPushDirection direction + + + //api/name/direction + + + + + //apple_ref/occ/instm/KSYTransitionPushFilter/direction + 推动方向 默认向上 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) KSYTPushDirection direction + + + //api/name/direction + + + + + //apple_ref/occ/instp/KSYTransitionPushFilter/direction + 推动方向 默认向上 + KSYTransitionPushFilter.h + + @property (nonatomic, readwrite) KSYTPushDirection direction + + + //api/name/direction + + + diff --git a/doc/docset/Contents/Resources/Tokens55.xml b/doc/docset/Contents/Resources/Tokens55.xml index 45aaf12..79c3102 100644 --- a/doc/docset/Contents/Resources/Tokens55.xml +++ b/doc/docset/Contents/Resources/Tokens55.xml @@ -1,67 +1,197 @@ - + - //apple_ref/c/tdef/KSYAudioEffectType - 音效类型 - KSYAUAudioCapture.h + //apple_ref/occ/cl/KSYUIRecorderKit + + KSYUIRecorderKit.h - - - //apple_ref/c/econst/KSYAudioEffectType_NONE - 初始化时状态为空闲 - KSYAudioEffectType_NONE - - KSYAUAudioCapture.h - + + //apple_ref/occ/instm/KSYUIRecorderKit/initWithScheme: + + KSYUIRecorderKit.h + + - (instancetype)initWithScheme:(KSYPlayRecordScheme)scheme + + + //api/name/initWithScheme: - - - - //apple_ref/c/econst/KSYAudioEffectType_MALE - 大叔 - KSYAudioEffectType_MALE - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYUIRecorderKit/setContentView: + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) UIView *contentView + + + //api/name/contentView - - - - //apple_ref/c/econst/KSYAudioEffectType_FEMALE - 萝莉 - KSYAudioEffectType_FEMALE - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYUIRecorderKit/contentView + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) UIView *contentView + + + //api/name/contentView - - - - //apple_ref/c/econst/KSYAudioEffectType_HEROIC - 宏大 - KSYAudioEffectType_HEROIC - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instp/KSYUIRecorderKit/contentView + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) UIView *contentView + + + //api/name/contentView - - - - //apple_ref/c/econst/KSYAudioEffectType_ROBOT - 机器人 - KSYAudioEffectType_ROBOT - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYUIRecorderKit/processWithTextureId:TextureSize:Time: + + KSYUIRecorderKit.h + + - (void)processWithTextureId:(GLuint)InputTexture TextureSize:(CGSize)TextureSize Time:(CMTime)time + + + //api/name/processWithTextureId:TextureSize:Time: - + + + + //apple_ref/occ/instm/KSYUIRecorderKit/processAudioSampleBuffer: + + KSYUIRecorderKit.h + + - (void)processAudioSampleBuffer:(CMSampleBufferRef)buf + + + //api/name/processAudioSampleBuffer: + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/processVideoSampleBuffer:timeInfo: + + KSYUIRecorderKit.h + + - (void)processVideoSampleBuffer:(CVPixelBufferRef)pixelBuffer timeInfo:(CMTime)timeStamp + + + //api/name/processVideoSampleBuffer:timeInfo: + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/startRecord: + + KSYUIRecorderKit.h + + - (void)startRecord:(NSURL *)path + + + //api/name/startRecord: + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/stopRecord + + KSYUIRecorderKit.h + + - (void)stopRecord + + + //api/name/stopRecord + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/setBPlayRecord: + + KSYUIRecorderKit.h + + @property BOOL bPlayRecord + + + //api/name/bPlayRecord + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/bPlayRecord + + KSYUIRecorderKit.h + + @property BOOL bPlayRecord + + + //api/name/bPlayRecord + + + + + //apple_ref/occ/instp/KSYUIRecorderKit/bPlayRecord + + KSYUIRecorderKit.h + + @property BOOL bPlayRecord + + + //api/name/bPlayRecord + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/setWriter: + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) KSYMovieWriter *writer + + + //api/name/writer + + + + + //apple_ref/occ/instm/KSYUIRecorderKit/writer + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) KSYMovieWriter *writer + + + //api/name/writer + + + + + //apple_ref/occ/instp/KSYUIRecorderKit/writer + + KSYUIRecorderKit.h + + @property (nonatomic, readwrite) KSYMovieWriter *writer + + + //api/name/writer + + + diff --git a/doc/docset/Contents/Resources/Tokens56.xml b/doc/docset/Contents/Resources/Tokens56.xml index 8240d27..848d822 100644 --- a/doc/docset/Contents/Resources/Tokens56.xml +++ b/doc/docset/Contents/Resources/Tokens56.xml @@ -1,67 +1,125 @@ - + - //apple_ref/c/tdef/KSYAudioNoiseSuppress - 噪声抑制等级 - KSYAUAudioCapture.h + //apple_ref/occ/cl/KSYVideoInfo + 视频信息 + KSYMediaInfo.h - - - //apple_ref/c/econst/KSYAudioNoiseSuppress_OFF - 关闭 - KSYAudioNoiseSuppress_OFF - - KSYAUAudioCapture.h - + + //apple_ref/occ/instm/KSYVideoInfo/setVcodec: + 视频编码格式, 具体类型为MEDIAINFOCODECID + KSYMediaInfo.h + + @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + + + //api/name/vcodec - - - - //apple_ref/c/econst/KSYAudioNoiseSuppress_LOW - 温和 - KSYAudioNoiseSuppress_LOW - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYVideoInfo/vcodec + 视频编码格式, 具体类型为MEDIAINFOCODECID + KSYMediaInfo.h + + @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + + + //api/name/vcodec - - - - //apple_ref/c/econst/KSYAudioNoiseSuppress_MEDIUM - 中等 - KSYAudioNoiseSuppress_MEDIUM - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instp/KSYVideoInfo/vcodec + 视频编码格式, 具体类型为MEDIAINFOCODECID + KSYMediaInfo.h + + @property (nonatomic) MEDIAINFO_CODEC_ID vcodec + + + //api/name/vcodec - - - - //apple_ref/c/econst/KSYAudioNoiseSuppress_HIGH - 激进 - KSYAudioNoiseSuppress_HIGH - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYVideoInfo/setFrame_width: + 视频帧宽度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_width + + + //api/name/frame_width - - - - //apple_ref/c/econst/KSYAudioNoiseSuppress_VERYHIGH - 非常激进 - KSYAudioNoiseSuppress_VERYHIGH - - KSYAUAudioCapture.h - + + + + //apple_ref/occ/instm/KSYVideoInfo/frame_width + 视频帧宽度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_width + + + //api/name/frame_width + + + + + //apple_ref/occ/instp/KSYVideoInfo/frame_width + 视频帧宽度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_width + + + //api/name/frame_width + + + + + //apple_ref/occ/instm/KSYVideoInfo/setFrame_height: + 视频帧高度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_height + + + //api/name/frame_height + + + + + //apple_ref/occ/instm/KSYVideoInfo/frame_height + 视频帧高度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_height + + + //api/name/frame_height - + + + + //apple_ref/occ/instp/KSYVideoInfo/frame_height + 视频帧高度 + KSYMediaInfo.h + + @property (nonatomic, assign) int32_t frame_height + + + //api/name/frame_height + + + diff --git a/doc/docset/Contents/Resources/Tokens57.xml b/doc/docset/Contents/Resources/Tokens57.xml index 7b231b6..3baece7 100644 --- a/doc/docset/Contents/Resources/Tokens57.xml +++ b/doc/docset/Contents/Resources/Tokens57.xml @@ -1,48 +1,88 @@ - + - //apple_ref/c/tdef/KSYBWEstimateMode - 网络自适应模式类型 - - KSYTypeDef.h + //apple_ref/occ/cl/KSYWeakProxy + A proxy used to hold a weak object. +It can be used to avoid retain cycles, such as the target in NSTimer or CADisplayLink. + KSYWeakProxy.h - - - //apple_ref/c/econst/KSYBWEstMode_Default - 默认模式 (综合模式,比较平稳) - KSYBWEstMode_Default - - KSYTypeDef.h - + + //apple_ref/occ/instm/KSYWeakProxy/setTarget: + The proxy target. + KSYWeakProxy.h + + @property (nullable, nonatomic, weak, readonly) id target + + + //api/name/target - - - - //apple_ref/c/econst/KSYBWEstMode_Negtive - 流畅优先模式(消极上调, 极速下调) - KSYBWEstMode_Negtive - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/KSYWeakProxy/target + The proxy target. + KSYWeakProxy.h + + @property (nullable, nonatomic, weak, readonly) id target + + + //api/name/target - - - - //apple_ref/c/econst/KSYBWEstMode_Disable - 禁用网络自适应网络调整 - KSYBWEstMode_Disable - - KSYTypeDef.h - + + + + //apple_ref/occ/instp/KSYWeakProxy/target + The proxy target. + KSYWeakProxy.h + + @property (nullable, nonatomic, weak, readonly) id target + + + //api/name/target + + + + + //apple_ref/occ/instm/KSYWeakProxy/initWithTarget: + Creates a new weak proxy for target. + KSYWeakProxy.h + + - (instancetype)initWithTarget:(id)target + + + target + Target object. + + + A new proxy object. + //api/name/initWithTarget: - + + + + //apple_ref/occ/clm/KSYWeakProxy/proxyWithTarget: + Creates a new weak proxy for target. + KSYWeakProxy.h + + + (instancetype)proxyWithTarget:(id)target + + + target + Target object. + + + A new proxy object. + //api/name/proxyWithTarget: + + + diff --git a/doc/docset/Contents/Resources/Tokens58.xml b/doc/docset/Contents/Resources/Tokens58.xml index fbb1f92..f98643f 100644 --- a/doc/docset/Contents/Resources/Tokens58.xml +++ b/doc/docset/Contents/Resources/Tokens58.xml @@ -1,87 +1,262 @@ - + - //apple_ref/c/tdef/KSYBgmPlayerState - 音频播放状态 - KSYTypeDef.h + //apple_ref/occ/cat/AVAudioSession(KSY) + iOS的AVAudioSession 属性配置工具类 + AVAudioSession+KSY.h - - - //apple_ref/c/econst/KSYBgmPlayerStateInit - 初始状态 - KSYBgmPlayerStateInit - - KSYTypeDef.h - + + //apple_ref/occ/instm/AVAudioSession/setDefaultCfg + 设置默认配置 + AVAudioSession+KSY.h + + - (void)setDefaultCfg + + + //api/name/setDefaultCfg - - - - //apple_ref/c/econst/KSYBgmPlayerStateStarting - 背景音正在播放 - KSYBgmPlayerStateStarting - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/AVAudioSession/setBInterruptOtherAudio: + 是否打断其他后台的音乐播放 (默认为NO) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio - - - - //apple_ref/c/econst/KSYBgmPlayerStateStopped - 背景音停止 - KSYBgmPlayerStateStopped - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/AVAudioSession/bInterruptOtherAudio + 是否打断其他后台的音乐播放 (默认为NO) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio - - - - //apple_ref/c/econst/KSYBgmPlayerStatePlaying - 背景音正在播放 - KSYBgmPlayerStatePlaying - - KSYTypeDef.h - + + + + //apple_ref/occ/instp/AVAudioSession/bInterruptOtherAudio + 是否打断其他后台的音乐播放 (默认为NO) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bInterruptOtherAudio + + + //api/name/bInterruptOtherAudio - - - - //apple_ref/c/econst/KSYBgmPlayerStatePaused - 背景音暂停 - KSYBgmPlayerStatePaused - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/AVAudioSession/setBDefaultToSpeaker: + 启动采集后,是否从扬声器播放声音 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bDefaultToSpeaker + + + //api/name/bDefaultToSpeaker - - - - //apple_ref/c/econst/KSYBgmPlayerStateError - 背景音播放出错 - KSYBgmPlayerStateError - - KSYTypeDef.h - + + + + //apple_ref/occ/instm/AVAudioSession/bDefaultToSpeaker + 启动采集后,是否从扬声器播放声音 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bDefaultToSpeaker + + + //api/name/bDefaultToSpeaker - - - - //apple_ref/c/econst/KSYBgmPlayerStateInterrupted - 背景音被打断 - KSYBgmPlayerStateInterrupted - - KSYTypeDef.h - + + + + //apple_ref/occ/instp/AVAudioSession/bDefaultToSpeaker + 启动采集后,是否从扬声器播放声音 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bDefaultToSpeaker + + + //api/name/bDefaultToSpeaker + + + + + //apple_ref/occ/instm/AVAudioSession/setBAllowBluetooth: + 是否启用蓝牙设备 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bAllowBluetooth + + + //api/name/bAllowBluetooth + + + + + //apple_ref/occ/instm/AVAudioSession/bAllowBluetooth + 是否启用蓝牙设备 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bAllowBluetooth + + + //api/name/bAllowBluetooth - + + + + //apple_ref/occ/instp/AVAudioSession/bAllowBluetooth + 是否启用蓝牙设备 (默认为YES) + AVAudioSession+KSY.h + + @property (nonatomic, assign) BOOL bAllowBluetooth + + + //api/name/bAllowBluetooth + + + + + //apple_ref/occ/instm/AVAudioSession/setAVAudioSessionCategory: + 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) + AVAudioSession+KSY.h + + @property (nonatomic, assign) NSString *AVAudioSessionCategory + + + //api/name/AVAudioSessionCategory + + + + + //apple_ref/occ/instm/AVAudioSession/AVAudioSessionCategory + 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) + AVAudioSession+KSY.h + + @property (nonatomic, assign) NSString *AVAudioSessionCategory + + + //api/name/AVAudioSessionCategory + + + + + //apple_ref/occ/instp/AVAudioSession/AVAudioSessionCategory + 本SDK使用的AVAudioSession的类别 (默认为AVAudioSessionCategoryPlayAndRecord) + AVAudioSession+KSY.h + + @property (nonatomic, assign) NSString *AVAudioSessionCategory + + + //api/name/AVAudioSessionCategory + + + + + //apple_ref/occ/instm/AVAudioSession/isBluetoothInputAvaible + 是否有蓝牙麦克风可用 + AVAudioSession+KSY.h + + + (BOOL)isBluetoothInputAvaible + + 是/否有蓝牙麦克风可用 + //api/name/isBluetoothInputAvaible + + + + + //apple_ref/occ/instm/AVAudioSession/switchBluetoothInput: + 选择是否使用蓝牙麦克风 + AVAudioSession+KSY.h + + + (BOOL)switchBluetoothInput:(BOOL)onOrOff + + + onOrOff + : YES 使用蓝牙麦克风 NO + + + 是/否有蓝牙麦克风可用 + //api/name/switchBluetoothInput: + + + + + //apple_ref/occ/instm/AVAudioSession/isHeadsetInputAvaible + 是否有耳机麦克风可用 + AVAudioSession+KSY.h + + + (BOOL)isHeadsetInputAvaible + + 是/否有耳机麦克风 + //api/name/isHeadsetInputAvaible + + + + + //apple_ref/occ/instm/AVAudioSession/isHeadsetPluggedIn + 查询当前是否有耳机(包括蓝牙耳机) + AVAudioSession+KSY.h + + + (BOOL)isHeadsetPluggedIn + + + //api/name/isHeadsetPluggedIn + + + + + //apple_ref/occ/instm/AVAudioSession/setCurrentMicType: + 当前使用的音频采集设备 + AVAudioSession+KSY.h + + @property KSYMicType currentMicType + + + //api/name/currentMicType + + + + + //apple_ref/occ/instm/AVAudioSession/currentMicType + 当前使用的音频采集设备 + AVAudioSession+KSY.h + + @property KSYMicType currentMicType + + + //api/name/currentMicType + + + + + //apple_ref/occ/instp/AVAudioSession/currentMicType + 当前使用的音频采集设备 + AVAudioSession+KSY.h + + @property KSYMicType currentMicType + + + //api/name/currentMicType + + + diff --git a/doc/docset/Contents/Resources/Tokens59.xml b/doc/docset/Contents/Resources/Tokens59.xml index 7c7b274..39ca416 100644 --- a/doc/docset/Contents/Resources/Tokens59.xml +++ b/doc/docset/Contents/Resources/Tokens59.xml @@ -1,77 +1,167 @@ - + - //apple_ref/c/tdef/KSYCaptureState - 采集设备状态 - KSYTypeDef.h + //apple_ref/occ/intf/KSYMediaPlayback + KSYMediaPlayback为播放内核KSYMoviePlayerController提供播放控制功能。 + KSYMediaPlayback.h - - - //apple_ref/c/econst/KSYCaptureStateIdle - 设备空闲中 - KSYCaptureStateIdle - - KSYTypeDef.h - + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + 准备视频播放 + KSYMediaPlayback.h + + + //apple_ref/occ/intfp/KSYMediaPlayback/isPreparedToPlay + + + + - (void)prepareToPlay + + + //api/name/prepareToPlay - - - - //apple_ref/c/econst/KSYCaptureStateCapturing - 设备工作中 - KSYCaptureStateCapturing - - KSYTypeDef.h - + + + + //apple_ref/occ/intfm/KSYMediaPlayback/setIsPreparedToPlay: + 查询视频准备是否完成 + KSYMediaPlayback.h + + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + + + @property (nonatomic, readonly) BOOL isPreparedToPlay + + + //api/name/isPreparedToPlay - - - - //apple_ref/c/econst/KSYCaptureStateDevAuthDenied - 设备授权被拒绝 - KSYCaptureStateDevAuthDenied - - KSYTypeDef.h - + + + + //apple_ref/occ/intfm/KSYMediaPlayback/isPreparedToPlay + 查询视频准备是否完成 + KSYMediaPlayback.h + + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + + + @property (nonatomic, readonly) BOOL isPreparedToPlay + + + //api/name/isPreparedToPlay - - - - //apple_ref/c/econst/KSYCaptureStateClosingCapture - 关闭采集设备中 - KSYCaptureStateClosingCapture - - KSYTypeDef.h - + + + + //apple_ref/occ/intfp/KSYMediaPlayback/isPreparedToPlay + 查询视频准备是否完成 + KSYMediaPlayback.h + + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + + + @property (nonatomic, readonly) BOOL isPreparedToPlay + + + //api/name/isPreparedToPlay - - - - //apple_ref/c/econst/KSYCaptureStateParameterError - 参数错误,无法打开(比如设置的分辨率,码率当前设备不支持) - KSYCaptureStateParameterError - - KSYTypeDef.h - + + + + //apple_ref/occ/intfm/KSYMediaPlayback/play + 播放当前视频。 + KSYMediaPlayback.h + + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + + + - (void)play + + + //api/name/play - - - - //apple_ref/c/econst/KSYCaptureStateDevBusy - 设备正忙,请稍后尝试 ( 该状态在发出通知0.5秒后被清除 ) - KSYCaptureStateDevBusy - - KSYTypeDef.h - + + + + //apple_ref/occ/intfm/KSYMediaPlayback/pause + 暂停播放当前视频。 + KSYMediaPlayback.h + + - (void)pause + + + //api/name/pause + + + + + //apple_ref/occ/intfm/KSYMediaPlayback/stop + 结束当前视频的播放。 + KSYMediaPlayback.h + + + //apple_ref/occ/intfm/KSYMediaPlayback/prepareToPlay + + + + - (void)stop + + + //api/name/stop + + + + + //apple_ref/occ/intfm/KSYMediaPlayback/setCurrentPlaybackTime: + 播放视频的当前时刻,单位为秒。 + KSYMediaPlayback.h + + @property (nonatomic) NSTimeInterval currentPlaybackTime + + + //api/name/currentPlaybackTime + + + + + //apple_ref/occ/intfm/KSYMediaPlayback/currentPlaybackTime + 播放视频的当前时刻,单位为秒。 + KSYMediaPlayback.h + + @property (nonatomic) NSTimeInterval currentPlaybackTime + + + //api/name/currentPlaybackTime - + + + + //apple_ref/occ/intfp/KSYMediaPlayback/currentPlaybackTime + 播放视频的当前时刻,单位为秒。 + KSYMediaPlayback.h + + @property (nonatomic) NSTimeInterval currentPlaybackTime + + + //api/name/currentPlaybackTime + + + diff --git a/doc/docset/Contents/Resources/Tokens60.xml b/doc/docset/Contents/Resources/Tokens60.xml index 5cc5424..2ccef60 100644 --- a/doc/docset/Contents/Resources/Tokens60.xml +++ b/doc/docset/Contents/Resources/Tokens60.xml @@ -1,57 +1,29 @@ - + - //apple_ref/c/tdef/KSYDevAuthStatus - 设备授权状态 - KSYTypeDef.h + //apple_ref/occ/intf/KSYTransition + Protocol for setting duration for each transition filter + KSYTransitionFilter.h - - - //apple_ref/c/econst/KSYDevAuthStatusNotDetermined - 还没有确定是否授权 - KSYDevAuthStatusNotDetermined - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYDevAuthStatusRestricted - 设备受限,一般在家长模式下设备会受限 - KSYDevAuthStatusRestricted - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYDevAuthStatusDenied - 拒绝授权 - KSYDevAuthStatusDenied - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYDevAuthStatusAuthorized - 已授权 - KSYDevAuthStatusAuthorized - - KSYTypeDef.h - + + //apple_ref/occ/intfm/KSYTransition/setDuration: + + KSYTransitionFilter.h + + - (void)setDuration:(int)dur + + + //api/name/setDuration: - + + diff --git a/doc/docset/Contents/Resources/Tokens61.xml b/doc/docset/Contents/Resources/Tokens61.xml index bf716b6..72d6548 100644 --- a/doc/docset/Contents/Resources/Tokens61.xml +++ b/doc/docset/Contents/Resources/Tokens61.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYLiveScene - 直播场景 (KSY内部会根据场景的特征进行参数调优) - KSYTypeDef.h + //apple_ref/c/tdef/KSYAVMuxerStatus + 交织处理状态 + KSYAVMuxer.h @@ -14,31 +14,51 @@ - //apple_ref/c/econst/KSYLiveScene_Default - 默认通用场景(不确定场景时使用) - KSYLiveScene_Default + //apple_ref/c/econst/KSYAVMuxerStatusIdle + 初始状态 + KSYAVMuxerStatusIdle - KSYTypeDef.h + KSYAVMuxer.h - //apple_ref/c/econst/KSYLiveScene_Showself - 秀场场景, 主播上半身为主 - KSYLiveScene_Showself + //apple_ref/c/econst/KSYAVMuxerStatusMuxing + 处理中 + KSYAVMuxerStatusMuxing - KSYTypeDef.h + KSYAVMuxer.h - //apple_ref/c/econst/KSYLiveScene_Game - 游戏场景 - KSYLiveScene_Game + //apple_ref/c/econst/KSYAVMuxerStatusCompleted + 处理完成 + KSYAVMuxerStatusCompleted - KSYTypeDef.h + KSYAVMuxer.h + + + + + + //apple_ref/c/econst/KSYAVMuxerStatusFailed + 处理失败 + KSYAVMuxerStatusFailed + + KSYAVMuxer.h + + + + + + //apple_ref/c/econst/KSYAVMuxerStatusCancelled + 处理任务被取消 + KSYAVMuxerStatusCancelled + + KSYAVMuxer.h diff --git a/doc/docset/Contents/Resources/Tokens62.xml b/doc/docset/Contents/Resources/Tokens62.xml index 002574f..82c7627 100644 --- a/doc/docset/Contents/Resources/Tokens62.xml +++ b/doc/docset/Contents/Resources/Tokens62.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYMPErrorCode - 错误码 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYAudioCodec + 音频编码器类型 + KSYTypeDef.h @@ -14,211 +14,41 @@ - //apple_ref/c/econst/KSYMPOK - 正常 - KSYMPOK + //apple_ref/c/econst/KSYAudioCodec_AAC_HE + aac音频软件编码器 - AAC_HE + KSYAudioCodec_AAC_HE - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/KSYMPErrorCodeUnknownError - 未知错误 - KSYMPErrorCodeUnknownError + //apple_ref/c/econst/KSYAudioCodec_AAC + aac音频软件编码器 - AAC_LC + KSYAudioCodec_AAC - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/KSYMPErrorCodeFileIOError - 读写数据异常 - KSYMPErrorCodeFileIOError + //apple_ref/c/econst/KSYAudioCodec_AT_AAC + iOS自带的audiotoolbox音频编码器 - AAC_LC (CPU占用较低,但推荐码率:64kbps单声道,128kbps双声道) + KSYAudioCodec_AT_AAC - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/KSYMPErrorCodeUnsupportProtocol - 不支持的流媒体协议 - KSYMPErrorCodeUnsupportProtocol + //apple_ref/c/econst/KSYAudioCodec_AAC_HE_V2 + aac软件编码器 - AACHEV2 (仅双声道音频可用;如果输入数据为单声道,则自动退化为 AAC_HE) + KSYAudioCodec_AAC_HE_V2 - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeDNSParseFailed - DNS解析失败 - KSYMPErrorCodeDNSParseFailed - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeCreateSocketFailed - 创建socket失败 - KSYMPErrorCodeCreateSocketFailed - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeConnectServerFailed - 连接服务器失败 - KSYMPErrorCodeConnectServerFailed - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeBadRequest - http请求返回400 - KSYMPErrorCodeBadRequest - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeUnauthorizedClient - http请求返回401 - KSYMPErrorCodeUnauthorizedClient - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeAccessForbidden - http请求返回403 - KSYMPErrorCodeAccessForbidden - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeTargetNotFound - http请求返回404 - KSYMPErrorCodeTargetNotFound - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeOtherErrorCode - http请求返回4xx - KSYMPErrorCodeOtherErrorCode - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeServerException - http请求返回5xx - KSYMPErrorCodeServerException - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeInvalidData - 无效的媒体数据 - KSYMPErrorCodeInvalidData - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeUnsupportVideoCodec - 不支持的视频编码类型 - KSYMPErrorCodeUnsupportVideoCodec - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeUnsupportAudioCodec - 不支持的音频编码类型 - KSYMPErrorCodeUnsupportAudioCodec - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeVideoDecodeFailed - 视频解码失败 - KSYMPErrorCodeVideoDecodeFailed - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCodeAudioDecodeFailed - 音频解码失败 - KSYMPErrorCodeAudioDecodeFailed - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorCode3xxOverFlow - 次数过多的3xx跳转(8次) - KSYMPErrorCode3xxOverFlow - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorInvalidURL - 无效的url - KSYMPErrorInvalidURL - - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/KSYMPErrorNetworkUnReachable - 网络不通 - KSYMPErrorNetworkUnReachable - - KSYMoviePlayerDefines.h + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens63.xml b/doc/docset/Contents/Resources/Tokens63.xml index 3d8a7a8..d543abd 100644 --- a/doc/docset/Contents/Resources/Tokens63.xml +++ b/doc/docset/Contents/Resources/Tokens63.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYMicType - 音频输入设备类型 - KSYTypeDef.h + //apple_ref/c/tdef/KSYAudioEffectType + 音效类型 + KSYAUAudioCapture.h @@ -14,41 +14,51 @@ - //apple_ref/c/econst/KSYMicType_builtinMic - Built-in microphone on an iOS device - KSYMicType_builtinMic + //apple_ref/c/econst/KSYAudioEffectType_NONE + 初始化时状态为空闲 + KSYAudioEffectType_NONE - KSYTypeDef.h + KSYAUAudioCapture.h - //apple_ref/c/econst/KSYMicType_headsetMic - Microphone on a wired headset - KSYMicType_headsetMic + //apple_ref/c/econst/KSYAudioEffectType_MALE + 大叔 + KSYAudioEffectType_MALE - KSYTypeDef.h + KSYAUAudioCapture.h - //apple_ref/c/econst/KSYMicType_bluetoothMic - 蓝牙设备 - KSYMicType_bluetoothMic + //apple_ref/c/econst/KSYAudioEffectType_FEMALE + 萝莉 + KSYAudioEffectType_FEMALE - KSYTypeDef.h + KSYAUAudioCapture.h - //apple_ref/c/econst/KSYMicType_unknow - 未知设备 - KSYMicType_unknow + //apple_ref/c/econst/KSYAudioEffectType_HEROIC + 宏大 + KSYAudioEffectType_HEROIC - KSYTypeDef.h + KSYAUAudioCapture.h + + + + + + //apple_ref/c/econst/KSYAudioEffectType_ROBOT + 机器人 + KSYAudioEffectType_ROBOT + + KSYAUAudioCapture.h diff --git a/doc/docset/Contents/Resources/Tokens64.xml b/doc/docset/Contents/Resources/Tokens64.xml index 65b8427..648a202 100644 --- a/doc/docset/Contents/Resources/Tokens64.xml +++ b/doc/docset/Contents/Resources/Tokens64.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYNetReachState - 网络链接状态 - KSYTypeDef.h + //apple_ref/c/tdef/KSYAudioNoiseSuppress + 噪声抑制等级 + KSYAUAudioCapture.h @@ -14,31 +14,51 @@ - //apple_ref/c/econst/KSYNetReachState_Unknown - 未知 - KSYNetReachState_Unknown + //apple_ref/c/econst/KSYAudioNoiseSuppress_OFF + 关闭 + KSYAudioNoiseSuppress_OFF - KSYTypeDef.h + KSYAUAudioCapture.h - //apple_ref/c/econst/KSYNetReachState_OK - 联网 - KSYNetReachState_OK + //apple_ref/c/econst/KSYAudioNoiseSuppress_LOW + 温和 + KSYAudioNoiseSuppress_LOW - KSYTypeDef.h + KSYAUAudioCapture.h - //apple_ref/c/econst/KSYNetReachState_Bad - 断网 - KSYNetReachState_Bad + //apple_ref/c/econst/KSYAudioNoiseSuppress_MEDIUM + 中等 + KSYAudioNoiseSuppress_MEDIUM - KSYTypeDef.h + KSYAUAudioCapture.h + + + + + + //apple_ref/c/econst/KSYAudioNoiseSuppress_HIGH + 激进 + KSYAudioNoiseSuppress_HIGH + + KSYAUAudioCapture.h + + + + + + //apple_ref/c/econst/KSYAudioNoiseSuppress_VERYHIGH + 非常激进 + KSYAudioNoiseSuppress_VERYHIGH + + KSYAUAudioCapture.h diff --git a/doc/docset/Contents/Resources/Tokens65.xml b/doc/docset/Contents/Resources/Tokens65.xml index 4ce85a9..6cdc5bc 100644 --- a/doc/docset/Contents/Resources/Tokens65.xml +++ b/doc/docset/Contents/Resources/Tokens65.xml @@ -1,10 +1,11 @@ - + - //apple_ref/c/tdef/KSYNetStateCode - 网络状况事件码,用于指示当前网络健康状况 + //apple_ref/c/tdef/KSYBWEstimateMode + 网络自适应模式类型 + KSYTypeDef.h @@ -14,9 +15,9 @@ - //apple_ref/c/econst/KSYNetStateCode_NONE - 正常无错误 - KSYNetStateCode_NONE + //apple_ref/c/econst/KSYBWEstMode_Default + 默认模式 (综合模式,比较平稳) + KSYBWEstMode_Default KSYTypeDef.h @@ -24,9 +25,9 @@ - //apple_ref/c/econst/KSYNetStateCode_SEND_PACKET_SLOW - 发送包时间过长,( 单次发送超过 500毫秒 ) - KSYNetStateCode_SEND_PACKET_SLOW + //apple_ref/c/econst/KSYBWEstMode_Negtive + 流畅优先模式(消极上调, 极速下调) + KSYBWEstMode_Negtive KSYTypeDef.h @@ -34,79 +35,9 @@ - //apple_ref/c/econst/KSYNetStateCode_EST_BW_RAISE - 估计带宽调整,上调 - KSYNetStateCode_EST_BW_RAISE - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_EST_BW_DROP - 估计带宽调整,下调 - KSYNetStateCode_EST_BW_DROP - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_VIDEO_FPS_RAISE - 帧率调整,上调 - KSYNetStateCode_VIDEO_FPS_RAISE - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_VIDEO_FPS_DROP - 帧率调整,下调 - KSYNetStateCode_VIDEO_FPS_DROP - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_KSYAUTHFAILED - SDK 鉴权失败 (暂时正常推流5~8分钟后终止推流) - KSYNetStateCode_KSYAUTHFAILED - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_IN_AUDIO_DISCONTINUOUS - 输入音频不连续 - KSYNetStateCode_IN_AUDIO_DISCONTINUOUS - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_UNREACHABLE - 网络变为不可用 - KSYNetStateCode_UNREACHABLE - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYNetStateCode_REACHABLE - 网络变为可用 - KSYNetStateCode_REACHABLE + //apple_ref/c/econst/KSYBWEstMode_Disable + 禁用网络自适应网络调整 + KSYBWEstMode_Disable KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens66.xml b/doc/docset/Contents/Resources/Tokens66.xml index 72a04f5..a39e94f 100644 --- a/doc/docset/Contents/Resources/Tokens66.xml +++ b/doc/docset/Contents/Resources/Tokens66.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYNetworkStatus - Create NS_ENUM macro if it does not exist on the targeted version of iOS or OS X. - KSYReachability.h + //apple_ref/c/tdef/KSYBgmPlayerState + 音频播放状态 + KSYTypeDef.h @@ -14,31 +14,71 @@ - //apple_ref/c/econst/KSYNotReachable - - KSYNotReachable + //apple_ref/c/econst/KSYBgmPlayerStateInit + 初始状态 + KSYBgmPlayerStateInit - KSYReachability.h + KSYTypeDef.h - //apple_ref/c/econst/KSYReachableViaWiFi - - KSYReachableViaWiFi + //apple_ref/c/econst/KSYBgmPlayerStateStarting + 背景音正在播放 + KSYBgmPlayerStateStarting - KSYReachability.h + KSYTypeDef.h - //apple_ref/c/econst/KSYReachableViaWWAN - - KSYReachableViaWWAN + //apple_ref/c/econst/KSYBgmPlayerStateStopped + 背景音停止 + KSYBgmPlayerStateStopped - KSYReachability.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYBgmPlayerStatePlaying + 背景音正在播放 + KSYBgmPlayerStatePlaying + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYBgmPlayerStatePaused + 背景音暂停 + KSYBgmPlayerStatePaused + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYBgmPlayerStateError + 背景音播放出错 + KSYBgmPlayerStateError + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYBgmPlayerStateInterrupted + 背景音被打断 + KSYBgmPlayerStateInterrupted + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens67.xml b/doc/docset/Contents/Resources/Tokens67.xml index 324607d..b0083e8 100644 --- a/doc/docset/Contents/Resources/Tokens67.xml +++ b/doc/docset/Contents/Resources/Tokens67.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYPlayRecordScheme - 录制方案 - KSYUIRecorderKit.h + //apple_ref/c/tdef/KSYCaptureState + 采集设备状态 + KSYTypeDef.h @@ -14,21 +14,61 @@ - //apple_ref/c/econst/KSYPlayerRecord_PicMix_Scheme - UI+Video混合方案 - KSYPlayerRecord_PicMix_Scheme + //apple_ref/c/econst/KSYCaptureStateIdle + 设备空闲中 + KSYCaptureStateIdle - KSYUIRecorderKit.h + KSYTypeDef.h - //apple_ref/c/econst/KSYPlayerRecord_ScreenShot_Scheme - 截屏式方案 - KSYPlayerRecord_ScreenShot_Scheme + //apple_ref/c/econst/KSYCaptureStateCapturing + 设备工作中 + KSYCaptureStateCapturing - KSYUIRecorderKit.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYCaptureStateDevAuthDenied + 设备授权被拒绝 + KSYCaptureStateDevAuthDenied + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYCaptureStateClosingCapture + 关闭采集设备中 + KSYCaptureStateClosingCapture + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYCaptureStateParameterError + 参数错误,无法打开(比如设置的分辨率,码率当前设备不支持) + KSYCaptureStateParameterError + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYCaptureStateDevBusy + 设备正忙,请稍后尝试 ( 该状态在发出通知0.5秒后被清除 ) + KSYCaptureStateDevBusy + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens68.xml b/doc/docset/Contents/Resources/Tokens68.xml index b2869c7..f4f2405 100644 --- a/doc/docset/Contents/Resources/Tokens68.xml +++ b/doc/docset/Contents/Resources/Tokens68.xml @@ -1,10 +1,10 @@ - + - //apple_ref/c/tdef/KSYRecScene - 录制场景 + //apple_ref/c/tdef/KSYDevAuthStatus + 设备授权状态 KSYTypeDef.h @@ -14,9 +14,9 @@ - //apple_ref/c/econst/KSYRecScene_ConstantBitRate - 恒定码率场景 - KSYRecScene_ConstantBitRate + //apple_ref/c/econst/KSYDevAuthStatusNotDetermined + 还没有确定是否授权 + KSYDevAuthStatusNotDetermined KSYTypeDef.h @@ -24,9 +24,29 @@ - //apple_ref/c/econst/KSYRecScene_ConstantQuality - 恒定质量场景 - KSYRecScene_ConstantQuality + //apple_ref/c/econst/KSYDevAuthStatusRestricted + 设备受限,一般在家长模式下设备会受限 + KSYDevAuthStatusRestricted + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYDevAuthStatusDenied + 拒绝授权 + KSYDevAuthStatusDenied + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYDevAuthStatusAuthorized + 已授权 + KSYDevAuthStatusAuthorized KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens69.xml b/doc/docset/Contents/Resources/Tokens69.xml index 582af38..ef84839 100644 --- a/doc/docset/Contents/Resources/Tokens69.xml +++ b/doc/docset/Contents/Resources/Tokens69.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYRecordError - 旁路录制错误码 - KSYTypeDef.h + //apple_ref/c/tdef/KSYGPUEffectType + 特效滤镜类型 SpecialEffects + KSYBuildInSpecialEffects.h @@ -14,41 +14,331 @@ - //apple_ref/c/econst/KSYRecordErrorNone - 无错误 - KSYRecordErrorNone + //apple_ref/c/econst/KSYGPUEffectType_None + 0 原图关闭特效 + KSYGPUEffectType_None - KSYTypeDef.h + KSYBuildInSpecialEffects.h - //apple_ref/c/econst/KSYRecordErrorPathInvalid - 地址错误 - KSYRecordErrorPathInvalid + //apple_ref/c/econst/KSYGPUEffectType_Freshy + 1 小清新 + KSYGPUEffectType_Freshy - KSYTypeDef.h + KSYBuildInSpecialEffects.h - //apple_ref/c/econst/KSYRecordErrorFormatNotSupport - 格式不支持 - KSYRecordErrorFormatNotSupport + //apple_ref/c/econst/KSYGPUEffectType_Beauty + 2 靓丽 + KSYGPUEffectType_Beauty - KSYTypeDef.h + KSYBuildInSpecialEffects.h - //apple_ref/c/econst/KSYRecordErrorInternal - 内部错误 - KSYRecordErrorInternal + //apple_ref/c/econst/KSYGPUEffectType_Sweety + 3 甜美可人 + KSYGPUEffectType_Sweety - KSYTypeDef.h + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sepia + 4 怀旧 + KSYGPUEffectType_Sepia + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Blue + 5 蓝调 + KSYGPUEffectType_Blue + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Nostalgia + 6 老照片 + KSYGPUEffectType_Nostalgia + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sakura + 7 樱花 + KSYGPUEffectType_Sakura + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sakura_night + 8 樱花(适用于光线较暗的环境) + KSYGPUEffectType_Sakura_night + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Ruddy_night + 9 红润(适用于光线较暗的环境) + KSYGPUEffectType_Ruddy_night + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sunshine_night + 10 阳光(适用于光线较暗的环境) + KSYGPUEffectType_Sunshine_night + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Ruddy + 11 红润 + KSYGPUEffectType_Ruddy + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sushine + 12 阳光 + KSYGPUEffectType_Sushine + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Nature + 13 自然 + KSYGPUEffectType_Nature + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Amatorka + 14 恋人 + KSYGPUEffectType_Amatorka + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Elegance + 15 高雅 + KSYGPUEffectType_Elegance + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_1977 + 16 红粉佳人 + KSYGPUEffectType_1977 + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Amaro + 17 优格 + KSYGPUEffectType_Amaro + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Brannan + 18 流年 + KSYGPUEffectType_Brannan + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Early_bird + 19 柔光 + KSYGPUEffectType_Early_bird + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Hefe + 20 经典 + KSYGPUEffectType_Hefe + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Hudson + 21 初夏 + KSYGPUEffectType_Hudson + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Ink + 22 黑白 + KSYGPUEffectType_Ink + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Lomo + 23 纽约 + KSYGPUEffectType_Lomo + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Lord_kelvin + 24 上野 + KSYGPUEffectType_Lord_kelvin + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Nashville + 25 碧波 + KSYGPUEffectType_Nashville + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Rise + 26 日系 + KSYGPUEffectType_Rise + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sierra + 27 清凉 + KSYGPUEffectType_Sierra + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Sutro + 28 移轴 + KSYGPUEffectType_Sutro + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Toaster + 29 梦幻 + KSYGPUEffectType_Toaster + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Valencia + 30 恬淡 + KSYGPUEffectType_Valencia + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Walden + 31 候鸟 + KSYGPUEffectType_Walden + + KSYBuildInSpecialEffects.h + + + + + + //apple_ref/c/econst/KSYGPUEffectType_Xproll + 32 淡雅 + KSYGPUEffectType_Xproll + + KSYBuildInSpecialEffects.h diff --git a/doc/docset/Contents/Resources/Tokens70.xml b/doc/docset/Contents/Resources/Tokens70.xml index d77fd50..a096a11 100644 --- a/doc/docset/Contents/Resources/Tokens70.xml +++ b/doc/docset/Contents/Resources/Tokens70.xml @@ -1,10 +1,10 @@ - + - //apple_ref/c/tdef/KSYRecordState - 旁路录制状态 + //apple_ref/c/tdef/KSYLiveScene + 直播场景 (KSY内部会根据场景的特征进行参数调优) KSYTypeDef.h @@ -14,9 +14,9 @@ - //apple_ref/c/econst/KSYRecordStateIdle - 初始状态 - KSYRecordStateIdle + //apple_ref/c/econst/KSYLiveScene_Default + 默认通用场景(不确定场景时使用) + KSYLiveScene_Default KSYTypeDef.h @@ -24,9 +24,9 @@ - //apple_ref/c/econst/KSYRecordStateRecording - 录像中 - KSYRecordStateRecording + //apple_ref/c/econst/KSYLiveScene_Showself + 秀场场景, 主播上半身为主 + KSYLiveScene_Showself KSYTypeDef.h @@ -34,19 +34,9 @@ - //apple_ref/c/econst/KSYRecordStateStopped - 录像停止 - KSYRecordStateStopped - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYRecordStateError - 录像失败 - KSYRecordStateError + //apple_ref/c/econst/KSYLiveScene_Game + 游戏场景 + KSYLiveScene_Game KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens71.xml b/doc/docset/Contents/Resources/Tokens71.xml index 25c8258..48b2944 100644 --- a/doc/docset/Contents/Resources/Tokens71.xml +++ b/doc/docset/Contents/Resources/Tokens71.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYShakeType - 抖动类型 - KSYShakeFilter.h + //apple_ref/c/tdef/KSYMPErrorCode + 错误码 + KSYMoviePlayerDefines.h @@ -14,21 +14,211 @@ - //apple_ref/c/econst/KSYShakeType_ZOOM - 放大抖动效果 - KSYShakeType_ZOOM + //apple_ref/c/econst/KSYMPOK + 正常 + KSYMPOK - KSYShakeFilter.h + KSYMoviePlayerDefines.h - //apple_ref/c/econst/KSYShakeType_Color - 彩色抖动效果 - KSYShakeType_Color + //apple_ref/c/econst/KSYMPErrorCodeUnknownError + 未知错误 + KSYMPErrorCodeUnknownError - KSYShakeFilter.h + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeFileIOError + 读写数据异常 + KSYMPErrorCodeFileIOError + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeUnsupportProtocol + 不支持的流媒体协议 + KSYMPErrorCodeUnsupportProtocol + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeDNSParseFailed + DNS解析失败 + KSYMPErrorCodeDNSParseFailed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeCreateSocketFailed + 创建socket失败 + KSYMPErrorCodeCreateSocketFailed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeConnectServerFailed + 连接服务器失败 + KSYMPErrorCodeConnectServerFailed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeBadRequest + http请求返回400 + KSYMPErrorCodeBadRequest + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeUnauthorizedClient + http请求返回401 + KSYMPErrorCodeUnauthorizedClient + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeAccessForbidden + http请求返回403 + KSYMPErrorCodeAccessForbidden + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeTargetNotFound + http请求返回404 + KSYMPErrorCodeTargetNotFound + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeOtherErrorCode + http请求返回4xx + KSYMPErrorCodeOtherErrorCode + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeServerException + http请求返回5xx + KSYMPErrorCodeServerException + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeInvalidData + 无效的媒体数据 + KSYMPErrorCodeInvalidData + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeUnsupportVideoCodec + 不支持的视频编码类型 + KSYMPErrorCodeUnsupportVideoCodec + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeUnsupportAudioCodec + 不支持的音频编码类型 + KSYMPErrorCodeUnsupportAudioCodec + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeVideoDecodeFailed + 视频解码失败 + KSYMPErrorCodeVideoDecodeFailed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCodeAudioDecodeFailed + 音频解码失败 + KSYMPErrorCodeAudioDecodeFailed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorCode3xxOverFlow + 次数过多的3xx跳转(8次) + KSYMPErrorCode3xxOverFlow + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorInvalidURL + 无效的url + KSYMPErrorInvalidURL + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/KSYMPErrorNetworkUnReachable + 网络不通 + KSYMPErrorNetworkUnReachable + + KSYMoviePlayerDefines.h diff --git a/doc/docset/Contents/Resources/Tokens72.xml b/doc/docset/Contents/Resources/Tokens72.xml index e1ead93..bd91ace 100644 --- a/doc/docset/Contents/Resources/Tokens72.xml +++ b/doc/docset/Contents/Resources/Tokens72.xml @@ -1,10 +1,10 @@ - + - //apple_ref/c/tdef/KSYStreamErrorCode - 推流错误码,用于指示推流失败的原因 + //apple_ref/c/tdef/KSYMicType + 音频输入设备类型 KSYTypeDef.h @@ -14,9 +14,9 @@ - //apple_ref/c/econst/KSYStreamErrorCode_NONE - 正常无错误 - KSYStreamErrorCode_NONE + //apple_ref/c/econst/KSYMicType_builtinMic + Built-in microphone on an iOS device + KSYMicType_builtinMic KSYTypeDef.h @@ -24,9 +24,9 @@ - //apple_ref/c/econst/KSYStreamErrorCode_KSYAUTHFAILED - (obsolete) - KSYStreamErrorCode_KSYAUTHFAILED + //apple_ref/c/econst/KSYMicType_headsetMic + Microphone on a wired headset + KSYMicType_headsetMic KSYTypeDef.h @@ -34,9 +34,9 @@ - //apple_ref/c/econst/__deprecated_enum_msg - - __deprecated_enum_msg + //apple_ref/c/econst/KSYMicType_bluetoothMic + 蓝牙设备 + KSYMicType_bluetoothMic KSYTypeDef.h @@ -44,329 +44,9 @@ - //apple_ref/c/econst/( - - ( - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/"auth removed" - - "auth removed" - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/) - - ) - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_ENCODE_FRAMES_FAILED - 当前帧编码失败 - KSYStreamErrorCode_ENCODE_FRAMES_FAILED - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_CODEC_OPEN_FAILED - 无法打开配置指示的CODEC - KSYStreamErrorCode_CODEC_OPEN_FAILED - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_CONNECT_FAILED - 连接出错,检查地址 - KSYStreamErrorCode_CONNECT_FAILED - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_CONNECT_BREAK - 网络连接中断 - KSYStreamErrorCode_CONNECT_BREAK - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_NonExistDomain - rtmp 推流域名不存在 (KSY 自定义) - KSYStreamErrorCode_RTMP_NonExistDomain - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_NonExistApplication - rtmp 应用名不存在(KSY 自定义) - KSYStreamErrorCode_RTMP_NonExistApplication - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_AlreadyExistStreamName - rtmp 流名已存在(KSY 自定义) - KSYStreamErrorCode_RTMP_AlreadyExistStreamName - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_ForbiddenByBlacklist - rtmp 被黑名单拒绝(KSY 自定义) - KSYStreamErrorCode_RTMP_ForbiddenByBlacklist - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InternalError - rtmp 内部错误(KSY 自定义) - KSYStreamErrorCode_RTMP_InternalError - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_URLExpired - rtmp URL 地址已过期(KSY 自定义) - KSYStreamErrorCode_RTMP_URLExpired - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_SignatureDoesNotMatch - rtmp URL 地址签名错误(KSY 自定义) - KSYStreamErrorCode_RTMP_SignatureDoesNotMatch - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InvalidAccessKeyId - rtmp URL 中AccessKeyId非法(KSY 自定义) - KSYStreamErrorCode_RTMP_InvalidAccessKeyId - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_BadParams - rtmp URL 中参数错误(KSY 自定义) - KSYStreamErrorCode_RTMP_BadParams - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_ForbiddenByRegion - rtmp URL 中的推流不在发布点内(KSY 自定义) - KSYStreamErrorCode_RTMP_ForbiddenByRegion - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_FRAMES_THRESHOLD - (obsolete) - KSYStreamErrorCode_FRAMES_THRESHOLD - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_NO_INPUT_SAMPLE - (obsolete) - KSYStreamErrorCode_NO_INPUT_SAMPLE - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_DNS_Parse_failed - 对于URL中的域名解析失败 - KSYStreamErrorCode_DNS_Parse_failed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_Connect_Server_failed - 对于URL对应的服务器连接失败(无法建立TCP连接) - KSYStreamErrorCode_Connect_Server_failed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_Publish_failed - 跟RTMP服务器完成握手后,向{appname}/{streamname} 推流失败 - KSYStreamErrorCode_RTMP_Publish_failed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_AV_SYNC_ERROR - 音视频同步失败 (输入的音频和视频的时间戳的差值超过5s) - KSYStreamErrorCode_AV_SYNC_ERROR - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_INVALID_ADDRESS - 非法地址(地址为空或url中的协议或本地文件的后缀SDK不支持, 请检查) - KSYStreamErrorCode_INVALID_ADDRESS - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_NETWORK_UNREACHABLE - 网络不通 - KSYStreamErrorCode_NETWORK_UNREACHABLE - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_GetUserIdFailed - 获取user id失败 (KSY 自定义) - KSYStreamErrorCode_RTMP_GetUserIdFailed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch - AK和user id不匹配 (KSY 自定义) - KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_GetServerInfoFailed - 获取服务器信息失败 (KSY 自定义) - KSYStreamErrorCode_RTMP_GetServerInfoFailed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_IllegalOutsideUrl - 非法的外部url (KSY 自定义) - KSYStreamErrorCode_RTMP_IllegalOutsideUrl - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_OutsideAuthFailed - 外部鉴权失败 (KSY 自定义) - KSYStreamErrorCode_RTMP_OutsideAuthFailed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_SimpleAuthFailed - 简单鉴权失败(KSY 自定义) - KSYStreamErrorCode_RTMP_SimpleAuthFailed - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InvalidAuthType - 无效的鉴权类型 (KSY 自定义) - KSYStreamErrorCode_RTMP_InvalidAuthType - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamErrorCode_RTMP_IllegalUserId - 非法的user id (KSY 自定义) - KSYStreamErrorCode_RTMP_IllegalUserId + //apple_ref/c/econst/KSYMicType_unknow + 未知设备 + KSYMicType_unknow KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens73.xml b/doc/docset/Contents/Resources/Tokens73.xml index 8565eab..c666f26 100644 --- a/doc/docset/Contents/Resources/Tokens73.xml +++ b/doc/docset/Contents/Resources/Tokens73.xml @@ -1,10 +1,10 @@ - + - //apple_ref/c/tdef/KSYStreamState - 推流状态 + //apple_ref/c/tdef/KSYNetReachState + 网络链接状态 KSYTypeDef.h @@ -14,9 +14,9 @@ - //apple_ref/c/econst/KSYStreamStateIdle - 初始化时状态为空闲 - KSYStreamStateIdle + //apple_ref/c/econst/KSYNetReachState_Unknown + 未知 + KSYNetReachState_Unknown KSYTypeDef.h @@ -24,9 +24,9 @@ - //apple_ref/c/econst/KSYStreamStateConnecting - 连接中 - KSYStreamStateConnecting + //apple_ref/c/econst/KSYNetReachState_OK + 联网 + KSYNetReachState_OK KSYTypeDef.h @@ -34,29 +34,9 @@ - //apple_ref/c/econst/KSYStreamStateConnected - 已连接 - KSYStreamStateConnected - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamStateDisconnecting - 断开连接中 - KSYStreamStateDisconnecting - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYStreamStateError - 推流出错 - KSYStreamStateError + //apple_ref/c/econst/KSYNetReachState_Bad + 断网 + KSYNetReachState_Bad KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens74.xml b/doc/docset/Contents/Resources/Tokens74.xml index 66b78fb..f91fa3c 100644 --- a/doc/docset/Contents/Resources/Tokens74.xml +++ b/doc/docset/Contents/Resources/Tokens74.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYTranscodeErrorCode - 转码错误码,用于说明转码失败的原因 - KSYTranscoder.h + //apple_ref/c/tdef/KSYNetStateCode + 网络状况事件码,用于指示当前网络健康状况 + KSYTypeDef.h @@ -14,91 +14,101 @@ - //apple_ref/c/econst/KSYTranscodeErrorCode_None + //apple_ref/c/econst/KSYNetStateCode_NONE 正常无错误 - KSYTranscodeErrorCode_None + KSYNetStateCode_NONE - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_InvalidAddress - 无效的文件地址(输入或输出地址为空) - KSYTranscodeErrorCode_InvalidAddress + //apple_ref/c/econst/KSYNetStateCode_SEND_PACKET_SLOW + 发送包时间过长,( 单次发送超过 500毫秒 ) + KSYNetStateCode_SEND_PACKET_SLOW - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_InputFile_OpenFailed - 打开输入文件失败 - KSYTranscodeErrorCode_InputFile_OpenFailed + //apple_ref/c/econst/KSYNetStateCode_EST_BW_RAISE + 估计带宽调整,上调 + KSYNetStateCode_EST_BW_RAISE - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_InvalidData - 无效的媒体数据 - KSYTranscodeErrorCode_InvalidData + //apple_ref/c/econst/KSYNetStateCode_EST_BW_DROP + 估计带宽调整,下调 + KSYNetStateCode_EST_BW_DROP - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_UnsupportedFormat - 不支持的输出文件格式 - KSYTranscodeErrorCode_OutputFile_UnsupportedFormat + //apple_ref/c/econst/KSYNetStateCode_VIDEO_FPS_RAISE + 帧率调整,上调 + KSYNetStateCode_VIDEO_FPS_RAISE - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_OpenFailed - 打开输出文件失败 - KSYTranscodeErrorCode_OutputFile_OpenFailed + //apple_ref/c/econst/KSYNetStateCode_VIDEO_FPS_DROP + 帧率调整,下调 + KSYNetStateCode_VIDEO_FPS_DROP - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_AddStreamFailed - 输出文件添加流失败 - KSYTranscodeErrorCode_OutputFile_AddStreamFailed + //apple_ref/c/econst/KSYNetStateCode_KSYAUTHFAILED + SDK 鉴权失败 (暂时正常推流5~8分钟后终止推流) + KSYNetStateCode_KSYAUTHFAILED - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_StartWriteFailed - 输出文件头写入失败(通常为不支持的codec) - KSYTranscodeErrorCode_OutputFile_StartWriteFailed + //apple_ref/c/econst/KSYNetStateCode_IN_AUDIO_DISCONTINUOUS + 输入音频不连续 + KSYNetStateCode_IN_AUDIO_DISCONTINUOUS - KSYTranscoder.h + KSYTypeDef.h - //apple_ref/c/econst/KSYTranscodeErrorCode_Transcoding_Failed - 转码过程中出现错误 - KSYTranscodeErrorCode_Transcoding_Failed + //apple_ref/c/econst/KSYNetStateCode_UNREACHABLE + 网络变为不可用 + KSYNetStateCode_UNREACHABLE - KSYTranscoder.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYNetStateCode_REACHABLE + 网络变为可用 + KSYNetStateCode_REACHABLE + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens75.xml b/doc/docset/Contents/Resources/Tokens75.xml index 1181aa0..1e08d0f 100644 --- a/doc/docset/Contents/Resources/Tokens75.xml +++ b/doc/docset/Contents/Resources/Tokens75.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYTranscodeState - 转码状态 - KSYTranscoder.h + //apple_ref/c/tdef/KSYNetworkStatus + Create NS_ENUM macro if it does not exist on the targeted version of iOS or OS X. + KSYReachability.h @@ -14,41 +14,31 @@ - //apple_ref/c/econst/KSYTranscodeState_Idle - 初始状态 - KSYTranscodeState_Idle + //apple_ref/c/econst/KSYNotReachable + + KSYNotReachable - KSYTranscoder.h + KSYReachability.h - //apple_ref/c/econst/KSYTranscodeState_Transcoding - 转码中 - KSYTranscodeState_Transcoding + //apple_ref/c/econst/KSYReachableViaWiFi + + KSYReachableViaWiFi - KSYTranscoder.h + KSYReachability.h - //apple_ref/c/econst/KSYTranscodeState_Completed - 转码完成 - KSYTranscodeState_Completed + //apple_ref/c/econst/KSYReachableViaWWAN + + KSYReachableViaWWAN - KSYTranscoder.h - - - - - - //apple_ref/c/econst/KSYTranscodeState_Error - 转码失败 - KSYTranscodeState_Error - - KSYTranscoder.h + KSYReachability.h diff --git a/doc/docset/Contents/Resources/Tokens76.xml b/doc/docset/Contents/Resources/Tokens76.xml index d37d46f..90b8a45 100644 --- a/doc/docset/Contents/Resources/Tokens76.xml +++ b/doc/docset/Contents/Resources/Tokens76.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYVideoCodec - 视频编码器类型 - KSYTypeDef.h + //apple_ref/c/tdef/KSYOverlapType + 转场部分重叠类型 + KSYTransitionFilter.h @@ -14,61 +14,41 @@ - //apple_ref/c/econst/KSYVideoCodec_X264 - 视频编码器 - h264 软件编码器 - KSYVideoCodec_X264 + //apple_ref/c/econst/KSYOverlapType_BothVideo + 前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠 + KSYOverlapType_BothVideo - KSYTypeDef.h + KSYTransitionFilter.h - //apple_ref/c/econst/KSYVideoCodec_QY265 - 视频编码器 - KSY265 软件编码器 - KSYVideoCodec_QY265 + //apple_ref/c/econst/KSYOverlapType_LastFrameVideo + 第一段的最后一帧和第二段的视频的前n帧重叠 + KSYOverlapType_LastFrameVideo - KSYTypeDef.h + KSYTransitionFilter.h - //apple_ref/c/econst/KSYVideoCodec_VT264 - 视频编码器 - iOS VT264硬件编码器 (iOS 8.0以上支持) - KSYVideoCodec_VT264 + //apple_ref/c/econst/KSYOverlapType_VideoFirstFrame + 第一段的最后n帧 和 第二段的第一帧重叠 + KSYOverlapType_VideoFirstFrame - KSYTypeDef.h + KSYTransitionFilter.h - //apple_ref/c/econst/KSYVideoCodec_VT265 - 视频编码器 - iOS VT265硬件编码器 (iOS 11.0 以上) - KSYVideoCodec_VT265 + //apple_ref/c/econst/KSYOverlapType_VideoOnly + 只有前一段的最后n帧 + KSYOverlapType_VideoOnly - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoCodec_AUTO - 视频编码器 - 由SDK自动选择( VT264 > X264) - KSYVideoCodec_AUTO - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoCodec_GIF - 视频编码器 - gif - KSYVideoCodec_GIF - - KSYTypeDef.h + KSYTransitionFilter.h diff --git a/doc/docset/Contents/Resources/Tokens77.xml b/doc/docset/Contents/Resources/Tokens77.xml index 88e271d..c35fcbd 100644 --- a/doc/docset/Contents/Resources/Tokens77.xml +++ b/doc/docset/Contents/Resources/Tokens77.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSYVideoDimension - 采集分辨率 - KSYTypeDef.h + //apple_ref/c/tdef/KSYPlayRecordScheme + 录制方案 + KSYUIRecorderKit.h @@ -14,81 +14,21 @@ - //apple_ref/c/econst/KSYVideoDimension_16_9__1280x720 - 16 : 9 宽高比,1280 x 720 分辨率 - KSYVideoDimension_16_9__1280x720 + //apple_ref/c/econst/KSYPlayerRecord_PicMix_Scheme + UI+Video混合方案 + KSYPlayerRecord_PicMix_Scheme - KSYTypeDef.h + KSYUIRecorderKit.h - //apple_ref/c/econst/KSYVideoDimension_16_9__960x540 - 16 : 9 宽高比,960 x 540 分辨率 - KSYVideoDimension_16_9__960x540 + //apple_ref/c/econst/KSYPlayerRecord_ScreenShot_Scheme + 截屏式方案 + KSYPlayerRecord_ScreenShot_Scheme - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_4_3__640x480 - 4 : 3 宽高比,640 x 480 分辨率 - KSYVideoDimension_4_3__640x480 - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_16_9__640x360 - 16 : 9 宽高比,640 x 360 分辨率 - KSYVideoDimension_16_9__640x360 - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_5_4__352x288 - 4 : 3 宽高比,320 x 240 分辨率 - KSYVideoDimension_5_4__352x288 - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_UserDefine_Scale - 缩放自定义分辨率 从设备支持的最近分辨率缩放获得, 若设备没有对应宽高比的分辨率,则裁剪后进行缩放 - KSYVideoDimension_UserDefine_Scale - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_UserDefine_Crop - 裁剪自定义分辨率 从设备支持的最近分辨率裁剪获得 - KSYVideoDimension_UserDefine_Crop - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoDimension_Default - 默认分辨率,默认为 4 : 3 宽高比,640 x 480 分辨率 - KSYVideoDimension_Default - - KSYTypeDef.h + KSYUIRecorderKit.h diff --git a/doc/docset/Contents/Resources/Tokens78.xml b/doc/docset/Contents/Resources/Tokens78.xml index 92b2f62..3252d6d 100644 --- a/doc/docset/Contents/Resources/Tokens78.xml +++ b/doc/docset/Contents/Resources/Tokens78.xml @@ -1,10 +1,10 @@ - + - //apple_ref/c/tdef/KSYVideoEncodePerformance - 视频编码性能档次 (视频质量 和 设备资源之间的权衡) + //apple_ref/c/tdef/KSYRecScene + 录制场景 KSYTypeDef.h @@ -14,9 +14,9 @@ - //apple_ref/c/econst/KSYVideoEncodePer_LowPower - 低功耗: cpu资源消耗低一些,视频质量差一些 - KSYVideoEncodePer_LowPower + //apple_ref/c/econst/KSYRecScene_ConstantBitRate + 恒定码率场景 + KSYRecScene_ConstantBitRate KSYTypeDef.h @@ -24,19 +24,9 @@ - //apple_ref/c/econst/KSYVideoEncodePer_Balance - 均衡档次: 性价比比较高 - KSYVideoEncodePer_Balance - - KSYTypeDef.h - - - - - - //apple_ref/c/econst/KSYVideoEncodePer_HighPerformance - 高性能: 画面质量高 - KSYVideoEncodePer_HighPerformance + //apple_ref/c/econst/KSYRecScene_ConstantQuality + 恒定质量场景 + KSYRecScene_ConstantQuality KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens79.xml b/doc/docset/Contents/Resources/Tokens79.xml index bf64d84..19bf54f 100644 --- a/doc/docset/Contents/Resources/Tokens79.xml +++ b/doc/docset/Contents/Resources/Tokens79.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/KSY_NETTRACKER_ACTION - 探测方式 - KSYNetTracker.h + //apple_ref/c/tdef/KSYRecordError + 旁路录制错误码 + KSYTypeDef.h @@ -14,21 +14,41 @@ - //apple_ref/c/econst/KSY_NETTRACKER_ACTION_MTR - mtr方式,探测链路上每个节点 - KSY_NETTRACKER_ACTION_MTR + //apple_ref/c/econst/KSYRecordErrorNone + 无错误 + KSYRecordErrorNone - KSYNetTracker.h + KSYTypeDef.h - //apple_ref/c/econst/KSY_NETTRACKER_ACTION_PING - ping方式,直接探测终点 - KSY_NETTRACKER_ACTION_PING + //apple_ref/c/econst/KSYRecordErrorPathInvalid + 地址错误 + KSYRecordErrorPathInvalid - KSYNetTracker.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYRecordErrorFormatNotSupport + 格式不支持 + KSYRecordErrorFormatNotSupport + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYRecordErrorInternal + 内部错误 + KSYRecordErrorInternal + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens80.xml b/doc/docset/Contents/Resources/Tokens80.xml index 730763e..8c2f6bf 100644 --- a/doc/docset/Contents/Resources/Tokens80.xml +++ b/doc/docset/Contents/Resources/Tokens80.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MEDIAINFO_CODEC_ID - 音视频格式 - KSYMediaInfo.h + //apple_ref/c/tdef/KSYRecordState + 旁路录制状态 + KSYTypeDef.h @@ -14,151 +14,41 @@ - //apple_ref/c/econst/MEDIAINFO_CODEC_ID_UNKNOWN - 未知的音视频编码格式 - MEDIAINFO_CODEC_ID_UNKNOWN + //apple_ref/c/econst/KSYRecordStateIdle + 初始状态 + KSYRecordStateIdle - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_CODEC_MPEG2VIDEO - 视频编码格式MPEG2 - MEDIAINFO_CODEC_MPEG2VIDEO + //apple_ref/c/econst/KSYRecordStateRecording + 录像中 + KSYRecordStateRecording - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_CODEC_MPEG4 - 视频编码格式MPEG4 - MEDIAINFO_CODEC_MPEG4 + //apple_ref/c/econst/KSYRecordStateStopped + 录像停止 + KSYRecordStateStopped - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_CODEC_MJPEG - 视频编码格式MJPEG - MEDIAINFO_CODEC_MJPEG + //apple_ref/c/econst/KSYRecordStateError + 录像失败 + KSYRecordStateError - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_JPEG2000 - 视频编码格式JPEG2000 - MEDIAINFO_CODEC_JPEG2000 - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_H264 - 视频编码格式H264 - MEDIAINFO_CODEC_H264 - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_HEVC - 视频编码格式HEVC - MEDIAINFO_CODEC_HEVC - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_VC1 - 视频编码格式VC1 - MEDIAINFO_CODEC_VC1 - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_ID_FIRST_AUDIO - 首个音频编码格式定义(不对应具体的编码格式) - MEDIAINFO_CODEC_ID_FIRST_AUDIO - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_AAC - 音频编码格式AAC - MEDIAINFO_CODEC_AAC - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_AC3 - 音频编码格式AC3 - MEDIAINFO_CODEC_AC3 - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_MP3 - 音频编码格式MP3 - MEDIAINFO_CODEC_MP3 - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_PCM - 音频编码格式PCM - MEDIAINFO_CODEC_PCM - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_DTS - 音频编码格式DTS - MEDIAINFO_CODEC_DTS - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_CODEC_NELLYMOSER - 音频编码格式NELLYMOSER - MEDIAINFO_CODEC_NELLYMOSER - - KSYMediaInfo.h + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens81.xml b/doc/docset/Contents/Resources/Tokens81.xml index 524bee5..44657f6 100644 --- a/doc/docset/Contents/Resources/Tokens81.xml +++ b/doc/docset/Contents/Resources/Tokens81.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MEDIAINFO_MUX_TYPE - 封装格式 - KSYMediaInfo.h + //apple_ref/c/tdef/KSYShakeType + 抖动类型 + KSYShakeFilter.h @@ -14,131 +14,21 @@ - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_UNKNOWN - 未知的文件封装格式 - MEDIAINFO_MUXTYPE_UNKNOWN + //apple_ref/c/econst/KSYShakeType_ZOOM + 放大抖动效果 + KSYShakeType_ZOOM - KSYMediaInfo.h + KSYShakeFilter.h - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MP2T - 封装格式为TS - MEDIAINFO_MUXTYPE_MP2T + //apple_ref/c/econst/KSYShakeType_Color + 彩色抖动效果 + KSYShakeType_Color - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MOV - 封装格式为MOV - MEDIAINFO_MUXTYPE_MOV - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_AVI - 封装格式为AVI - MEDIAINFO_MUXTYPE_AVI - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_FLV - 封装格式为FLV - MEDIAINFO_MUXTYPE_FLV - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MKV - 封装格式为MKV - MEDIAINFO_MUXTYPE_MKV - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_ASF - 封装格式为ASF - MEDIAINFO_MUXTYPE_ASF - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_RM - 封装格式为RM - MEDIAINFO_MUXTYPE_RM - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_WAV - 封装格式为WAV - MEDIAINFO_MUXTYPE_WAV - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_OGG - 封装格式为OGG - MEDIAINFO_MUXTYPE_OGG - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_APE - 封装格式为APE - MEDIAINFO_MUXTYPE_APE - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_RAWVIDEO - 封装格式为RAWVIDEO - MEDIAINFO_MUXTYPE_RAWVIDEO - - KSYMediaInfo.h - - - - - - //apple_ref/c/econst/MEDIAINFO_MUXTYPE_HLS - 封装格式为HLS - MEDIAINFO_MUXTYPE_HLS - - KSYMediaInfo.h + KSYShakeFilter.h diff --git a/doc/docset/Contents/Resources/Tokens82.xml b/doc/docset/Contents/Resources/Tokens82.xml index 3b15c99..6ebef7a 100644 --- a/doc/docset/Contents/Resources/Tokens82.xml +++ b/doc/docset/Contents/Resources/Tokens82.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MEDIAINFO_SAMPLE_FMT - 音频采样格式 - KSYMediaInfo.h + //apple_ref/c/tdef/KSYStreamErrorCode + 推流错误码,用于指示推流失败的原因 + KSYTypeDef.h @@ -14,121 +14,361 @@ - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_UNKNOWN - 未知的音频采样格式 - MEDIAINFO_SAMPLE_FMT_UNKNOWN + //apple_ref/c/econst/KSYStreamErrorCode_NONE + 正常无错误 + KSYStreamErrorCode_NONE - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_U8 - 音频采样格式为unsigned 8 bits - MEDIAINFO_SAMPLE_FMT_U8 + //apple_ref/c/econst/KSYStreamErrorCode_KSYAUTHFAILED + (obsolete) + KSYStreamErrorCode_KSYAUTHFAILED - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S16 - 音频采样格式为signed 16 bits - MEDIAINFO_SAMPLE_FMT_S16 + //apple_ref/c/econst/__deprecated_enum_msg + + __deprecated_enum_msg - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S32 - 音频采样格式为signed 32 bits - MEDIAINFO_SAMPLE_FMT_S32 + //apple_ref/c/econst/( + + ( - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_FLT - 音频采样格式为float - MEDIAINFO_SAMPLE_FMT_FLT + //apple_ref/c/econst/"auth removed" + + "auth removed" - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_DBL - 音频采样格式为double - MEDIAINFO_SAMPLE_FMT_DBL + //apple_ref/c/econst/) + + ) - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_U8P - 音频采样格式为unsigned 8 bits, planar - MEDIAINFO_SAMPLE_FMT_U8P + //apple_ref/c/econst/KSYStreamErrorCode_ENCODE_FRAMES_FAILED + 当前帧编码失败 + KSYStreamErrorCode_ENCODE_FRAMES_FAILED - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S16P - 音频采样格式为signed 16 bits, planar - MEDIAINFO_SAMPLE_FMT_S16P + //apple_ref/c/econst/KSYStreamErrorCode_CODEC_OPEN_FAILED + 无法打开配置指示的CODEC + KSYStreamErrorCode_CODEC_OPEN_FAILED - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S32P - 音频采样格式为signed 32 bits, planar - MEDIAINFO_SAMPLE_FMT_S32P + //apple_ref/c/econst/KSYStreamErrorCode_CONNECT_FAILED + 连接出错,检查地址 + KSYStreamErrorCode_CONNECT_FAILED - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_FLTP - 音频采样格式为float, planar - MEDIAINFO_SAMPLE_FMT_FLTP + //apple_ref/c/econst/KSYStreamErrorCode_CONNECT_BREAK + 网络连接中断 + KSYStreamErrorCode_CONNECT_BREAK - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_DBLP - 音频采样格式为double, planar - MEDIAINFO_SAMPLE_FMT_DBLP + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_NonExistDomain + rtmp 推流域名不存在 (KSY 自定义) + KSYStreamErrorCode_RTMP_NonExistDomain - KSYMediaInfo.h + KSYTypeDef.h - //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_NB - 音频采样格式为Number of sample formats - MEDIAINFO_SAMPLE_FMT_NB + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_NonExistApplication + rtmp 应用名不存在(KSY 自定义) + KSYStreamErrorCode_RTMP_NonExistApplication - KSYMediaInfo.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_AlreadyExistStreamName + rtmp 流名已存在(KSY 自定义) + KSYStreamErrorCode_RTMP_AlreadyExistStreamName + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_ForbiddenByBlacklist + rtmp 被黑名单拒绝(KSY 自定义) + KSYStreamErrorCode_RTMP_ForbiddenByBlacklist + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InternalError + rtmp 内部错误(KSY 自定义) + KSYStreamErrorCode_RTMP_InternalError + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_URLExpired + rtmp URL 地址已过期(KSY 自定义) + KSYStreamErrorCode_RTMP_URLExpired + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_SignatureDoesNotMatch + rtmp URL 地址签名错误(KSY 自定义) + KSYStreamErrorCode_RTMP_SignatureDoesNotMatch + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InvalidAccessKeyId + rtmp URL 中AccessKeyId非法(KSY 自定义) + KSYStreamErrorCode_RTMP_InvalidAccessKeyId + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_BadParams + rtmp URL 中参数错误(KSY 自定义) + KSYStreamErrorCode_RTMP_BadParams + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_ForbiddenByRegion + rtmp URL 中的推流不在发布点内(KSY 自定义) + KSYStreamErrorCode_RTMP_ForbiddenByRegion + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_FRAMES_THRESHOLD + (obsolete) + KSYStreamErrorCode_FRAMES_THRESHOLD + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_NO_INPUT_SAMPLE + (obsolete) + KSYStreamErrorCode_NO_INPUT_SAMPLE + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_DNS_Parse_failed + 对于URL中的域名解析失败 + KSYStreamErrorCode_DNS_Parse_failed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_Connect_Server_failed + 对于URL对应的服务器连接失败(无法建立TCP连接) + KSYStreamErrorCode_Connect_Server_failed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_Publish_failed + 跟RTMP服务器完成握手后,向{appname}/{streamname} 推流失败 + KSYStreamErrorCode_RTMP_Publish_failed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_AV_SYNC_ERROR + 音视频同步失败 (输入的音频和视频的时间戳的差值超过5s) + KSYStreamErrorCode_AV_SYNC_ERROR + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_INVALID_ADDRESS + 非法地址(地址为空或url中的协议或本地文件的后缀SDK不支持, 请检查) + KSYStreamErrorCode_INVALID_ADDRESS + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_NETWORK_UNREACHABLE + 网络不通 + KSYStreamErrorCode_NETWORK_UNREACHABLE + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_GetUserIdFailed + 获取user id失败 (KSY 自定义) + KSYStreamErrorCode_RTMP_GetUserIdFailed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch + AK和user id不匹配 (KSY 自定义) + KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_GetServerInfoFailed + 获取服务器信息失败 (KSY 自定义) + KSYStreamErrorCode_RTMP_GetServerInfoFailed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_IllegalOutsideUrl + 非法的外部url (KSY 自定义) + KSYStreamErrorCode_RTMP_IllegalOutsideUrl + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_OutsideAuthFailed + 外部鉴权失败 (KSY 自定义) + KSYStreamErrorCode_RTMP_OutsideAuthFailed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_SimpleAuthFailed + 简单鉴权失败(KSY 自定义) + KSYStreamErrorCode_RTMP_SimpleAuthFailed + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_InvalidAuthType + 无效的鉴权类型 (KSY 自定义) + KSYStreamErrorCode_RTMP_InvalidAuthType + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamErrorCode_RTMP_IllegalUserId + 非法的user id (KSY 自定义) + KSYStreamErrorCode_RTMP_IllegalUserId + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens83.xml b/doc/docset/Contents/Resources/Tokens83.xml index 4cfcb96..5271249 100644 --- a/doc/docset/Contents/Resources/Tokens83.xml +++ b/doc/docset/Contents/Resources/Tokens83.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieAudioPan - 立体声平衡 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYStreamState + 推流状态 + KSYTypeDef.h @@ -14,31 +14,51 @@ - //apple_ref/c/econst/MPMovieAudioPan_Left - 完全左声道 - MPMovieAudioPan_Left + //apple_ref/c/econst/KSYStreamStateIdle + 初始化时状态为空闲 + KSYStreamStateIdle - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/MPMovieAudioPan_Stereo - 左右声道平衡 - MPMovieAudioPan_Stereo + //apple_ref/c/econst/KSYStreamStateConnecting + 连接中 + KSYStreamStateConnecting - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/MPMovieAudioPan_Right - 完全右声道 - MPMovieAudioPan_Right + //apple_ref/c/econst/KSYStreamStateConnected + 已连接 + KSYStreamStateConnected - KSYMoviePlayerDefines.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamStateDisconnecting + 断开连接中 + KSYStreamStateDisconnecting + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYStreamStateError + 推流出错 + KSYStreamStateError + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens84.xml b/doc/docset/Contents/Resources/Tokens84.xml index 0266a0e..7a3a43d 100644 --- a/doc/docset/Contents/Resources/Tokens84.xml +++ b/doc/docset/Contents/Resources/Tokens84.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieMetaType - Meta类型 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYTPushDirection + 推出转场的方向 + KSYTransitionPushFilter.h @@ -14,41 +14,41 @@ - //apple_ref/c/econst/MPMovieMetaType_Media - 当前播放文件的Meta - MPMovieMetaType_Media + //apple_ref/c/econst/KSYTPushDirection_Up + 前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠 + KSYTPushDirection_Up - KSYMoviePlayerDefines.h + KSYTransitionPushFilter.h - //apple_ref/c/econst/MPMovieMetaType_Video - 当前播放的视频Meta - MPMovieMetaType_Video + //apple_ref/c/econst/KSYTPushDirection_Down + 第一段的最后一帧和第二段的视频的前n帧重叠 + KSYTPushDirection_Down - KSYMoviePlayerDefines.h + KSYTransitionPushFilter.h - //apple_ref/c/econst/MPMovieMetaType_Audio - 当前播放的音频Meta - MPMovieMetaType_Audio + //apple_ref/c/econst/KSYTPushDirection_Left + 第一段的最后n帧 和 第二段的第一帧重叠 + KSYTPushDirection_Left - KSYMoviePlayerDefines.h + KSYTransitionPushFilter.h - //apple_ref/c/econst/MPMovieMetaType_Subtitle - 当前播放的字幕Meta - MPMovieMetaType_Subtitle + //apple_ref/c/econst/KSYTPushDirection_Right + 只有前一段的最后n帧 + KSYTPushDirection_Right - KSYMoviePlayerDefines.h + KSYTransitionPushFilter.h diff --git a/doc/docset/Contents/Resources/Tokens85.xml b/doc/docset/Contents/Resources/Tokens85.xml index ccc9195..13c9d35 100644 --- a/doc/docset/Contents/Resources/Tokens85.xml +++ b/doc/docset/Contents/Resources/Tokens85.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieReloadMode - reload模式 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYTranscodeErrorCode + 转码错误码,用于说明转码失败的原因 + KSYTranscoder.h @@ -14,21 +14,91 @@ - //apple_ref/c/econst/MPMovieReloadMode_Fast - 加速播放模式 - MPMovieReloadMode_Fast + //apple_ref/c/econst/KSYTranscodeErrorCode_None + 正常无错误 + KSYTranscodeErrorCode_None - KSYMoviePlayerDefines.h + KSYTranscoder.h - //apple_ref/c/econst/MPMovieReloadMode_Accurate - 精确检测模式 - MPMovieReloadMode_Accurate + //apple_ref/c/econst/KSYTranscodeErrorCode_InvalidAddress + 无效的文件地址(输入或输出地址为空) + KSYTranscodeErrorCode_InvalidAddress - KSYMoviePlayerDefines.h + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_InputFile_OpenFailed + 打开输入文件失败 + KSYTranscodeErrorCode_InputFile_OpenFailed + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_InvalidData + 无效的媒体数据 + KSYTranscodeErrorCode_InvalidData + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_UnsupportedFormat + 不支持的输出文件格式 + KSYTranscodeErrorCode_OutputFile_UnsupportedFormat + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_OpenFailed + 打开输出文件失败 + KSYTranscodeErrorCode_OutputFile_OpenFailed + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_AddStreamFailed + 输出文件添加流失败 + KSYTranscodeErrorCode_OutputFile_AddStreamFailed + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_OutputFile_StartWriteFailed + 输出文件头写入失败(通常为不支持的codec) + KSYTranscodeErrorCode_OutputFile_StartWriteFailed + + KSYTranscoder.h + + + + + + //apple_ref/c/econst/KSYTranscodeErrorCode_Transcoding_Failed + 转码过程中出现错误 + KSYTranscodeErrorCode_Transcoding_Failed + + KSYTranscoder.h diff --git a/doc/docset/Contents/Resources/Tokens86.xml b/doc/docset/Contents/Resources/Tokens86.xml index ee65e24..a6e78d5 100644 --- a/doc/docset/Contents/Resources/Tokens86.xml +++ b/doc/docset/Contents/Resources/Tokens86.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieStatus - status类型 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYTranscodeState + 转码状态 + KSYTranscoder.h @@ -14,51 +14,41 @@ - //apple_ref/c/econst/MPMovieStatusVideoDecodeWrong - 视频解码出错 - MPMovieStatusVideoDecodeWrong + //apple_ref/c/econst/KSYTranscodeState_Idle + 初始状态 + KSYTranscodeState_Idle - KSYMoviePlayerDefines.h + KSYTranscoder.h - //apple_ref/c/econst/MPMovieStatusAudioDecodeWrong - 音频解码出错 - MPMovieStatusAudioDecodeWrong + //apple_ref/c/econst/KSYTranscodeState_Transcoding + 转码中 + KSYTranscodeState_Transcoding - KSYMoviePlayerDefines.h + KSYTranscoder.h - //apple_ref/c/econst/MPMovieStatusHWCodecUsed - 使用硬件解码 - MPMovieStatusHWCodecUsed + //apple_ref/c/econst/KSYTranscodeState_Completed + 转码完成 + KSYTranscodeState_Completed - KSYMoviePlayerDefines.h + KSYTranscoder.h - //apple_ref/c/econst/MPMovieStatusSWCodecUsed - 使用软件解码 - MPMovieStatusSWCodecUsed + //apple_ref/c/econst/KSYTranscodeState_Error + 转码失败 + KSYTranscodeState_Error - KSYMoviePlayerDefines.h - - - - - - //apple_ref/c/econst/MPMovieStatusDLCodecUsed - 使用AVSampleBufferDisplayLayer解码渲染 - MPMovieStatusDLCodecUsed - - KSYMoviePlayerDefines.h + KSYTranscoder.h diff --git a/doc/docset/Contents/Resources/Tokens87.xml b/doc/docset/Contents/Resources/Tokens87.xml index e8edfc0..6460d98 100644 --- a/doc/docset/Contents/Resources/Tokens87.xml +++ b/doc/docset/Contents/Resources/Tokens87.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieVideoDecoderMode - 视频解码模式 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYTransitionType + 转场类型 + KSYTransitionFilter.h @@ -14,41 +14,101 @@ - //apple_ref/c/econst/MPMovieVideoDecoderMode_Software - 视频解码方式采用软解 - MPMovieVideoDecoderMode_Software + //apple_ref/c/econst/KSYTransitionTypeNone + 关闭转场 + KSYTransitionTypeNone - KSYMoviePlayerDefines.h + KSYTransitionFilter.h - //apple_ref/c/econst/MPMovieVideoDecoderMode_Hardware - 视频解码方式采用硬解 - MPMovieVideoDecoderMode_Hardware + //apple_ref/c/econst/KSYTransitionTypeFadesInOut + 渐入淡出 + KSYTransitionTypeFadesInOut - KSYMoviePlayerDefines.h + KSYTransitionFilter.h - //apple_ref/c/econst/MPMovieVideoDecoderMode_AUTO - 自动选择解码方式,8.0以上的系统优先选择硬解 - MPMovieVideoDecoderMode_AUTO + //apple_ref/c/econst/KSYTransitionTypeFlashBlack + 闪黑 + KSYTransitionTypeFlashBlack - KSYMoviePlayerDefines.h + KSYTransitionFilter.h - //apple_ref/c/econst/MPMovieVideoDecoderMode_DisplayLayer - 使用系统接口进行解码和渲染,只适用于8.0及以上系统,低于8.0的系统自动使用软解 - MPMovieVideoDecoderMode_DisplayLayer + //apple_ref/c/econst/KSYTransitionTypeFlashWhite + 闪白 + KSYTransitionTypeFlashWhite - KSYMoviePlayerDefines.h + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypeBlurOut + 清晰变模糊 + KSYTransitionTypeBlurOut + + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypeBlurIn + 模糊变清晰 + KSYTransitionTypeBlurIn + + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypePushUp + 上推 + KSYTransitionTypePushUp + + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypePushDown + 下推 + KSYTransitionTypePushDown + + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypePushLeft + 左推 + KSYTransitionTypePushLeft + + KSYTransitionFilter.h + + + + + + //apple_ref/c/econst/KSYTransitionTypePushRight + 右推 + KSYTransitionTypePushRight + + KSYTransitionFilter.h diff --git a/doc/docset/Contents/Resources/Tokens88.xml b/doc/docset/Contents/Resources/Tokens88.xml index 2ff6ac2..07e789b 100644 --- a/doc/docset/Contents/Resources/Tokens88.xml +++ b/doc/docset/Contents/Resources/Tokens88.xml @@ -1,11 +1,11 @@ - + - //apple_ref/c/tdef/MPMovieVideoDeinterlaceMode - 视频反交错模式 - KSYMoviePlayerDefines.h + //apple_ref/c/tdef/KSYVideoCodec + 视频编码器类型 + KSYTypeDef.h @@ -14,21 +14,61 @@ - //apple_ref/c/econst/MPMovieVideoDeinterlaceMode_None - 关闭反交错 - MPMovieVideoDeinterlaceMode_None + //apple_ref/c/econst/KSYVideoCodec_X264 + 视频编码器 - h264 软件编码器 + KSYVideoCodec_X264 - KSYMoviePlayerDefines.h + KSYTypeDef.h - //apple_ref/c/econst/MPMovieVideoDeinterlaceMode_Auto - 自动判断是否打开反交错 - MPMovieVideoDeinterlaceMode_Auto + //apple_ref/c/econst/KSYVideoCodec_QY265 + 视频编码器 - KSY265 软件编码器 + KSYVideoCodec_QY265 - KSYMoviePlayerDefines.h + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoCodec_VT264 + 视频编码器 - iOS VT264硬件编码器 (iOS 8.0以上支持) + KSYVideoCodec_VT264 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoCodec_VT265 + 视频编码器 - iOS VT265硬件编码器 (iOS 11.0 以上) + KSYVideoCodec_VT265 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoCodec_AUTO + 视频编码器 - 由SDK自动选择( VT264 > X264) + KSYVideoCodec_AUTO + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoCodec_GIF + 视频编码器 - gif + KSYVideoCodec_GIF + + KSYTypeDef.h diff --git a/doc/docset/Contents/Resources/Tokens89.xml b/doc/docset/Contents/Resources/Tokens89.xml index 3fc40be..78a88c5 100644 --- a/doc/docset/Contents/Resources/Tokens89.xml +++ b/doc/docset/Contents/Resources/Tokens89.xml @@ -1,8 +1,97 @@ - + + + //apple_ref/c/tdef/KSYVideoDimension + 采集分辨率 + KSYTypeDef.h + + + + + + + + //apple_ref/c/econst/KSYVideoDimension_16_9__1280x720 + 16 : 9 宽高比,1280 x 720 分辨率 + KSYVideoDimension_16_9__1280x720 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_16_9__960x540 + 16 : 9 宽高比,960 x 540 分辨率 + KSYVideoDimension_16_9__960x540 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_4_3__640x480 + 4 : 3 宽高比,640 x 480 分辨率 + KSYVideoDimension_4_3__640x480 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_16_9__640x360 + 16 : 9 宽高比,640 x 360 分辨率 + KSYVideoDimension_16_9__640x360 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_5_4__352x288 + 4 : 3 宽高比,320 x 240 分辨率 + KSYVideoDimension_5_4__352x288 + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_UserDefine_Scale + 缩放自定义分辨率 从设备支持的最近分辨率缩放获得, 若设备没有对应宽高比的分辨率,则裁剪后进行缩放 + KSYVideoDimension_UserDefine_Scale + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_UserDefine_Crop + 裁剪自定义分辨率 从设备支持的最近分辨率裁剪获得 + KSYVideoDimension_UserDefine_Crop + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoDimension_Default + 默认分辨率,默认为 4 : 3 宽高比,640 x 480 分辨率 + KSYVideoDimension_Default + + KSYTypeDef.h + + + diff --git a/doc/docset/Contents/Resources/Tokens90.xml b/doc/docset/Contents/Resources/Tokens90.xml index 3fc40be..ea3dc97 100644 --- a/doc/docset/Contents/Resources/Tokens90.xml +++ b/doc/docset/Contents/Resources/Tokens90.xml @@ -1,8 +1,47 @@ - + + + //apple_ref/c/tdef/KSYVideoEncodePerformance + 视频编码性能档次 (视频质量 和 设备资源之间的权衡) + KSYTypeDef.h + + + + + + + + //apple_ref/c/econst/KSYVideoEncodePer_LowPower + 低功耗: cpu资源消耗低一些,视频质量差一些 + KSYVideoEncodePer_LowPower + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoEncodePer_Balance + 均衡档次: 性价比比较高 + KSYVideoEncodePer_Balance + + KSYTypeDef.h + + + + + + //apple_ref/c/econst/KSYVideoEncodePer_HighPerformance + 高性能: 画面质量高 + KSYVideoEncodePer_HighPerformance + + KSYTypeDef.h + + + diff --git a/doc/docset/Contents/Resources/Tokens91.xml b/doc/docset/Contents/Resources/Tokens91.xml index 3fc40be..a597007 100644 --- a/doc/docset/Contents/Resources/Tokens91.xml +++ b/doc/docset/Contents/Resources/Tokens91.xml @@ -1,8 +1,37 @@ - + + + //apple_ref/c/tdef/KSY_NETTRACKER_ACTION + 探测方式 + KSYNetTracker.h + + + + + + + + //apple_ref/c/econst/KSY_NETTRACKER_ACTION_MTR + mtr方式,探测链路上每个节点 + KSY_NETTRACKER_ACTION_MTR + + KSYNetTracker.h + + + + + + //apple_ref/c/econst/KSY_NETTRACKER_ACTION_PING + ping方式,直接探测终点 + KSY_NETTRACKER_ACTION_PING + + KSYNetTracker.h + + + diff --git a/doc/docset/Contents/Resources/Tokens92.xml b/doc/docset/Contents/Resources/Tokens92.xml index 3fc40be..56b812b 100644 --- a/doc/docset/Contents/Resources/Tokens92.xml +++ b/doc/docset/Contents/Resources/Tokens92.xml @@ -1,8 +1,167 @@ - + + + //apple_ref/c/tdef/MEDIAINFO_CODEC_ID + 音视频格式 + KSYMediaInfo.h + + + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_ID_UNKNOWN + 未知的音视频编码格式 + MEDIAINFO_CODEC_ID_UNKNOWN + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_MPEG2VIDEO + 视频编码格式MPEG2 + MEDIAINFO_CODEC_MPEG2VIDEO + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_MPEG4 + 视频编码格式MPEG4 + MEDIAINFO_CODEC_MPEG4 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_MJPEG + 视频编码格式MJPEG + MEDIAINFO_CODEC_MJPEG + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_JPEG2000 + 视频编码格式JPEG2000 + MEDIAINFO_CODEC_JPEG2000 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_H264 + 视频编码格式H264 + MEDIAINFO_CODEC_H264 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_HEVC + 视频编码格式HEVC + MEDIAINFO_CODEC_HEVC + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_VC1 + 视频编码格式VC1 + MEDIAINFO_CODEC_VC1 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_ID_FIRST_AUDIO + 首个音频编码格式定义(不对应具体的编码格式) + MEDIAINFO_CODEC_ID_FIRST_AUDIO + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_AAC + 音频编码格式AAC + MEDIAINFO_CODEC_AAC + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_AC3 + 音频编码格式AC3 + MEDIAINFO_CODEC_AC3 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_MP3 + 音频编码格式MP3 + MEDIAINFO_CODEC_MP3 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_PCM + 音频编码格式PCM + MEDIAINFO_CODEC_PCM + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_DTS + 音频编码格式DTS + MEDIAINFO_CODEC_DTS + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_CODEC_NELLYMOSER + 音频编码格式NELLYMOSER + MEDIAINFO_CODEC_NELLYMOSER + + KSYMediaInfo.h + + + diff --git a/doc/docset/Contents/Resources/Tokens93.xml b/doc/docset/Contents/Resources/Tokens93.xml index 3fc40be..ecaefee 100644 --- a/doc/docset/Contents/Resources/Tokens93.xml +++ b/doc/docset/Contents/Resources/Tokens93.xml @@ -1,8 +1,147 @@ - + + + //apple_ref/c/tdef/MEDIAINFO_MUX_TYPE + 封装格式 + KSYMediaInfo.h + + + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_UNKNOWN + 未知的文件封装格式 + MEDIAINFO_MUXTYPE_UNKNOWN + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MP2T + 封装格式为TS + MEDIAINFO_MUXTYPE_MP2T + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MOV + 封装格式为MOV + MEDIAINFO_MUXTYPE_MOV + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_AVI + 封装格式为AVI + MEDIAINFO_MUXTYPE_AVI + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_FLV + 封装格式为FLV + MEDIAINFO_MUXTYPE_FLV + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_MKV + 封装格式为MKV + MEDIAINFO_MUXTYPE_MKV + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_ASF + 封装格式为ASF + MEDIAINFO_MUXTYPE_ASF + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_RM + 封装格式为RM + MEDIAINFO_MUXTYPE_RM + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_WAV + 封装格式为WAV + MEDIAINFO_MUXTYPE_WAV + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_OGG + 封装格式为OGG + MEDIAINFO_MUXTYPE_OGG + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_APE + 封装格式为APE + MEDIAINFO_MUXTYPE_APE + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_RAWVIDEO + 封装格式为RAWVIDEO + MEDIAINFO_MUXTYPE_RAWVIDEO + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_MUXTYPE_HLS + 封装格式为HLS + MEDIAINFO_MUXTYPE_HLS + + KSYMediaInfo.h + + + diff --git a/doc/docset/Contents/Resources/Tokens94.xml b/doc/docset/Contents/Resources/Tokens94.xml index 3fc40be..5c90b76 100644 --- a/doc/docset/Contents/Resources/Tokens94.xml +++ b/doc/docset/Contents/Resources/Tokens94.xml @@ -1,8 +1,137 @@ - + + + //apple_ref/c/tdef/MEDIAINFO_SAMPLE_FMT + 音频采样格式 + KSYMediaInfo.h + + + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_UNKNOWN + 未知的音频采样格式 + MEDIAINFO_SAMPLE_FMT_UNKNOWN + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_U8 + 音频采样格式为unsigned 8 bits + MEDIAINFO_SAMPLE_FMT_U8 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S16 + 音频采样格式为signed 16 bits + MEDIAINFO_SAMPLE_FMT_S16 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S32 + 音频采样格式为signed 32 bits + MEDIAINFO_SAMPLE_FMT_S32 + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_FLT + 音频采样格式为float + MEDIAINFO_SAMPLE_FMT_FLT + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_DBL + 音频采样格式为double + MEDIAINFO_SAMPLE_FMT_DBL + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_U8P + 音频采样格式为unsigned 8 bits, planar + MEDIAINFO_SAMPLE_FMT_U8P + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S16P + 音频采样格式为signed 16 bits, planar + MEDIAINFO_SAMPLE_FMT_S16P + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_S32P + 音频采样格式为signed 32 bits, planar + MEDIAINFO_SAMPLE_FMT_S32P + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_FLTP + 音频采样格式为float, planar + MEDIAINFO_SAMPLE_FMT_FLTP + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_DBLP + 音频采样格式为double, planar + MEDIAINFO_SAMPLE_FMT_DBLP + + KSYMediaInfo.h + + + + + + //apple_ref/c/econst/MEDIAINFO_SAMPLE_FMT_NB + 音频采样格式为Number of sample formats + MEDIAINFO_SAMPLE_FMT_NB + + KSYMediaInfo.h + + + diff --git a/doc/docset/Contents/Resources/Tokens95.xml b/doc/docset/Contents/Resources/Tokens95.xml index 3fc40be..aa46a28 100644 --- a/doc/docset/Contents/Resources/Tokens95.xml +++ b/doc/docset/Contents/Resources/Tokens95.xml @@ -1,8 +1,47 @@ - + + + //apple_ref/c/tdef/MPMovieAudioPan + 立体声平衡 + KSYMoviePlayerDefines.h + + + + + + + + //apple_ref/c/econst/MPMovieAudioPan_Left + 完全左声道 + MPMovieAudioPan_Left + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieAudioPan_Stereo + 左右声道平衡 + MPMovieAudioPan_Stereo + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieAudioPan_Right + 完全右声道 + MPMovieAudioPan_Right + + KSYMoviePlayerDefines.h + + + diff --git a/doc/docset/Contents/Resources/Tokens96.xml b/doc/docset/Contents/Resources/Tokens96.xml new file mode 100644 index 0000000..3069fdf --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens96.xml @@ -0,0 +1,58 @@ + + + + + + //apple_ref/c/tdef/MPMovieMetaType + Meta类型 + KSYMoviePlayerDefines.h + + + + + + + + + //apple_ref/c/econst/MPMovieMetaType_Media + 当前播放文件的Meta + MPMovieMetaType_Media + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieMetaType_Video + 当前播放的视频Meta + MPMovieMetaType_Video + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieMetaType_Audio + 当前播放的音频Meta + MPMovieMetaType_Audio + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieMetaType_Subtitle + 当前播放的字幕Meta + MPMovieMetaType_Subtitle + + KSYMoviePlayerDefines.h + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens97.xml b/doc/docset/Contents/Resources/Tokens97.xml new file mode 100644 index 0000000..971cd41 --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens97.xml @@ -0,0 +1,38 @@ + + + + + + //apple_ref/c/tdef/MPMovieReloadMode + reload模式 + KSYMoviePlayerDefines.h + + + + + + + + + //apple_ref/c/econst/MPMovieReloadMode_Fast + 加速播放模式 + MPMovieReloadMode_Fast + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieReloadMode_Accurate + 精确检测模式 + MPMovieReloadMode_Accurate + + KSYMoviePlayerDefines.h + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens98.xml b/doc/docset/Contents/Resources/Tokens98.xml new file mode 100644 index 0000000..1f80077 --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens98.xml @@ -0,0 +1,68 @@ + + + + + + //apple_ref/c/tdef/MPMovieStatus + status类型 + KSYMoviePlayerDefines.h + + + + + + + + + //apple_ref/c/econst/MPMovieStatusVideoDecodeWrong + 视频解码出错 + MPMovieStatusVideoDecodeWrong + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieStatusAudioDecodeWrong + 音频解码出错 + MPMovieStatusAudioDecodeWrong + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieStatusHWCodecUsed + 使用硬件解码 + MPMovieStatusHWCodecUsed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieStatusSWCodecUsed + 使用软件解码 + MPMovieStatusSWCodecUsed + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieStatusDLCodecUsed + 使用AVSampleBufferDisplayLayer解码渲染 + MPMovieStatusDLCodecUsed + + KSYMoviePlayerDefines.h + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Tokens99.xml b/doc/docset/Contents/Resources/Tokens99.xml new file mode 100644 index 0000000..1295de5 --- /dev/null +++ b/doc/docset/Contents/Resources/Tokens99.xml @@ -0,0 +1,58 @@ + + + + + + //apple_ref/c/tdef/MPMovieVideoDecoderMode + 视频解码模式 + KSYMoviePlayerDefines.h + + + + + + + + + //apple_ref/c/econst/MPMovieVideoDecoderMode_Software + 视频解码方式采用软解 + MPMovieVideoDecoderMode_Software + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieVideoDecoderMode_Hardware + 视频解码方式采用硬解 + MPMovieVideoDecoderMode_Hardware + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieVideoDecoderMode_AUTO + 自动选择解码方式,8.0以上的系统优先选择硬解 + MPMovieVideoDecoderMode_AUTO + + KSYMoviePlayerDefines.h + + + + + + //apple_ref/c/econst/MPMovieVideoDecoderMode_DisplayLayer + 使用系统接口进行解码和渲染,只适用于8.0及以上系统,低于8.0的系统自动使用软解 + MPMovieVideoDecoderMode_DisplayLayer + + KSYMoviePlayerDefines.h + + + + + + + \ No newline at end of file diff --git a/doc/docset/Contents/Resources/docSet.dsidx b/doc/docset/Contents/Resources/docSet.dsidx index 99db3b5..8d7a9d5 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx and b/doc/docset/Contents/Resources/docSet.dsidx differ diff --git a/doc/docset/Contents/Resources/docSet.dsidx-shm b/doc/docset/Contents/Resources/docSet.dsidx-shm index 88d1b32..b52a2eb 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx-shm and b/doc/docset/Contents/Resources/docSet.dsidx-shm differ diff --git a/doc/docset/Contents/Resources/docSet.dsidx-wal b/doc/docset/Contents/Resources/docSet.dsidx-wal index 0177d81..1f71c3a 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx-wal and b/doc/docset/Contents/Resources/docSet.dsidx-wal differ diff --git a/doc/docset/Contents/Resources/docSet.skidx b/doc/docset/Contents/Resources/docSet.skidx index de3e0c1..40bab0a 100644 Binary files a/doc/docset/Contents/Resources/docSet.skidx and b/doc/docset/Contents/Resources/docSet.skidx differ diff --git a/doc/docset/Contents/Resources/docSet.toc b/doc/docset/Contents/Resources/docSet.toc index fddefed..91fe925 100644 Binary files a/doc/docset/Contents/Resources/docSet.toc and b/doc/docset/Contents/Resources/docSet.toc differ diff --git a/doc/docset/Contents/Resources/docSet.tokencache b/doc/docset/Contents/Resources/docSet.tokencache index e64b03a..6f81306 100644 Binary files a/doc/docset/Contents/Resources/docSet.tokencache and b/doc/docset/Contents/Resources/docSet.tokencache differ diff --git a/doc/html/Classes/KSYBuildInSpecialEffects.html b/doc/html/Classes/KSYBuildInSpecialEffects.html index 478e217..fb90746 100644 --- a/doc/html/Classes/KSYBuildInSpecialEffects.html +++ b/doc/html/Classes/KSYBuildInSpecialEffects.html @@ -54,6 +54,14 @@

    + + + + + + + + @@ -62,6 +70,8 @@

    + + @@ -85,7 +95,7 @@

    KSYBuildInSpecialEffects Class Reference

    - + @@ -100,21 +110,7 @@

    KSYBuildInSpecialEffects Class Reference

    Overview

    KSY 特效滤镜

    -

    内置滤镜需要资源文件支持(KSYResource.bundle) -目前内置了如下6中特效: -1 小清新 -2 靓丽 -3 甜美可人 -4 怀旧 -5 蓝调 -6 老照片 -7 樱花 -8 樱花(光线较暗) -9 红润(光线较暗) -10 阳光(光线较暗) -11 红润 -12 阳光 -13 自然

    +

    内置滤镜需要资源文件支持(参考KSYResource.bundle中的png)

    @@ -130,6 +126,100 @@

    Overview

    + +

    – initWithType: +

    + +
    +
    + +
    + + +
    +

    初始化为指定类型的特效滤镜

    +
    + + + +
    - (id)initWithType:(KSYGPUEffectType)type
    + + + +
    +

    Parameters

    +
    Inherits fromKSYSpecialEffects : GPUImageFilterGroupGPUImageFilterGroup
    Declared in KSYBuildInSpecialEffects.h
    + + + + + + +
    type

    效果类型

    +
    + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYBuildInSpecialEffects.h

    +
    + + +
    +
    +
    + +

      effectType +

    + +
    +
    + +
    + + +
    +

    当前特效的类型

    +
    + + + +
    @property KSYGPUEffectType effectType
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYBuildInSpecialEffects.h

    +
    + + +
    +
    +
    +
    +
    + +

      intensity +

    + +
    +
    + +
    + + +
    +

    特效参数 (仅前15个滤镜有效)

    +
    + + + +
    @property (readwrite, nonatomic) CGFloat intensity
    + + + + + + + + + + + + + + +

    Declared In

    KSYBuildInSpecialEffects.h

    diff --git a/doc/html/Classes/KSYGPUPicture.html b/doc/html/Classes/KSYGPUPicture.html new file mode 100644 index 0000000..3ed6a6d --- /dev/null +++ b/doc/html/Classes/KSYGPUPicture.html @@ -0,0 +1,167 @@ + + + + + + KSYGPUPicture Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYGPUPicture Class Reference

    + + +
    + + + + + + + +
    Inherits fromGPUImagePicture
    Declared inKSYGPUPicture.h
    + + + + +
    + +

    Overview

    +

    图片读入类

    + +
      +
    1. 继承自GPUImagePicture
    2. +
    3. 增加通过指定图片名称载入图片的功能
    4. +
    5. 图片搜索顺序如下 mainBundle -> mainBundle中的 KSYGPUResource.bundle -> Documents/GPUResource
    6. +
    + + +

    顺序在以上路径中查找是否有指定名称的图片

    +
    + + + + + +
    + + + + + + +
    +
    + +

    – initWithImageName: +

    + +
    +
    + +
    + + +
    - (id)initWithImageName:(NSString *)name
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYGPUTwoInputFiter.html b/doc/html/Classes/KSYGPUTwoInputFiter.html new file mode 100644 index 0000000..e2da4e3 --- /dev/null +++ b/doc/html/Classes/KSYGPUTwoInputFiter.html @@ -0,0 +1,261 @@ + + + + + + KSYGPUTwoInputFiter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYGPUTwoInputFiter Class Reference

    + + +
    + + + + + + + +
    Inherits fromGPUImageTwoInputFilter
    Declared inKSYGPUTwoInputFiter.h
    + + + + +
    + +

    Overview

    +

    双输入滤镜

    + +
      +
    1. 继承自GPUImageTwoInputFilter
    2. +
    3. 添加了重新载入shader的接口
    4. +
    + +
    + + + + + +
    + + + + + + +
    +
    + +

    – reload: +

    + +
    +
    + +
    + + +
    +

    重新载入加密的shader串

    +
    + + + +
    - (void)reload:(NSString *)fragmentShaderString
    + + + +
    +

    Parameters

    + + + + + + + +
    fragmentShaderString

    加密的片原shader

    +
    + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYGPUTwoInputFiter.h

    +
    + + +
    +
    +
    + +

    – reloadVS:andFS: +

    + +
    +
    + +
    + + +
    +

    重新载入加密的shader串

    +
    + + + +
    - (void)reloadVS:(NSString *)vertexShaderString andFS:(NSString *)fragmentShaderString
    + + + +
    +

    Parameters

    + + + + + + + + + + + + +
    vertexShaderString

    顶点shader(未加密)

    fragmentShaderString

    片原shader(加密的)

    +
    + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYGPUTwoInputFiter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYSpecialEffects.html b/doc/html/Classes/KSYSpecialEffects.html index 5b4618b..b0df0d7 100644 --- a/doc/html/Classes/KSYSpecialEffects.html +++ b/doc/html/Classes/KSYSpecialEffects.html @@ -72,6 +72,8 @@

    + + @@ -218,6 +220,64 @@

    Return Value

    +
    +

    Declared In

    +

    KSYSpecialEffects.h

    +
    + + +

    +
    +
    + +

    – initWithImageName: +

    + +
    +
    + +
    + + +
    +

    初始化并指定特效素材

    +
    + + + +
    - (id)initWithImageName:(NSString *)name
    + + + +
    +

    Parameters

    + + + + + + + +
    name

    特效素材的文件名

    +
    + + + +
    +

    Return Value

    +

    构造的滤镜

    +
    + + + + + + + + + + +

    Declared In

    KSYSpecialEffects.h

    diff --git a/doc/html/Classes/KSYTransitionBlurFilter.html b/doc/html/Classes/KSYTransitionBlurFilter.html new file mode 100644 index 0000000..55746ea --- /dev/null +++ b/doc/html/Classes/KSYTransitionBlurFilter.html @@ -0,0 +1,280 @@ + + + + + + KSYTransitionBlurFilter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionBlurFilter Class Reference

    + + +
    + + + + + + + + + + +
    Inherits fromKSYGPUFilter : GPUImageFilter
    Conforms toKSYTransition
    Declared inKSYTransitionBlurFilter.h
    + + + + +
    + +

    Overview

    +

    KSYTransitionBlurFilter 模糊的转场效果

    + +
      +
    • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
    • +
    • 前模糊: 作用在前一段的结尾画面慢慢变模糊后, 切换为下一段视频
    • +
    • 后模糊: 作用在后一段的开头画面从模糊变清晰
    • +
    • 本滤镜只处理一段视频的输入
    • +
    + +
    + + + + + +
    + + + + + + +
    +
    + +

      bToBlur +

    + +
    +
    + +
    + + +
    +

    YES: 清晰变模糊 NO: 模糊变清晰 (默认YES)

    +
    + + + +
    @property (nonatomic, readwrite) BOOL bToBlur
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionBlurFilter.h

    +
    + + +
    +
    +
    + +

      duration +

    + +
    +
    + +
    + + +
    +

    转场重叠的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int duration
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionBlurFilter.h

    +
    + + +
    +
    +
    + +

      frameIdx +

    + +
    +
    + +
    + + +
    +

    转场已经处理的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int frameIdx
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionBlurFilter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYTransitionFadesInOutFilter.html b/doc/html/Classes/KSYTransitionFadesInOutFilter.html new file mode 100644 index 0000000..de655dd --- /dev/null +++ b/doc/html/Classes/KSYTransitionFadesInOutFilter.html @@ -0,0 +1,278 @@ + + + + + + KSYTransitionFadesInOutFilter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionFadesInOutFilter Class Reference

    + + +
    + + + + + + + + + + +
    Inherits fromKSYGPUTwoInputFiter : GPUImageTwoInputFilter
    Conforms toKSYTransition
    Declared inKSYTransitionFadesInOutFilter.h
    + + + + +
    + +

    Overview

    +

    KSYTransitionFadesInOutFilter 渐入淡出的转场效果

    + +
      +
    • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
    • +
    • 渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰
    • +
    + +
    + + + + + +
    + + + + + + +
    +
    + +

      masterLayer +

    + +
    +
    + +
    + + +
    +

    视频所在的图层

    +
    + + + +
    @property (nonatomic, readwrite) NSInteger masterLayer
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFadesInOutFilter.h

    +
    + + +
    +
    +
    + +

      duration +

    + +
    +
    + +
    + + +
    +

    转场重叠的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int duration
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFadesInOutFilter.h

    +
    + + +
    +
    +
    + +

      frameIdx +

    + +
    +
    + +
    + + +
    +

    转场已经处理的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int frameIdx
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFadesInOutFilter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYTransitionFilter.html b/doc/html/Classes/KSYTransitionFilter.html new file mode 100644 index 0000000..765a076 --- /dev/null +++ b/doc/html/Classes/KSYTransitionFilter.html @@ -0,0 +1,380 @@ + + + + + + KSYTransitionFilter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionFilter Class Reference

    + + +
    + + + + + + + +
    Inherits fromGPUImageFilterGroup
    Declared inKSYTransitionFilter.h
    + + + + +
    + +

    Overview

    +

    KSYTransitionFilter 转场效果滤镜 +转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 +渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰 +闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频 +…

    +
    + + + + + +
    + + + + + + +
    +
    + +

    – initWithType:andOverlay: +

    + +
    +
    + +
    + + +
    +

    初始化并指定KSYTransitionType类型来创建对应转场特效

    +
    + + + +
    - (instancetype)initWithType:(KSYTransitionType)type andOverlay:(KSYOverlapType)overlap
    + + + +
    +

    Parameters

    + + + + + + + + + + + + +
    type

    效果类型

    overlap

    重叠方式

    +
    + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + +
    +
    +
    + +

      transitionType +

    + +
    +
    + +
    + + +
    +

    当前转场的类型

    +
    + + + +
    @property (atomic, readonly) KSYTransitionType transitionType
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + +
    +
    +
    + +

      overlapType +

    + +
    +
    + +
    + + +
    +

    当前转场画面重叠的类型

    +
    + + + +
    @property (atomic, readonly) KSYOverlapType overlapType
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + +
    +
    +
    + +

      duration +

    + +
    +
    + +
    + + +
    +

    转场重叠的帧数 (默认:30)

    +
    + + + +
    @property (nonatomic, readwrite) int duration
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + +
    +
    +
    + +

      frameIdx +

    + +
    +
    + +
    + + +
    +

    转场已经处理的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int frameIdx
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYTransitionFlashFilter.html b/doc/html/Classes/KSYTransitionFlashFilter.html new file mode 100644 index 0000000..41e9e7e --- /dev/null +++ b/doc/html/Classes/KSYTransitionFlashFilter.html @@ -0,0 +1,239 @@ + + + + + + KSYTransitionFlashFilter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionFlashFilter Class Reference

    + + +
    + + + + + + + + + + +
    Inherits fromKSYGPUFilter : GPUImageFilter
    Conforms toKSYTransition
    Declared inKSYTransitionFlashFilter.h
    + + + + +
    + +

    Overview

    +

    KSYTransitionFlashFilter 闪黑/闪白的转场效果

    + +
      +
    • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
    • +
    • 闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频
    • +
    • 本滤镜只处理一段视频的输入
    • +
    • 闪的颜色通过 以下下方法设置, 默认为黑色
    • +
    • [f setBackgroundColorRed:1.0 green:1.0 blue:1.0 alpha:0.0]; // 白色
    • +
    • [f setBackgroundColorRed:0.0 green:0.0 blue:0.0 alpha:0.0]; // 黑色
    • +
    + +
    + + + + + +
    + + + + + + +
    +
    + +

      duration +

    + +
    +
    + +
    + + +
    +

    转场重叠的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int duration
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFlashFilter.h

    +
    + + +
    +
    +
    + +

      frameIdx +

    + +
    +
    + +
    + + +
    +

    转场已经处理的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int frameIdx
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFlashFilter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Classes/KSYTransitionPushFilter.html b/doc/html/Classes/KSYTransitionPushFilter.html new file mode 100644 index 0000000..f70f532 --- /dev/null +++ b/doc/html/Classes/KSYTransitionPushFilter.html @@ -0,0 +1,321 @@ + + + + + + KSYTransitionPushFilter Class Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionPushFilter Class Reference

    + + +
    + + + + + + + + + + +
    Inherits fromKSYGPUTwoInputFiter : GPUImageTwoInputFilter
    Conforms toKSYTransition
    Declared inKSYTransitionPushFilter.h
    + + + + +
    + +

    Overview

    +

    KSYTransitionPushFilter 推出的转场效果

    + +
      +
    • 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加
    • +
    • 推出: 前一段的画面慢慢向屏幕的一边推,面积变小; 后一段的视频慢慢跟随占据屏幕
    • +
    + +
    + + + + + +
    + + + + + + +
    +
    + +

      masterLayer +

    + +
    +
    + +
    + + +
    +

    视频所在的图层

    +
    + + + +
    @property (nonatomic, readwrite) NSInteger masterLayer
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionPushFilter.h

    +
    + + +
    +
    +
    + +

      duration +

    + +
    +
    + +
    + + +
    +

    转场重叠的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int duration
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionPushFilter.h

    +
    + + +
    +
    +
    + +

      frameIdx +

    + +
    +
    + +
    + + +
    +

    转场已经处理的帧数

    +
    + + + +
    @property (nonatomic, readwrite) int frameIdx
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionPushFilter.h

    +
    + + +
    +
    +
    + +

      direction +

    + +
    +
    + +
    + + +
    +

    推动方向 默认向上

    +
    + + + +
    @property (nonatomic, readwrite) KSYTPushDirection direction
    + + + + + + + + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionPushFilter.h

    +
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Constants/KSYGPUEffectType.html b/doc/html/Constants/KSYGPUEffectType.html new file mode 100644 index 0000000..1a4c67b --- /dev/null +++ b/doc/html/Constants/KSYGPUEffectType.html @@ -0,0 +1,760 @@ + + + + + + KSYGPUEffectType Constants Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYGPUEffectType Constants Reference

    + + +
    + + + + +
    Declared inKSYBuildInSpecialEffects.h
    + + + + + + + +

    KSYGPUEffectType

    + + + + + +
    +

    Constants

    +
    + +
    KSYGPUEffectType_None
    +
    + + +

    0 原图关闭特效

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Freshy
    +
    + + +

    1 小清新

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Beauty
    +
    + + +

    2 靓丽

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sweety
    +
    + + +

    3 甜美可人

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sepia
    +
    + + +

    4 怀旧

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Blue
    +
    + + +

    5 蓝调

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Nostalgia
    +
    + + +

    6 老照片

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sakura
    +
    + + +

    7 樱花

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sakura_night
    +
    + + +

    8 樱花(适用于光线较暗的环境)

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Ruddy_night
    +
    + + +

    9 红润(适用于光线较暗的环境)

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sunshine_night
    +
    + + +

    10 阳光(适用于光线较暗的环境)

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Ruddy
    +
    + + +

    11 红润

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sushine
    +
    + + +

    12 阳光

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Nature
    +
    + + +

    13 自然

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Amatorka
    +
    + + +

    14 恋人

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Elegance
    +
    + + +

    15 高雅

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_1977
    +
    + + +

    16 红粉佳人

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Amaro
    +
    + + +

    17 优格

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Brannan
    +
    + + +

    18 流年

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Early_bird
    +
    + + +

    19 柔光

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Hefe
    +
    + + +

    20 经典

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Hudson
    +
    + + +

    21 初夏

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Ink
    +
    + + +

    22 黑白

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Lomo
    +
    + + +

    23 纽约

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Lord_kelvin
    +
    + + +

    24 上野

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Nashville
    +
    + + +

    25 碧波

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Rise
    +
    + + +

    26 日系

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sierra
    +
    + + +

    27 清凉

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Sutro
    +
    + + +

    28 移轴

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Toaster
    +
    + + +

    29 梦幻

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Valencia
    +
    + + +

    30 恬淡

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Walden
    +
    + + +

    31 候鸟

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    KSYGPUEffectType_Xproll
    +
    + + +

    32 淡雅

    + + + + + + +

    + Declared In KSYBuildInSpecialEffects.h. +

    + +
    + +
    +
    + + + + + + + + +
    +

    Declared In

    +

    KSYBuildInSpecialEffects.h

    +
    + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Constants/KSYOverlapType.html b/doc/html/Constants/KSYOverlapType.html new file mode 100644 index 0000000..2d54860 --- /dev/null +++ b/doc/html/Constants/KSYOverlapType.html @@ -0,0 +1,209 @@ + + + + + + KSYOverlapType Constants Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYOverlapType Constants Reference

    + + +
    + + + + +
    Declared inKSYTransitionFilter.h
    + + + + + + + +

    KSYOverlapType

    + + + +
    + + +

    Definition

    + typedef NS_ENUM(NSUInteger, KSYOverlapType ) {
    + +    KSYOverlapType_BothVideo = 0,
    + +    KSYOverlapType_LastFrameVideo = 1,
    + +    KSYOverlapType_VideoFirstFrame = 2,
    + +    KSYOverlapType_VideoOnly = 3,
    + + };
    + +
    + +
    +

    Constants

    +
    + +
    KSYOverlapType_BothVideo
    +
    + + +

    前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYOverlapType_LastFrameVideo
    +
    + + +

    第一段的最后一帧和第二段的视频的前n帧重叠

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYOverlapType_VideoFirstFrame
    +
    + + +

    第一段的最后n帧 和 第二段的第一帧重叠

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYOverlapType_VideoOnly
    +
    + + +

    只有前一段的最后n帧

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    +
    + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Constants/KSYTPushDirection.html b/doc/html/Constants/KSYTPushDirection.html new file mode 100644 index 0000000..f7cb3c2 --- /dev/null +++ b/doc/html/Constants/KSYTPushDirection.html @@ -0,0 +1,209 @@ + + + + + + KSYTPushDirection Constants Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTPushDirection Constants Reference

    + + +
    + + + + +
    Declared inKSYTransitionPushFilter.h
    + + + + + + + +

    KSYTPushDirection

    + + + +
    + + +

    Definition

    + typedef NS_ENUM(NSUInteger, KSYTPushDirection ) {
    + +    KSYTPushDirection_Up = 0,
    + +    KSYTPushDirection_Down = 1,
    + +    KSYTPushDirection_Left = 2,
    + +    KSYTPushDirection_Right = 3,
    + + };
    + +
    + +
    +

    Constants

    +
    + +
    KSYTPushDirection_Up
    +
    + + +

    前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠

    + + + + + + +

    + Declared In KSYTransitionPushFilter.h. +

    + +
    + +
    KSYTPushDirection_Down
    +
    + + +

    第一段的最后一帧和第二段的视频的前n帧重叠

    + + + + + + +

    + Declared In KSYTransitionPushFilter.h. +

    + +
    + +
    KSYTPushDirection_Left
    +
    + + +

    第一段的最后n帧 和 第二段的第一帧重叠

    + + + + + + +

    + Declared In KSYTransitionPushFilter.h. +

    + +
    + +
    KSYTPushDirection_Right
    +
    + + +

    只有前一段的最后n帧

    + + + + + + +

    + Declared In KSYTransitionPushFilter.h. +

    + +
    + +
    +
    + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionPushFilter.h

    +
    + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Constants/KSYTransitionType.html b/doc/html/Constants/KSYTransitionType.html new file mode 100644 index 0000000..6083d3f --- /dev/null +++ b/doc/html/Constants/KSYTransitionType.html @@ -0,0 +1,323 @@ + + + + + + KSYTransitionType Constants Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransitionType Constants Reference

    + + +
    + + + + +
    Declared inKSYTransitionFilter.h
    + + + + + + + +

    KSYTransitionType

    + + + +
    + + +

    Definition

    + typedef NS_ENUM(NSUInteger, KSYTransitionType ) {
    + +    KSYTransitionTypeNone = 0,
    + +    KSYTransitionTypeFadesInOut,
    + +    KSYTransitionTypeFlashBlack,
    + +    KSYTransitionTypeFlashWhite,
    + +    KSYTransitionTypeBlurOut,
    + +    KSYTransitionTypeBlurIn,
    + +    KSYTransitionTypePushUp,
    + +    KSYTransitionTypePushDown,
    + +    KSYTransitionTypePushLeft,
    + +    KSYTransitionTypePushRight,
    + + };
    + +
    + +
    +

    Constants

    +
    + +
    KSYTransitionTypeNone
    +
    + + +

    关闭转场

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypeFadesInOut
    +
    + + +

    渐入淡出

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypeFlashBlack
    +
    + + +

    闪黑

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypeFlashWhite
    +
    + + +

    闪白

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypeBlurOut
    +
    + + +

    清晰变模糊

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypeBlurIn
    +
    + + +

    模糊变清晰

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypePushUp
    +
    + + +

    上推

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypePushDown
    +
    + + +

    下推

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypePushLeft
    +
    + + +

    左推

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    KSYTransitionTypePushRight
    +
    + + +

    右推

    + + + + + + +

    + Declared In KSYTransitionFilter.h. +

    + +
    + +
    +
    + + + + + + + + +
    +

    Declared In

    +

    KSYTransitionFilter.h

    +
    + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/Protocols/KSYTransition.html b/doc/html/Protocols/KSYTransition.html new file mode 100644 index 0000000..0e2de7a --- /dev/null +++ b/doc/html/Protocols/KSYTransition.html @@ -0,0 +1,158 @@ + + + + + + KSYTransition Protocol Reference + + + + + + +
    +
    + +

    + KSYLive_iOS +

    + +

    + Kingsoft +

    + +
    +
    + + + +
    +
    +
    +
    +

    KSYTransition Protocol Reference

    + + +
    + + + + + + + +
    Conforms toNSObject
    Declared inKSYTransitionFilter.h
    + + + + +
    + +

    Overview

    +

    Protocol for setting duration for each transition filter

    +
    + + + + + +
    + + + + + + +
    +
    + +

    – setDuration: +required method

    + +
    +
    + +
    + + +
    - (void)setDuration:(int)dur
    + + +
    +
    +
    +
    + +
    + + + + + + +
    + + +
    +
    +
    + + + + diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 419fb97..7a7d0fb 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -62,6 +62,10 @@

    Class Hierarchy

  • KSYShakeFilter
  • +
  • KSYTransitionBlurFilter
  • + +
  • KSYTransitionFlashFilter
  • + @@ -79,15 +83,13 @@

    Class Hierarchy

  • KSYBeautifyProFilter
  • -
  • KSYMvFilter
  • +
  • KSYBuildInSpecialEffects
  • -
  • KSYSpecialEffects - -
  • +
  • KSYTransitionFilter
  • @@ -105,6 +107,30 @@

    Class Hierarchy

  • KSYGPUViewCapture
  • + + + +
  • GPUImagePicture + +
  • + +
  • GPUImageTwoInputFilter +
  • @@ -221,6 +247,8 @@

    Protocol References

  • KSYMediaPlayback
  • +
  • KSYTransition
  • + @@ -243,6 +271,8 @@

    Constant References

  • KSYDevAuthStatus
  • +
  • KSYGPUEffectType
  • +
  • KSYLiveScene
  • KSYMPErrorCode
  • @@ -255,6 +285,8 @@

    Constant References

  • KSYNetworkStatus
  • +
  • KSYOverlapType
  • +
  • KSYPlayRecordScheme
  • KSYRecScene
  • @@ -269,10 +301,14 @@

    Constant References

  • KSYStreamState
  • +
  • KSYTPushDirection
  • +
  • KSYTranscodeErrorCode
  • KSYTranscodeState
  • +
  • KSYTransitionType
  • +
  • KSYVideoCodec
  • KSYVideoDimension
  • diff --git a/doc/html/index.html b/doc/html/index.html index 7148b33..1f342ff 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -104,10 +104,14 @@

    Class References

  • KSYGPUPicOutput
  • +
  • KSYGPUPicture
  • +
  • KSYGPUPipStreamerKit
  • KSYGPUStreamerKit
  • +
  • KSYGPUTwoInputFiter
  • +
  • KSYGPUView
  • KSYGPUViewCapture
  • @@ -144,6 +148,16 @@

    Class References

  • KSYTranscoder
  • +
  • KSYTransitionBlurFilter
  • + +
  • KSYTransitionFadesInOutFilter
  • + +
  • KSYTransitionFilter
  • + +
  • KSYTransitionFlashFilter
  • + +
  • KSYTransitionPushFilter
  • +
  • KSYUIRecorderKit
  • KSYVideoInfo
  • @@ -162,6 +176,8 @@

    Protocol References

  • KSYMediaPlayback
  • +
  • KSYTransition
  • + @@ -185,6 +201,8 @@

    Constant References

  • KSYDevAuthStatus
  • +
  • KSYGPUEffectType
  • +
  • KSYLiveScene
  • KSYMPErrorCode
  • @@ -197,6 +215,8 @@

    Constant References

  • KSYNetworkStatus
  • +
  • KSYOverlapType
  • +
  • KSYPlayRecordScheme
  • KSYRecScene
  • @@ -211,10 +231,14 @@

    Constant References

  • KSYStreamState
  • +
  • KSYTPushDirection
  • +
  • KSYTranscodeErrorCode
  • KSYTranscodeState
  • +
  • KSYTransitionType
  • +
  • KSYVideoCodec
  • KSYVideoDimension
  • diff --git a/libksygpulive.podspec b/libksygpulive.podspec index 720c8e2..33c53ee 100644 --- a/libksygpulive.podspec +++ b/libksygpulive.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'libksygpulive' - s.version = '2.9.0' + s.version = '2.9.1' s.license = { :type => 'Proprietary', :text => <<-LICENSE diff --git a/prebuilt/include/KSYStreamer/KSYBuildInSpecialEffects.h b/prebuilt/include/KSYStreamer/KSYBuildInSpecialEffects.h index 62a60b0..3c0621d 100644 --- a/prebuilt/include/KSYStreamer/KSYBuildInSpecialEffects.h +++ b/prebuilt/include/KSYStreamer/KSYBuildInSpecialEffects.h @@ -7,39 +7,116 @@ // #import +#import #import "KSYSpecialEffects.h" + +/** + @abstract 特效滤镜类型 SpecialEffects + */ +typedef NS_ENUM(NSInteger, KSYGPUEffectType) { + /// 0 原图关闭特效 + KSYGPUEffectType_None = 0, + /// 1 小清新 + KSYGPUEffectType_Freshy, + /// 2 靓丽 + KSYGPUEffectType_Beauty, + /// 3 甜美可人 + KSYGPUEffectType_Sweety, + /// 4 怀旧 + KSYGPUEffectType_Sepia, + /// 5 蓝调 + KSYGPUEffectType_Blue, + /// 6 老照片 + KSYGPUEffectType_Nostalgia, + /// 7 樱花 + KSYGPUEffectType_Sakura, + /// 8 樱花(适用于光线较暗的环境) + KSYGPUEffectType_Sakura_night, + /// 9 红润(适用于光线较暗的环境) + KSYGPUEffectType_Ruddy_night, + /// 10 阳光(适用于光线较暗的环境) + KSYGPUEffectType_Sunshine_night, + /// 11 红润 + KSYGPUEffectType_Ruddy, + /// 12 阳光 + KSYGPUEffectType_Sushine, + /// 13 自然 + KSYGPUEffectType_Nature, + /// 14 恋人 + KSYGPUEffectType_Amatorka, + /// 15 高雅 + KSYGPUEffectType_Elegance, + /// 16 红粉佳人 + KSYGPUEffectType_1977, + /// 17 优格 + KSYGPUEffectType_Amaro, + /// 18 流年 + KSYGPUEffectType_Brannan, + /// 19 柔光 + KSYGPUEffectType_Early_bird, + /// 20 经典 + KSYGPUEffectType_Hefe, + /// 21 初夏 + KSYGPUEffectType_Hudson, + /// 22 黑白 + KSYGPUEffectType_Ink, + /// 23 纽约 + KSYGPUEffectType_Lomo, + /// 24 上野 + KSYGPUEffectType_Lord_kelvin, + /// 25 碧波 + KSYGPUEffectType_Nashville, + /// 26 日系 + KSYGPUEffectType_Rise, + /// 27 清凉 + KSYGPUEffectType_Sierra, + /// 28 移轴 + KSYGPUEffectType_Sutro, + /// 29 梦幻 + KSYGPUEffectType_Toaster, + /// 30 恬淡 + KSYGPUEffectType_Valencia, + /// 31 候鸟 + KSYGPUEffectType_Walden, + /// 32 淡雅 + KSYGPUEffectType_Xproll, + +}; + + /** KSY 特效滤镜 - 内置滤镜需要资源文件支持(KSYResource.bundle) - 目前内置了如下6中特效: - 1 小清新 - 2 靓丽 - 3 甜美可人 - 4 怀旧 - 5 蓝调 - 6 老照片 - 7 樱花 - 8 樱花(光线较暗) - 9 红润(光线较暗) - 10 阳光(光线较暗) - 11 红润 - 12 阳光 - 13 自然 + 内置滤镜需要资源文件支持(参考KSYResource.bundle中的png) */ -@interface KSYBuildInSpecialEffects : KSYSpecialEffects +@interface KSYBuildInSpecialEffects : GPUImageFilterGroup #pragma mark - internal special effects + +/** + @abstract 初始化为指定类型的特效滤镜 + @param type 效果类型 + */ +- (id)initWithType:(KSYGPUEffectType)type; + +/** + @abstract 当前特效的类型 + */ +@property KSYGPUEffectType effectType; + /** - @abstract 初始化并指定 1~13 的index来创建对应效果 + @abstract 初始化为指定类型的特效滤镜 @param idx 效果的索引 (非法值无效) + @warning */ - (id)initWithIdx:(NSInteger)idx; /** - @abstract 指定 1~6 的index来创建对应效果 + @abstract 更新为指定类型的特效滤镜 @param idx 效果的索引 (非法值无效) */ -(void)setSpecialEffectsIdx:(NSInteger)idx; +/// 特效参数 (仅前15个滤镜有效) +@property(readwrite, nonatomic) CGFloat intensity; @end diff --git a/prebuilt/include/KSYStreamer/KSYGPUPicture.h b/prebuilt/include/KSYStreamer/KSYGPUPicture.h new file mode 100644 index 0000000..ec02d7c --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYGPUPicture.h @@ -0,0 +1,23 @@ +// +// KSYGPUPicture.h +// KSYStreamer +// +// Created by ksyun on 16/6/1. +// Copyright © 2016年 yiqian. All rights reserved. +// + +#import + +/** 图片读入类 + + 1. 继承自GPUImagePicture + 2. 增加通过指定图片名称载入图片的功能 + 3. 图片搜索顺序如下 mainBundle -> mainBundle中的 KSYGPUResource.bundle -> Documents/GPUResource + + 顺序在以上路径中查找是否有指定名称的图片 + */ +@interface KSYGPUPicture: GPUImagePicture + +- (id)initWithImageName:(NSString *)name; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYGPUTwoInputFiter.h b/prebuilt/include/KSYStreamer/KSYGPUTwoInputFiter.h new file mode 100644 index 0000000..fcacf5e --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYGPUTwoInputFiter.h @@ -0,0 +1,36 @@ +// +// KSYGPUTwoInputFiter.h +// GPUImage +// +// Created by gene on 16/8/22. +// Copyright © 2016年 Brad Larson. All rights reserved. +// + +#import + +/** 双输入滤镜 + + 1. 继承自GPUImageTwoInputFilter + 2. 添加了重新载入shader的接口 + */ +@interface KSYGPUTwoInputFiter :GPUImageTwoInputFilter{ + ; +} + +/** + 重新载入加密的shader串 + + @param fragmentShaderString 加密的片原shader + */ +- (void)reload:(NSString *)fragmentShaderString; + +/** + 重新载入加密的shader串 + + @param vertexShaderString 顶点shader(未加密) + @param fragmentShaderString 片原shader(加密的) + */ +- (void)reloadVS:(NSString *)vertexShaderString + andFS:(NSString *)fragmentShaderString; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYSpecialEffects.h b/prebuilt/include/KSYStreamer/KSYSpecialEffects.h index 1055551..654afad 100644 --- a/prebuilt/include/KSYStreamer/KSYSpecialEffects.h +++ b/prebuilt/include/KSYStreamer/KSYSpecialEffects.h @@ -24,6 +24,13 @@ */ - (id)initWithUIImage:(UIImage *)image; +/** + @abstract 初始化并指定特效素材 + @param name 特效素材的文件名 + @return 构造的滤镜 + */ +- (id)initWithImageName:(NSString *)name; + /** @abstract 指定特效素材 @param image 特效素材 diff --git a/prebuilt/include/KSYStreamer/KSYTransitionBlurFilter.h b/prebuilt/include/KSYStreamer/KSYTransitionBlurFilter.h new file mode 100644 index 0000000..d8c74eb --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYTransitionBlurFilter.h @@ -0,0 +1,31 @@ +// +// KSYTransitionBlurFilter +// KSYGPUFilter +// +// Created by pengbin +// Copyright 2017 ksyun.com. All rights reserved. +// + +#import +#import "KSYGPUFilter.h" +#import "KSYTransitionFilter.h" + +/** KSYTransitionBlurFilter 模糊的转场效果 + + * 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 + * 前模糊: 作用在前一段的结尾画面慢慢变模糊后, 切换为下一段视频 + * 后模糊: 作用在后一段的开头画面从模糊变清晰 + * 本滤镜只处理一段视频的输入 + */ +@interface KSYTransitionBlurFilter : KSYGPUFilter + +/// YES: 清晰变模糊 NO: 模糊变清晰 (默认YES) +@property (nonatomic, readwrite) BOOL bToBlur; + +/// 转场重叠的帧数 +@property (nonatomic, readwrite) int duration; + +/// 转场已经处理的帧数 +@property (nonatomic, readwrite) int frameIdx; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYTransitionFadesInOutFilter.h b/prebuilt/include/KSYStreamer/KSYTransitionFadesInOutFilter.h new file mode 100644 index 0000000..22288f8 --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYTransitionFadesInOutFilter.h @@ -0,0 +1,31 @@ +// +// KSYTransitionFadesInOutFilter.h +// KSYGPUFilter +// +// Created by pengbin +// Copyright 2017 ksyun.com. All rights reserved. +// + + +#import +#import "KSYGPUTwoInputFiter.h" +#import "KSYTransitionFilter.h" + +/** KSYTransitionFadesInOutFilter 渐入淡出的转场效果 + + * 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 + * 渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰 + + */ +@interface KSYTransitionFadesInOutFilter : KSYGPUTwoInputFiter + +/// 视频所在的图层 +@property (nonatomic, readwrite) NSInteger masterLayer; + +/// 转场重叠的帧数 +@property (nonatomic, readwrite) int duration; + +/// 转场已经处理的帧数 +@property (nonatomic, readwrite) int frameIdx; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYTransitionFilter.h b/prebuilt/include/KSYStreamer/KSYTransitionFilter.h new file mode 100644 index 0000000..8e9dda4 --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYTransitionFilter.h @@ -0,0 +1,87 @@ +// +// KSYTransitionFilter.h +// KSYGPUFilter +// +// Created by pengbin +// Copyright 2017 ksyun.com. All rights reserved. +// + +#import + +/** Protocol for setting duration for each transition filter + */ +@protocol KSYTransition + +/// +- (void)setDuration:(int)dur; + +@end + +/** + @abstract 转场类型 + */ +typedef NS_ENUM(NSUInteger, KSYTransitionType) { + /// 关闭转场 + KSYTransitionTypeNone = 0, + /// 渐入淡出 + KSYTransitionTypeFadesInOut, + /// 闪黑 + KSYTransitionTypeFlashBlack, + /// 闪白 + KSYTransitionTypeFlashWhite, + /// 清晰变模糊 + KSYTransitionTypeBlurOut, + /// 模糊变清晰 + KSYTransitionTypeBlurIn, + /// 上推 + KSYTransitionTypePushUp, + /// 下推 + KSYTransitionTypePushDown, + /// 左推 + KSYTransitionTypePushLeft, + /// 右推 + KSYTransitionTypePushRight, +}; + +/** + @abstract 转场部分重叠类型 + */ +typedef NS_ENUM(NSUInteger, KSYOverlapType) { + /// 前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠 + KSYOverlapType_BothVideo = 0, + /// 第一段的最后一帧和第二段的视频的前n帧重叠 + KSYOverlapType_LastFrameVideo = 1, + /// 第一段的最后n帧 和 第二段的第一帧重叠 + KSYOverlapType_VideoFirstFrame = 2, + /// 只有前一段的最后n帧 + KSYOverlapType_VideoOnly = 3, +}; + + +/** KSYTransitionFilter 转场效果滤镜 + * 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 + * 渐入淡出: 前一段的画面慢慢变淡, 后一段的视频慢慢变清晰 + * 闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频 + * ... + */ +@interface KSYTransitionFilter : GPUImageFilterGroup + +/** + @abstract 初始化并指定KSYTransitionType类型来创建对应转场特效 + @param type 效果类型 + @param overlap 重叠方式 + */ +- (instancetype) initWithType:(KSYTransitionType)type andOverlay:(KSYOverlapType) overlap; + +/// 当前转场的类型 +@property (atomic, readonly) KSYTransitionType transitionType; +/// 当前转场画面重叠的类型 +@property (atomic, readonly) KSYOverlapType overlapType; + +/// 转场重叠的帧数 (默认:30) +@property (nonatomic, readwrite) int duration; + +/// 转场已经处理的帧数 +@property (nonatomic, readwrite) int frameIdx; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYTransitionFlashFilter.h b/prebuilt/include/KSYStreamer/KSYTransitionFlashFilter.h new file mode 100644 index 0000000..1c61f73 --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYTransitionFlashFilter.h @@ -0,0 +1,30 @@ +// +// KSYTransitionFlashFilter.h +// KSYGPUFilter +// +// Created by pengbin +// Copyright 2017 ksyun.com. All rights reserved. +// + +#import +#import "KSYGPUFilter.h" +#import "KSYTransitionFilter.h" + +/** KSYTransitionFlashFilter 闪黑/闪白的转场效果 + + * 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 + * 闪黑/闪白: 作用在前一段的结尾画面慢慢变黑或变白,全黑/全白后, 切换为下一段视频 + * 本滤镜只处理一段视频的输入 + * 闪的颜色通过 以下下方法设置, 默认为黑色 + * [f setBackgroundColorRed:1.0 green:1.0 blue:1.0 alpha:0.0]; // 白色 + * [f setBackgroundColorRed:0.0 green:0.0 blue:0.0 alpha:0.0]; // 黑色 + */ +@interface KSYTransitionFlashFilter : KSYGPUFilter + +/// 转场重叠的帧数 +@property (nonatomic, readwrite) int duration; + +/// 转场已经处理的帧数 +@property (nonatomic, readwrite) int frameIdx; + +@end diff --git a/prebuilt/include/KSYStreamer/KSYTransitionPushFilter.h b/prebuilt/include/KSYStreamer/KSYTransitionPushFilter.h new file mode 100644 index 0000000..985c9a3 --- /dev/null +++ b/prebuilt/include/KSYStreamer/KSYTransitionPushFilter.h @@ -0,0 +1,50 @@ +// +// KSYTransitionPushFilter +// KSYGPUFilter +// +// Created by pengbin +// Copyright © 2017年 ksyun.com. All rights reserved. +// + +#import +#import "KSYGPUTwoInputFiter.h" +#import "KSYTransitionFilter.h" + + +/** + @abstract 推出转场的方向 + */ +typedef NS_ENUM(NSUInteger, KSYTPushDirection) { + /// 前后都是运动的视频, 第一段的最后n帧和第二段的前n帧重叠 + KSYTPushDirection_Up = 0, + /// 第一段的最后一帧和第二段的视频的前n帧重叠 + KSYTPushDirection_Down = 1, + /// 第一段的最后n帧 和 第二段的第一帧重叠 + KSYTPushDirection_Left = 2, + /// 只有前一段的最后n帧 + KSYTPushDirection_Right = 3, +}; + + + +/** KSYTransitionPushFilter 推出的转场效果 + + * 转场: 两段视频串联的时候, 前一段的结尾和后一段的开头叠加 + * 推出: 前一段的画面慢慢向屏幕的一边推,面积变小; 后一段的视频慢慢跟随占据屏幕 + + */ +@interface KSYTransitionPushFilter : KSYGPUTwoInputFiter + +/// 视频所在的图层 +@property (nonatomic, readwrite) NSInteger masterLayer; + +/// 转场重叠的帧数 +@property (nonatomic, readwrite) int duration; + +/// 转场已经处理的帧数 +@property (nonatomic, readwrite) int frameIdx; + +/// 推动方向 默认向上 +@property (nonatomic, readwrite) KSYTPushDirection direction; + +@end diff --git a/prebuilt/include/KSYStreamer/libksygpufilter.h b/prebuilt/include/KSYStreamer/libksygpufilter.h index 68fad3b..23ab772 100644 --- a/prebuilt/include/KSYStreamer/libksygpufilter.h +++ b/prebuilt/include/KSYStreamer/libksygpufilter.h @@ -9,6 +9,8 @@ #import #import "KSYGPUFilter.h" +#import "KSYGPUTwoInputFiter.h" + #import "KSYGPUBeautifyFilter.h" #import "KSYGPUBeautifyExtFilter.h" #import "KSYGPUBeautifyPlusFilter.h" @@ -20,6 +22,12 @@ #import "KSYMvEffect.h" #import "KSYMvFilter.h" #import "KSYShakeFilter.h" +#import "KSYTransitionFadesInOutFilter.h" +#import "KSYTransitionFlashFilter.h" +#import "KSYTransitionBlurFilter.h" +#import "KSYTransitionPushFilter.h" +#import "KSYTransitionFilter.h" +#import "KSYGPUPicture.h" -#define KSYGPUFILTER_VER 2.9.0 -#define KSYGPUFILTER_ID 1d449e38d24532e1cbb2d55bb786d5a4e92f4edd +#define KSYGPUFILTER_VER 2.9.1 +#define KSYGPUFILTER_ID 9f27de16e14f4dad29a3ef0598b0a94628d59ad8 diff --git a/prebuilt/include/KSYStreamer/libksystreamerbase.h b/prebuilt/include/KSYStreamer/libksystreamerbase.h index e03e0d8..b2006ad 100644 --- a/prebuilt/include/KSYStreamer/libksystreamerbase.h +++ b/prebuilt/include/KSYStreamer/libksystreamerbase.h @@ -14,5 +14,5 @@ #import "KSYMessage.h" #import "KSYTranscoder.h" -#define KSYSTREAMERBASE_VER 2.9.0 -#define KSYSTREAMERBASE_ID f8ba28f22fdb0fc7836e745ffabc8c30f1f74524 +#define KSYSTREAMERBASE_VER 2.9.1 +#define KSYSTREAMERBASE_ID 9f24c6d22931010c227a5cb855df068b6a9ec888 diff --git a/prebuilt/include/KSYStreamer/libksystreamerengine.h b/prebuilt/include/KSYStreamer/libksystreamerengine.h index 399020c..babd35d 100644 --- a/prebuilt/include/KSYStreamer/libksystreamerengine.h +++ b/prebuilt/include/KSYStreamer/libksystreamerengine.h @@ -33,6 +33,6 @@ // utils #import "KSYWeakProxy.h" -#define KSYSTREAMERENGINE_VER 2.9.0 -#define KSYSTREAMERENGINE_ID 60aa82bf864f3394a49566cf1863d282dd7abaae +#define KSYSTREAMERENGINE_VER 2.9.1 +#define KSYSTREAMERENGINE_ID 9407f5371c4872044bd9c60700b3fcdeaddc4a07 diff --git a/prebuilt/libs/libksygpufilter.a b/prebuilt/libs/libksygpufilter.a index 87c8e26..a65a657 100644 Binary files a/prebuilt/libs/libksygpufilter.a and b/prebuilt/libs/libksygpufilter.a differ diff --git a/prebuilt/libs/libksystreamerbase.a b/prebuilt/libs/libksystreamerbase.a index dd0b9cd..dd4cbd2 100644 Binary files a/prebuilt/libs/libksystreamerbase.a and b/prebuilt/libs/libksystreamerbase.a differ diff --git a/prebuilt/libs/libksystreamerengine.a b/prebuilt/libs/libksystreamerengine.a index 0418187..340955a 100644 Binary files a/prebuilt/libs/libksystreamerengine.a and b/prebuilt/libs/libksystreamerengine.a differ diff --git a/releaseFramework/release-libKSYLive.sh b/releaseFramework/release-libKSYLive.sh index 7fce9bf..af49de2 100755 --- a/releaseFramework/release-libKSYLive.sh +++ b/releaseFramework/release-libKSYLive.sh @@ -102,6 +102,7 @@ if [ $FRAMEWORKNAME = "libksygpulive" ]; then xDownload GPUImage $TYPE xDownload Bugly "" xDownload YYImage "" + xDownload ZipArchive "" fi TARGET_NAME=$FRAMEWORKNAME diff --git a/source/KSYGPUStreamerKit.m b/source/KSYGPUStreamerKit.m index 3d821ee..344bc4d 100644 --- a/source/KSYGPUStreamerKit.m +++ b/source/KSYGPUStreamerKit.m @@ -742,6 +742,7 @@ - (void) updatePreDimension { inSz = [self getDimension:inSz byOriention:_vCapDev.outputImageOrientation]; CGSize cropSz = [self calcCropSize:inSz to:_previewDimension]; _capToGpu.cropRegion = [self calcCropRect:inSz to:cropSz]; + _capToGpu.outputRotation = kGPUImageNoRotation; [_capToGpu forceProcessingAtSize:_previewDimension]; } - (void) updateStrDimension:(UIInterfaceOrientation) orie { @@ -1027,21 +1028,11 @@ - (void)setGpuOutputPixelFormat: (OSType) fmt { - (void) setPreviewMirrored:(BOOL)bMirrored { if(_vPreviewMixer){ - GPUImageRotationMode ro = kGPUImageNoRotation; - if (bMirrored) { - GPUImageRotationMode inRo = _capToGpu.outputRotation; - if (inRo == kGPUImageRotateLeft) { - ro = _filter ? kGPUImageFlipHorizonal : kGPUImageRotateRightFlipHorizontal; - } - else if (inRo == kGPUImageRotateRight ) { - ro = _filter ? kGPUImageFlipHorizonal : kGPUImageRotateRightFlipVertical; - } - else { - ro = kGPUImageFlipHorizonal; - } - } - else if (!_filter){ - ro = _capToGpu.outputRotation; + GPUImageRotationMode ro = bMirrored ? kGPUImageFlipHorizonal: kGPUImageNoRotation; + int ang = _previewRotateAng / M_PI_2; + BOOL capAng = GPUImageRotationSwapsWidthAndHeight(_capToGpu.outputRotation); + if ( !capAng && (ang == 1 || ang == 3)) { + ro = bMirrored ? kGPUImageFlipVertical : kGPUImageNoRotation; } [_vPreviewMixer setPicRotation:ro ofLayer:_cameraLayer]; } @@ -1051,22 +1042,7 @@ - (void) setPreviewMirrored:(BOOL)bMirrored { - (void) setStreamerMirrored:(BOOL)bMirrored { if (_vStreamMixer){ - GPUImageRotationMode ro = kGPUImageNoRotation; - if( bMirrored ) { - GPUImageRotationMode inRo = _capToGpu.outputRotation; - if (inRo == kGPUImageRotateLeft) { - ro = _filter ? kGPUImageFlipHorizonal : kGPUImageRotateRightFlipHorizontal; - } - else if (inRo == kGPUImageRotateRight ) { - ro = _filter ? kGPUImageFlipHorizonal : kGPUImageRotateRightFlipVertical; - } - else { - ro = kGPUImageFlipHorizonal; - } - } - else if (!_filter){ - ro = _capToGpu.outputRotation; - } + GPUImageRotationMode ro = bMirrored ? kGPUImageFlipHorizonal: kGPUImageNoRotation; [_vStreamMixer setPicRotation:ro ofLayer:_cameraLayer]; } _streamerMirrored = bMirrored; @@ -1114,23 +1090,19 @@ - (void) rotatePreviewTo: (UIInterfaceOrientation) orie { }); } --(void)internalRotatePreviewTo: (UIInterfaceOrientation) orie -{ +-(void)internalRotatePreviewTo: (UIInterfaceOrientation) orie { _previewOrientation = orie; UIView* view = [_preview superview]; if (_videoOrientation == orie || view == nil) { - for (UIView *v in _vPreviewMixer.targets) { - v.transform = CGAffineTransformIdentity; - } _previewRotateAng = 0; } else { int capOri = UIOrienToIdx(_vCapDev.outputImageOrientation); int appOri = UIOrienToIdx(orie); _previewRotateAng = KSYRotateAngles[ capOri ][ appOri ]; - for (UIView *v in _vPreviewMixer.targets) { - v.transform = CGAffineTransformMakeRotation(_previewRotateAng); - } + } + for (UIView *v in _vPreviewMixer.targets) { + v.transform = CGAffineTransformMakeRotation(_previewRotateAng); } _preview.frame = view.bounds; [self setPreviewMirrored: _previewMirrored]; @@ -1153,23 +1125,14 @@ - (void) rotateStreamTo: (UIInterfaceOrientation) orie { if (_gpuToStr.bAutoRepeat) { return; } - if (_videoOrientation == orie || _vCapDev.isRunning == NO) { - int capOri = UIOrienToIdx(_videoOrientation); - int appOri = UIOrienToIdx(orie); - GPUImageRotationMode mode = KSYRotateMode[capOri][appOri]; - _capToGpu.outputRotation = mode; - [_preview setInputRotation:mode atIndex:0]; - } - else { - int capOri = UIOrienToIdx(_videoOrientation); - int appOri = UIOrienToIdx(orie); - GPUImageRotationMode mode = KSYRotateMode[capOri][appOri]; - GPUImageRotationMode oppositeMode = KSYRotateMode[appOri][capOri]; - _capToGpu.outputRotation = mode; - [_preview setInputRotation:oppositeMode atIndex:0]; - } + int capOri = UIOrienToIdx(_videoOrientation); + int appOri = UIOrienToIdx(orie); + GPUImageRotationMode oppositeMode = KSYRotateMode[appOri][capOri]; + [_preview setInputRotation:oppositeMode atIndex:0]; [self updatePreDimension]; [self updateStrDimension:orie]; + GPUImageRotationMode mode = KSYRotateMode[capOri][appOri]; + _capToGpu.outputRotation = mode; [self setStreamerMirrored: _streamerMirrored]; [self setPreviewMirrored: _previewMirrored]; }