KSYAirStreamKit Class Reference
+Inherits from | +NSObject | +
---|---|
Declared in | +KSYAirStreamKit.h | +
– initWithToken:error:
+
+
+ 带鉴权的构造接收server实例
+- (instancetype)initWithToken:(NSString *)token error:(NSError **)error
Parameters
+token |
+ 鉴权信息, 请联系商务获取 |
+
---|---|
error |
+ 鉴权过程中的错误信息 |
+
Return Value
+新构造的实例
+Declared In
+KSYAirStreamKit.h
airTunesServer
+
+
+ airplay 接受端
+@property KSYAirTunesServer *airTunesServer
Declared In
+KSYAirStreamKit.h
airCfg
+
+
+ airplay 配置信息
+@property KSYAirTunesConfig *airCfg
Declared In
+KSYAirStreamKit.h
aCapDev
+
+
+ 麦克风采集设备
+@property KSYAudioCap *aCapDev
Declared In
+KSYAirStreamKit.h
aMixer
+
+
+ 音频mixer (音频buffer)
+@property KSYAudioMixer *aMixer
Declared In
+KSYAirStreamKit.h
streamUrl
+
+
+ rtmp 推流地址
+@property NSString *streamUrl
Declared In
+KSYAirStreamKit.h
videoBitrate
+
+
+ rtmp 推流视频码率
+@property int videoBitrate
Declared In
+KSYAirStreamKit.h
streamerBase
+
+
+ rtmp 推流
+@property KSYStreamerBase *streamerBase
Declared In
+KSYAirStreamKit.h
delegate
+
+
+ 录制过程的代理
+@property (nonatomic, weak) id<KSYAirDelegate> delegate
Declared In
+KSYAirStreamKit.h
– startService
+
+
+ 启动镜像服务, 当成功建立airplay镜像连接时, 再启动音频采集和推流
+- (void)startService
Declared In
+KSYAirStreamKit.h
– stopService
+
+
+ 停止镜像服务
+- (void)stopService
Declared In
+KSYAirStreamKit.h
Copyright © 2017 Kingsoft. All rights reserved.
+Generated by appledoc 2.2.1 (build 1334).
+