diff --git a/KSYAirStreamer.podspec b/KSYAirStreamer.podspec index b061a5a..4d0e590 100644 --- a/KSYAirStreamer.podspec +++ b/KSYAirStreamer.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'KSYAirStreamer' - s.version = '0.1.0' + s.version = '1.0.0' s.summary = 'airplay receiver => rtmp streamer' s.description = <<-DESC @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.author = { 'pengbins' => 'pengbin@kingsoft.com' } s.source = { :git => 'https://github.com/ksvc/KSYAirStreamer_iOS.git', - :tag => 'v'+s.version.to_s + :tag => s.version.to_s } s.requires_arc = true s.ios.library = 'z', 'iconv', 'stdc++.6', 'bz2' @@ -28,6 +28,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.source_files = ['prebuilt/include/**/*.h','source/*.{h,m}'] s.vendored_library = 'prebuilt/libs/libksyairserver.a' + #s.vendored_library = 'prebuilt/libs/libksyairserver_auth.a' s.dependency 'libksygpulive/libksygpulive' s.dependency 'CocoaAsyncSocket' end diff --git a/demo/KSYAirStreamer.xcodeproj/project.pbxproj b/demo/KSYAirStreamer.xcodeproj/project.pbxproj index 23275c9..12b0bb5 100644 --- a/demo/KSYAirStreamer.xcodeproj/project.pbxproj +++ b/demo/KSYAirStreamer.xcodeproj/project.pbxproj @@ -14,7 +14,6 @@ 061A2A201F014112003968DB /* KSYUIVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 061A2A1A1F014112003968DB /* KSYUIVC.m */; }; 061A2A211F014112003968DB /* KSYUIView.m in Sources */ = {isa = PBXBuildFile; fileRef = 061A2A1C1F014112003968DB /* KSYUIView.m */; }; 06665C761EF28ABA006F4567 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06665C751EF28ABA006F4567 /* MediaPlayer.framework */; }; - 25A391E668B74380A1447DB2 /* Pods_KSYAirStreamer_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C2FDAA941F5C02081FF649DA /* Pods_KSYAirStreamer_Example.framework */; }; 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; @@ -30,7 +29,6 @@ 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; - 8BAEB67FA3F4257B811EC6F6 /* Pods_KSYAirStreamer_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E3A97BB6324AEAEB4CA3CEDE /* Pods_KSYAirStreamer_Tests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -57,7 +55,6 @@ 061A2A1B1F014112003968DB /* KSYUIView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSYUIView.h; sourceTree = ""; }; 061A2A1C1F014112003968DB /* KSYUIView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSYUIView.m; sourceTree = ""; }; 06665C751EF28ABA006F4567 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; - 0BF9F5B1EF11F7D1B27AE18E /* Pods-KSYAirStreamer_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KSYAirStreamer_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KSYAirStreamer_Example/Pods-KSYAirStreamer_Example.debug.xcconfig"; sourceTree = ""; }; 6003F58A195388D20070C39A /* KSYAirStreamer_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KSYAirStreamer_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; @@ -78,14 +75,9 @@ 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 76C7CFE05A412566B224F1F3 /* Pods-KSYAirStreamer_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KSYAirStreamer_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-KSYAirStreamer_Example/Pods-KSYAirStreamer_Example.release.xcconfig"; sourceTree = ""; }; 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - A007910617974036088E23E0 /* Pods-KSYAirStreamer_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KSYAirStreamer_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KSYAirStreamer_Tests/Pods-KSYAirStreamer_Tests.debug.xcconfig"; sourceTree = ""; }; B22399E595AD6E87F8CD101E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; B5A8192A4FCBF321BA3C10C8 /* KSYAirStreamer.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = KSYAirStreamer.podspec; path = ../KSYAirStreamer.podspec; sourceTree = ""; }; - C2FDAA941F5C02081FF649DA /* Pods_KSYAirStreamer_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KSYAirStreamer_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D908396BBDD2C2915E9DBF21 /* Pods-KSYAirStreamer_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KSYAirStreamer_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-KSYAirStreamer_Tests/Pods-KSYAirStreamer_Tests.release.xcconfig"; sourceTree = ""; }; - E3A97BB6324AEAEB4CA3CEDE /* Pods_KSYAirStreamer_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KSYAirStreamer_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -97,7 +89,6 @@ 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, - 25A391E668B74380A1447DB2 /* Pods_KSYAirStreamer_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -108,7 +99,6 @@ 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, - 8BAEB67FA3F4257B811EC6F6 /* Pods_KSYAirStreamer_Tests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -140,7 +130,6 @@ 6003F5B5195388D20070C39A /* Tests */, 6003F58C195388D20070C39A /* Frameworks */, 6003F58B195388D20070C39A /* Products */, - FE88AA6425369E14942C871B /* Pods */, ); sourceTree = ""; }; @@ -161,8 +150,6 @@ 6003F58F195388D20070C39A /* CoreGraphics.framework */, 6003F591195388D20070C39A /* UIKit.framework */, 6003F5AF195388D20070C39A /* XCTest.framework */, - C2FDAA941F5C02081FF649DA /* Pods_KSYAirStreamer_Example.framework */, - E3A97BB6324AEAEB4CA3CEDE /* Pods_KSYAirStreamer_Tests.framework */, ); name = Frameworks; sourceTree = ""; @@ -225,17 +212,6 @@ name = "Podspec Metadata"; sourceTree = ""; }; - FE88AA6425369E14942C871B /* Pods */ = { - isa = PBXGroup; - children = ( - 0BF9F5B1EF11F7D1B27AE18E /* Pods-KSYAirStreamer_Example.debug.xcconfig */, - 76C7CFE05A412566B224F1F3 /* Pods-KSYAirStreamer_Example.release.xcconfig */, - A007910617974036088E23E0 /* Pods-KSYAirStreamer_Tests.debug.xcconfig */, - D908396BBDD2C2915E9DBF21 /* Pods-KSYAirStreamer_Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -243,12 +219,9 @@ isa = PBXNativeTarget; buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "KSYAirStreamer_Example" */; buildPhases = ( - BE50F8CA20FEC5BF16071D69 /* [CP] Check Pods Manifest.lock */, 6003F586195388D20070C39A /* Sources */, 6003F587195388D20070C39A /* Frameworks */, 6003F588195388D20070C39A /* Resources */, - A40652FF4546AB71A8EBFD52 /* [CP] Embed Pods Frameworks */, - 9CE9049CF0D1B6A624731613 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -263,12 +236,9 @@ isa = PBXNativeTarget; buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "KSYAirStreamer_Tests" */; buildPhases = ( - C1558E2DCEFE5A490ABCCC37 /* [CP] Check Pods Manifest.lock */, 6003F5AA195388D20070C39A /* Sources */, 6003F5AB195388D20070C39A /* Frameworks */, 6003F5AC195388D20070C39A /* Resources */, - D4A068F578DAE1860804879B /* [CP] Embed Pods Frameworks */, - 087EE1DFFBDE82854AB0DF49 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -292,7 +262,6 @@ TargetAttributes = { 6003F589195388D20070C39A = { DevelopmentTeam = ZGJ54Q7R45; - ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.BackgroundModes = { enabled = 1; @@ -345,99 +314,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 087EE1DFFBDE82854AB0DF49 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KSYAirStreamer_Tests/Pods-KSYAirStreamer_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 9CE9049CF0D1B6A624731613 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KSYAirStreamer_Example/Pods-KSYAirStreamer_Example-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - A40652FF4546AB71A8EBFD52 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KSYAirStreamer_Example/Pods-KSYAirStreamer_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - BE50F8CA20FEC5BF16071D69 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - C1558E2DCEFE5A490ABCCC37 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - D4A068F578DAE1860804879B /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KSYAirStreamer_Tests/Pods-KSYAirStreamer_Tests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 6003F586195388D20070C39A /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -576,7 +452,6 @@ }; 6003F5C0195388D20070C39A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0BF9F5B1EF11F7D1B27AE18E /* Pods-KSYAirStreamer_Example.debug.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -588,7 +463,7 @@ INFOPLIST_FILE = "KSYAirStreamer/KSYAirStreamer-Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_BUNDLE_IDENTIFIER = com.ksyun.ios.KSYAirStreamer; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -599,7 +474,6 @@ }; 6003F5C1195388D20070C39A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 76C7CFE05A412566B224F1F3 /* Pods-KSYAirStreamer_Example.release.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; @@ -611,7 +485,7 @@ INFOPLIST_FILE = "KSYAirStreamer/KSYAirStreamer-Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_BUNDLE_IDENTIFIER = com.ksyun.ios.KSYAirStreamer; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -622,7 +496,6 @@ }; 6003F5C3195388D20070C39A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A007910617974036088E23E0 /* Pods-KSYAirStreamer_Tests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( @@ -646,7 +519,6 @@ }; 6003F5C4195388D20070C39A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D908396BBDD2C2915E9DBF21 /* Pods-KSYAirStreamer_Tests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; FRAMEWORK_SEARCH_PATHS = ( diff --git a/demo/KSYAirStreamer/KSYAirStreamer-Info.plist b/demo/KSYAirStreamer/KSYAirStreamer-Info.plist index b34662f..3682511 100644 --- a/demo/KSYAirStreamer/KSYAirStreamer-Info.plist +++ b/demo/KSYAirStreamer/KSYAirStreamer-Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 0.1.0.7 + 1.0.0.2 LSRequiresIPhoneOS NSAppTransportSecurity diff --git a/docs/docset-installed.txt b/docs/docset-installed.txt new file mode 100644 index 0000000..9eb1e7b --- /dev/null +++ b/docs/docset-installed.txt @@ -0,0 +1,4 @@ +Documentation set was installed to Xcode! + +Path: /Users/ksyci/Library/Developer/Shared/Documentation/DocSets/com.ksyun.KSYAirStreamer_iOS.docset +Time: 2017-07-19 02:36:15 +0000 \ No newline at end of file diff --git a/docs/docset/Contents/Info.plist b/docs/docset/Contents/Info.plist new file mode 100644 index 0000000..dd24f48 --- /dev/null +++ b/docs/docset/Contents/Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleIdentifier + com.ksyun.KSYAirStreamer_iOS + CFBundleName + KSYAirStreamer_iOS Documentation + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + + + + + DocSetFeedName + KSYAirStreamer_iOS Documentation + + DocSetMinimumXcodeVersion + 3.0 + + DashDocSetFamily + appledoc + DocSetPublisherIdentifier + com.ksyun.documentation + DocSetPublisherName + Kingsoft + NSHumanReadableCopyright + Copyright © 2017 Kingsoft. All rights reserved. + + diff --git a/docs/docset/Contents/Resources/Documents/Classes/KSYAirStreamKit.html b/docs/docset/Contents/Resources/Documents/Classes/KSYAirStreamKit.html new file mode 100644 index 0000000..53a8dc4 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Classes/KSYAirStreamKit.html @@ -0,0 +1,639 @@ + + + + + + KSYAirStreamKit Class Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirStreamKit Class Reference

+ + +
+ + + + + + + +
Inherits fromNSObject
Declared inKSYAirStreamKit.h
+ + + + +
+ +

Overview

+

airplay 镜像录屏 + KSYStreamerBase 推流

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

– 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

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesConfig.html b/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesConfig.html new file mode 100644 index 0000000..58db642 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesConfig.html @@ -0,0 +1,398 @@ + + + + + + KSYAirTunesConfig Class Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirTunesConfig Class Reference

+ + +
+ + + + + + + +
Inherits fromNSObject
Declared inKSYAirTunesServer.h
+ + + + +
+ +

Overview

+

airplay的配置信息

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

  airplayName +

+ +
+
+ +
+ + +
+

AirPlay 设备的名字

+
+ + + +
@property (nonatomic, copy) NSString *airplayName
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  videoSize +

+ +
+
+ +
+ + +
+

接收设备的尺寸(竖屏时高度为videoSize, 宽度根据屏幕比例计算得到,横屏时反之)

+
+ + + +
@property (nonatomic, assign) int videoSize
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  framerate +

+ +
+
+ +
+ + +
+

希望接收到ios发送端的视频帧率 默认30

+
+ + + +
@property (nonatomic, assign) int framerate
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  airTunesPort +

+ +
+
+ +
+ + +
+

设置airtunes 服务的监听端口, 0 表示系统自动分配

+
+ + + +
@property (nonatomic, assign) short airTunesPort
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  airVideoPort +

+ +
+
+ +
+ + +
+

设置视频数据的接收端口,默认是7100, 当7100被占用时, 会尝试+1 尝试10次, 如果仍然失败报告端口冲突

+
+ + + +
@property (nonatomic, assign) short airVideoPort
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  macAddr +

+ +
+
+ +
+ + +
+

设备的mac地址, 默认随机生成,(长度为6字节)

+
+ + + +
@property (nonatomic, copy) NSData *macAddr
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesServer.html b/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesServer.html new file mode 100644 index 0000000..3f3534e --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Classes/KSYAirTunesServer.html @@ -0,0 +1,496 @@ + + + + + + KSYAirTunesServer Class Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirTunesServer Class Reference

+ + +
+ + + + + + + +
Inherits fromNSObject
Declared inKSYAirTunesServer.h
+ + + + +
+ +

Overview

+

Airplay 接收server

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

– initWithToken:error: +

+ +
+
+ +
+ + +
+

带鉴权的构造接收server实例

+
+ + + +
- (instancetype)initWithToken:(NSString *)token error:(NSError **)error
+ + + +
+

Parameters

+ + + + + + + + + + + + +
token

鉴权信息, 请联系商务获取

error

鉴权过程中的错误信息

+
+ + + +
+

Return Value

+

新构造的实例

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  videoProcessingCallback +

+ +
+
+ +
+ + +
+

获取屏幕画面的回调

+
+ + + +
@property (nonatomic, copy) void ( ^ ) ( CVPixelBufferRef pixelBuffer , CMTime timeInfo ) videoProcessingCallback
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  delegate +

+ +
+
+ +
+ + +
+

录制过程的通知代理

+
+ + + +
@property (nonatomic, weak) id<KSYAirDelegate> delegate
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

  airState +

+ +
+
+ +
+ + +
+

airplay 录制状态

+
+ + + +
@property (nonatomic, readonly) KSYAirState airState
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

– startServerWithCfg: +

+ +
+
+ +
+ + +
+

启动服务

+
+ + + +
- (void)startServerWithCfg:(KSYAirTunesConfig *)cfg
+ + + +
+

Parameters

+ + + + + + + +
cfg

服务的配置信息

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

– stopServer +

+ +
+
+ +
+ + +
+

停止服务

+
+ + + +
- (void)stopServer
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

– getKSYAirErrorName: +

+ +
+
+ +
+ + +
+

查询 errorcode 的名称

+
+ + + +
- (NSString *)getKSYAirErrorName:(KSYAirErrorCode)errCode
+ + + +
+

Parameters

+ + + + + + + +
errCode

错误码

+
+ + + +
+

Return Value

+

错误码的名称字符串

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Classes/KSYAudioCap.html b/docs/docset/Contents/Resources/Documents/Classes/KSYAudioCap.html new file mode 100644 index 0000000..36b95ca --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Classes/KSYAudioCap.html @@ -0,0 +1,121 @@ + + + + + + KSYAudioCap Class Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAudioCap Class Reference

+ + +
+ + + + + + + +
Inherits fromKSYAUAudioCapture
Declared inKSYAirStreamKit.h
+ + + + +
+ +

Overview

+

音频采集模块, 主要是重写 isHeadsetPluggedIn方法, 避免音频采集的问题

+
+ + + + + + + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Constants/KSYAirErrorCode.html b/docs/docset/Contents/Resources/Documents/Constants/KSYAirErrorCode.html new file mode 100644 index 0000000..7a6ef52 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Constants/KSYAirErrorCode.html @@ -0,0 +1,251 @@ + + + + + + KSYAirErrorCode Constants Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirErrorCode Constants Reference

+ + +
+ + + + +
Declared inKSYAirTunesServer.h
+ + + + + + + +

KSYAirErrorCode

+ + +
+

airplay的错误码

+
+ + +
+ + +

Definition

+ typedef NS_ENUM(NSUInteger, KSYAirErrorCode ) {
+ +    KSYAirErrorCodePortConflict,
+ +    KSYAirErrorCodeNetworkDisconnection,
+ +    KSYAirErrorCodeAirPlaySelectTimeout,
+ +    KSYAirErrorCodeConnectFailed,
+ +    KSYAirErrorCodeConnectBreak,
+ +    KSYAirErrorCodeOther,
+ + };
+ +
+ +
+

Constants

+
+ +
KSYAirErrorCodePortConflict
+
+ + +

AirPlay端口冲突

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirErrorCodeNetworkDisconnection
+
+ + +

网络未连接

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirErrorCodeAirPlaySelectTimeout
+
+ + +

连接AirPlay超时

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirErrorCodeConnectFailed
+
+ + +

连接失败

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirErrorCodeConnectBreak
+
+ + +

连接断开

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirErrorCodeOther
+
+ + +

其他错误

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

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

Declared In

+

KSYAirTunesServer.h

+
+ + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Constants/KSYAirState.html b/docs/docset/Contents/Resources/Documents/Constants/KSYAirState.html new file mode 100644 index 0000000..c3a27fe --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Constants/KSYAirState.html @@ -0,0 +1,232 @@ + + + + + + KSYAirState Constants Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirState Constants Reference

+ + +
+ + + + +
Declared inKSYAirTunesServer.h
+ + + + + + + +

KSYAirState

+ + +
+

airplay的状态信息

+
+ + +
+ + +

Definition

+ typedef NS_ENUM(NSUInteger, KSYAirState ) {
+ +    KSYAirState_Idle,
+ +    KSYAirState_Connecting,
+ +    KSYAirState_Mirroring,
+ +    KSYAirState_Disconnecting,
+ +    KSYAirState_Error,
+ + };
+ +
+ +
+

Constants

+
+ +
KSYAirState_Idle
+
+ + +

初始状态, 空闲

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirState_Connecting
+
+ + +

连接中

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirState_Mirroring
+
+ + +

镜像中, 连接完成了

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirState_Disconnecting
+
+ + +

断开连接中

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

+ +
+ +
KSYAirState_Error
+
+ + +

发生错误了

+ + + + + + +

+ Declared In KSYAirTunesServer.h. +

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

Declared In

+

KSYAirTunesServer.h

+
+ + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/Protocols/KSYAirDelegate.html b/docs/docset/Contents/Resources/Documents/Protocols/KSYAirDelegate.html new file mode 100644 index 0000000..f644f3c --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/Protocols/KSYAirDelegate.html @@ -0,0 +1,310 @@ + + + + + + KSYAirDelegate Protocol Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + +
+
+
+
+

KSYAirDelegate Protocol Reference

+ + +
+ + + + + + + +
Conforms toNSObject
Declared inKSYAirTunesServer.h
+ + + + +
+ +

Overview

+

airplay 镜像状态变化的代理

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

– didStartMirroring: +required method

+ +
+
+ +
+ + +
+

airplay 镜像成功开始了

+
+ + + +
- (void)didStartMirroring:(KSYAirTunesServer *)server
+ + + +
+

Parameters

+ + + + + + + +
server

airplay服务对象

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

– mirroringErrorDidOcccur:withError: +required method

+ +
+
+ +
+ + +
+

airplay 镜像 遇到错误了

+
+ + + +
- (void)mirroringErrorDidOcccur:(KSYAirTunesServer *)server withError:(NSError *)error
+ + + +
+

Parameters

+ + + + + + + + + + + + +
server

airplay服务对象

error

遇到的错误, code 参见 KSYAirErrorCode的定义

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+ +

– didStopMirroring: +required method

+ +
+
+ +
+ + +
+

airplay 镜像成功结束了

+
+ + + +
- (void)didStopMirroring:(KSYAirTunesServer *)server
+ + + +
+

Parameters

+ + + + + + + +
server

airplay服务对象

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

Declared In

+

KSYAirTunesServer.h

+
+ + +
+
+
+
+ +
+ + + + + + +
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_index.scss b/docs/docset/Contents/Resources/Documents/css/scss/_index.scss new file mode 100644 index 0000000..6a57ec5 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_index.scss @@ -0,0 +1,17 @@ +.index-container { + -webkit-flex-direction: column; + flex-direction: column; + + @media (min-width: $desktop-min-width) { + display: flex; + -webkit-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + flex-wrap: wrap; + } + + .index-column { + -webkit-flex: 1 1 33%; + flex: 1 1 33%; + } +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_layout.scss b/docs/docset/Contents/Resources/Documents/css/scss/_layout.scss new file mode 100644 index 0000000..da46aef --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_layout.scss @@ -0,0 +1,302 @@ +* { + box-sizing: border-box; +} + +.clear { + clear: both; +} + +.clearfix { + &:before, &:after { + clear: both; + display: table; + content: ""; + } +} + +.xcode .hide-in-xcode { + display: none; +} + +body { + font: 62.5% $body-font; + background: $body-background; + + @media (max-width: $mobile-max-width) { + background-color: $content-background; + } +} + +h1, h2, h3 { + font-weight: 300; + color: #808080; +} + +h1 { + font-size: 2em; + color: #000; +} + +h4 { + font-size: 13px; + line-height: 1.5; + margin: 21px 0 0 0; +} + +a { + color: $tint-color; + text-decoration: none; +} + +pre, code { + font-family: $code-font; + word-wrap: break-word; +} + +pre > code, .method-declaration code { + display: inline-block; + font-size: .85em; + padding: 4px 0 4px 10px; + border-left: 5px solid rgba(0, 155, 51, .2); + + &:before { + content: "Objective-C"; + display: block; + + font: 9px/1 $body-font; + color: #009b33; + text-transform: uppercase; + letter-spacing: 2px; + padding-bottom: 6px; + } +} + +pre > code { + font-size: inherit; +} + +table, th, td { + border: 1px solid #e9e9e9; +} + +table { + width: 100%; +} + +th, td { + padding: 7px; + + > :first-child { + margin-top: 0; + } + + > :last-child { + margin-bottom: 0; + } +} + +.container { + @extend .clearfix; + + max-width: 980px; + padding: 0 10px; + margin: 0 auto; + + @media (max-width: $mobile-max-width) { + padding: 0; + } +} + +header { + position: fixed; + top: 0; + left: 0; + width: 100%; + z-index: 2; + + background: #414141; + color: #fff; + font-size: 1.1em; + line-height: 25px; + letter-spacing: .05em; + + #library-title { + float: left; + } + + #developer-home { + float: right; + } + + h1 { + font-size: inherit; + font-weight: inherit; + margin: 0; + } + + p { + margin: 0; + } + + h1, a { + color: inherit; + } + + @media (max-width: $mobile-max-width) { + .container { + padding: 0 10px; + } + } +} + +aside { + position: fixed; + top: 25px; + left: 0; + width: 100%; + height: 25px; + z-index: 2; + + font-size: 1.1em; + + #header-buttons { + background: rgba(255, 255, 255, .8); + margin: 0 1px; + padding: 0; + list-style: none; + text-align: right; + line-height: 32px; + + li { + display: inline-block; + cursor: pointer; + padding: 0 10px; + } + + label, select { + cursor: inherit; + } + + #on-this-page { + position: relative; + + .chevron { + display: inline-block; + width: 14px; + height: 4px; + position: relative; + + .chevy { + background: #878787; + height: 2px; + position: absolute; + width: 10px; + + &.chevron-left { + left: 0; + transform: rotateZ(45deg) scale(0.6); + } + + &.chevron-right { + right: 0; + transform: rotateZ(-45deg) scale(0.6); + } + } + } + + #jump-to { + opacity: 0; + font-size: 16px; + + position: absolute; + top: 5px; + left: 0; + width: 100%; + height: 100%; + } + } + } +} + +article { + margin-top: 25px; + + #content { + @extend .clearfix; + + background: $content-background; + border: 1px solid $content-border; + padding: 15px 25px 30px 25px; + + font-size: 1.4em; + line-height: 1.45; + + position: relative; + + @media (max-width: $mobile-max-width) { + padding: 15px 10px 20px 10px; + border: none; + } + + .navigation-top { + position: absolute; + top: 15px; + right: 25px; + } + + .title { + margin: 21px 0 0 0; + padding: 15px 0; + } + + p { + color: #414141; + margin: 0 0 15px 0; + } + + th, td { + p:last-child { + margin-bottom: 0; + } + } + + main { + ul { + list-style: none; + margin-left: 24px; + margin-bottom: 12px; + padding: 0; + + li { + position: relative; + padding-left: 1.3em; + + &:before { + content: "\02022"; + + color: #414141; + font-size: 1.08em; + line-height: 1; + + position: absolute; + left: 0; + padding-top: 2px; + } + } + } + } + + footer { + @extend .clearfix; + + .footer-copyright { + margin: 70px 25px 10px 0; + } + + p { + font-size: .71em; + color: #a0a0a0; + } + } + } +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_normalize.scss b/docs/docset/Contents/Resources/Documents/css/scss/_normalize.scss new file mode 100644 index 0000000..9b8848a --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_normalize.scss @@ -0,0 +1,581 @@ +/* ========================================================================== + Normalize.scss settings + ========================================================================== */ +/** + * Includes legacy browser support IE6/7 + * + * Set to false if you want to drop support for IE6 and IE7 + */ + +$legacy_browser_support: false !default; + +/* Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + * 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using + * `em` units. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ + @if $legacy_browser_support { + *font-size: 100%; /* 3 */ + } +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ + @if $legacy_browser_support { + *display: inline; + *zoom: 1; + } +} + +/** + * Prevents modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a { + &:active, &:hover { + outline: 0; + }; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +@if $legacy_browser_support { + blockquote { + margin: 1em 40px; + } +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +@if $legacy_browser_support { + h2 { + font-size: 1.5em; + margin: 0.83em 0; + } + + h3 { + font-size: 1.17em; + margin: 1em 0; + } + + h4 { + font-size: 1em; + margin: 1.33em 0; + } + + h5 { + font-size: 0.83em; + margin: 1.67em 0; + } + + h6 { + font-size: 0.67em; + margin: 2.33em 0; + } +} + +/** + * Addresses styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +@if $legacy_browser_support { + + /** + * Addresses margins set differently in IE 6/7. + */ + + p, + pre { + *margin: 1em 0; + } + + /* + * Addresses CSS quotes not supported in IE 6/7. + */ + + q { + *quotes: none; + } + + /* + * Addresses `quotes` property not supported in Safari 4. + */ + + q:before, + q:after { + content: ''; + content: none; + } +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +@if $legacy_browser_support { + + /* ========================================================================== + Lists + ========================================================================== */ + + /* + * Addresses margins set differently in IE 6/7. + */ + + dl, + menu, + ol, + ul { + *margin: 1em 0; + } + + dd { + *margin: 0 0 0 40px; + } + + /* + * Addresses paddings set differently in IE 6/7. + */ + + menu, + ol, + ul { + *padding: 0 0 0 40px; + } + + /* + * Corrects list images handled incorrectly in IE 7. + */ + + nav ul, + nav ol { + *list-style: none; + *list-style-image: none; + } + +} + +/* Embedded content + ========================================================================== */ + +/** + * 1. Remove border when inside `a` element in IE 8/9/10. + * 2. Improves image quality when scaled in IE 7. + */ + +img { + border: 0; + @if $legacy_browser_support { + *-ms-interpolation-mode: bicubic; /* 2 */ + } +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + @if $legacy_browser_support { + _font-family: 'courier new', monospace; + } + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + * 4. Improves appearance and consistency in all browsers. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ + @if $legacy_browser_support { + vertical-align: baseline; /* 3 */ + *vertical-align: middle; /* 3 */ + } +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + * 4. Removes inner spacing in IE 7 without affecting normal text inputs. + * Known issue: inner spacing remains in IE 6. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ + @if $legacy_browser_support { + *overflow: visible; /* 4 */ + } +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + * Known issue: excess padding remains in IE 6. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ + @if $legacy_browser_support { + *height: 13px; /* 3 */ + *width: 13px; /* 3 */ + } +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + * 3. Corrects text not wrapping in Firefox 3. + * 4. Corrects alignment displayed oddly in IE 6/7. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ + @if $legacy_browser_support { + white-space: normal; /* 3 */ + *margin-left: -7px; /* 4 */ + } +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_object.scss b/docs/docset/Contents/Resources/Documents/css/scss/_object.scss new file mode 100644 index 0000000..22eebd8 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_object.scss @@ -0,0 +1,89 @@ +.section-specification { + table { + width: auto; + + th { + text-align: left; + } + } +} + +.method-title { + margin-left: -15px; + margin-bottom: 8px; + transition: margin-left .3s ease-out; + + .section-method.hide & { + margin-left: 0; + } + + code { + font-weight: 400; + font-size: .85em; + } +} + +.method-info { + background: $object-background; + border-bottom: 1px solid $object-border; + margin: 0 -25px; + padding: 20px 25px 0 25px; + transition: height .3s ease-out; + + position: relative; + + .pointy-thing { + background: $content-background; + height: 10px; + border-bottom: 1px solid $object-border; + margin: -20px -25px 16px -25px; + + &:before { + display: inline-block; + content: ""; + + background: $object-background; + border: 1px solid $object-border; + border-bottom: 0; + border-right: 0; + + position: absolute; + left: 21px; + top: 3px; + width: 12px; + height: 12px; + transform: rotate(45deg); + } + } + + .method-subsection { + margin-bottom: 15px; + + .argument-name { + width: 1px; + text-align: right; + + code { + color: #808080; + font-style: italic; + font-weight: 400; + } + } + } +} + +.section-method { + &.hide .method-info { + height: 0 !important; + overflow: hidden; + display: none; + } + + &.hide.animating .method-info { + display: block; + } + + &.animating .method-info { + overflow: hidden; + } +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_print.scss b/docs/docset/Contents/Resources/Documents/css/scss/_print.scss new file mode 100644 index 0000000..61bdf99 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_print.scss @@ -0,0 +1,42 @@ +@media print { + body { + background: #fff; + padding: 8px; + } + + header { + position: static; + background: #fff; + color: #000; + } + + aside { + display: none; + } + + .container { + max-width: none; + padding: 0; + } + + article { + margin-top: 0; + + #content { + border: 0; + background: #fff; + padding: 15px 0 0 0; + + .title { + margin-top: 0; + padding-top: 0; + } + } + } + + .method-info { + &, & .pointy-thing { + background: #fff; + } + } +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_variables.scss b/docs/docset/Contents/Resources/Documents/css/scss/_variables.scss new file mode 100644 index 0000000..38e072d --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_variables.scss @@ -0,0 +1,12 @@ +$body-font: -apple-system-font, "Helvetica Neue", Helvetica, sans-serif; +$code-font: "Source Code Pro", Monaco, Menlo, Consolas, monospace; + +$body-background: #f2f2f2; +$content-background: #fff; +$content-border: #e9e9e9; +$tint-color: #08c; +$object-background: #f9f9f9; +$object-border: #e9e9e9; + +$mobile-max-width: 650px; +$desktop-min-width: 768px; \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/css/scss/_xcode.scss b/docs/docset/Contents/Resources/Documents/css/scss/_xcode.scss new file mode 100644 index 0000000..340b1f6 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/_xcode.scss @@ -0,0 +1,29 @@ +.xcode { + header, aside { + display: none; + } + + .container { + padding: 0; + } + + article { + margin-top: 0; + + #content { + border: 0; + margin: 0; + } + } + + .method-info { + &, .section-method.hide & { + max-height: auto; + overflow: visible; + + &.hiding { + display: block; + } + } + } +} diff --git a/docs/docset/Contents/Resources/Documents/css/scss/style.scss b/docs/docset/Contents/Resources/Documents/css/scss/style.scss new file mode 100644 index 0000000..648a608 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/scss/style.scss @@ -0,0 +1 @@ +@import "variables", "normalize", "layout", "index", "object", "print", "xcode"; diff --git a/docs/docset/Contents/Resources/Documents/css/style.css b/docs/docset/Contents/Resources/Documents/css/style.css new file mode 100644 index 0000000..d9d59dd --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/css/style.css @@ -0,0 +1,2 @@ +html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box}.clear{clear:both}.clearfix:before,.container:before,article #content:before,article #content footer:before,.clearfix:after,.container:after,article #content:after,article #content footer:after{clear:both;display:table;content:""}.xcode .hide-in-xcode{display:none}body{font:62.5% -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;background:#f2f2f2}@media (max-width: 650px){body{background-color:#fff}}h1,h2,h3{font-weight:300;color:#808080}h1{font-size:2em;color:#000}h4{font-size:13px;line-height:1.5;margin:21px 0 0 0}a{color:#08c;text-decoration:none}pre,code{font-family:"Source Code Pro",Monaco,Menlo,Consolas,monospace;word-wrap:break-word}pre>code,.method-declaration code{display:inline-block;font-size:.85em;padding:4px 0 4px 10px;border-left:5px solid rgba(0,155,51,0.2)}pre>code:before,.method-declaration code:before{content:"Objective-C";display:block;font:9px/1 -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;color:#009b33;text-transform:uppercase;letter-spacing:2px;padding-bottom:6px}pre>code{font-size:inherit}table,th,td{border:1px solid #e9e9e9}table{width:100%}th,td{padding:7px}th>:first-child,td>:first-child{margin-top:0}th>:last-child,td>:last-child{margin-bottom:0}.container{max-width:980px;padding:0 10px;margin:0 auto}@media (max-width: 650px){.container{padding:0}}header{position:fixed;top:0;left:0;width:100%;z-index:2;background:#414141;color:#fff;font-size:1.1em;line-height:25px;letter-spacing:.05em}header #library-title{float:left}header #developer-home{float:right}header h1{font-size:inherit;font-weight:inherit;margin:0}header p{margin:0}header h1,header a{color:inherit}@media (max-width: 650px){header .container{padding:0 10px}}aside{position:fixed;top:25px;left:0;width:100%;height:25px;z-index:2;font-size:1.1em}aside #header-buttons{background:rgba(255,255,255,0.8);margin:0 1px;padding:0;list-style:none;text-align:right;line-height:32px}aside #header-buttons li{display:inline-block;cursor:pointer;padding:0 10px}aside #header-buttons label,aside #header-buttons select{cursor:inherit}aside #header-buttons #on-this-page{position:relative}aside #header-buttons #on-this-page .chevron{display:inline-block;width:14px;height:4px;position:relative}aside #header-buttons #on-this-page .chevron .chevy{background:#878787;height:2px;position:absolute;width:10px}aside #header-buttons #on-this-page .chevron .chevy.chevron-left{left:0;transform:rotateZ(45deg) scale(0.6)}aside #header-buttons #on-this-page .chevron .chevy.chevron-right{right:0;transform:rotateZ(-45deg) scale(0.6)}aside #header-buttons #on-this-page #jump-to{opacity:0;font-size:16px;position:absolute;top:5px;left:0;width:100%;height:100%}article{margin-top:25px}article #content{background:#fff;border:1px solid #e9e9e9;padding:15px 25px 30px 25px;font-size:1.4em;line-height:1.45;position:relative}@media (max-width: 650px){article #content{padding:15px 10px 20px 10px;border:none}}article #content .navigation-top{position:absolute;top:15px;right:25px}article #content .title{margin:21px 0 0 0;padding:15px 0}article #content p{color:#414141;margin:0 0 15px 0}article #content th p:last-child,article #content td p:last-child{margin-bottom:0}article #content main ul{list-style:none;margin-left:24px;margin-bottom:12px;padding:0}article #content main ul li{position:relative;padding-left:1.3em}article #content main ul li:before{content:"\02022";color:#414141;font-size:1.08em;line-height:1;position:absolute;left:0;padding-top:2px}article #content footer .footer-copyright{margin:70px 25px 10px 0}article #content footer p{font-size:.71em;color:#a0a0a0}.index-container{-webkit-flex-direction:column;flex-direction:column}@media (min-width: 768px){.index-container{display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}}.index-container .index-column{-webkit-flex:1 1 33%;flex:1 1 33%}.section-specification table{width:auto}.section-specification table th{text-align:left}.method-title{margin-left:-15px;margin-bottom:8px;transition:margin-left .3s ease-out}.section-method.hide .method-title{margin-left:0}.method-title code{font-weight:400;font-size:.85em}.method-info{background:#f9f9f9;border-bottom:1px solid #e9e9e9;margin:0 -25px;padding:20px 25px 0 25px;transition:height .3s ease-out;position:relative}.method-info .pointy-thing{background:#fff;height:10px;border-bottom:1px solid #e9e9e9;margin:-20px -25px 16px -25px}.method-info .pointy-thing:before{display:inline-block;content:"";background:#f9f9f9;border:1px solid #e9e9e9;border-bottom:0;border-right:0;position:absolute;left:21px;top:3px;width:12px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg) }.method-info .method-subsection{margin-bottom:15px}.method-info .method-subsection .argument-name{width:1px;text-align:right}.method-info .method-subsection .argument-name code{color:#808080;font-style:italic;font-weight:400}.section-method.hide .method-info{height:0 !important;overflow:hidden;display:none}.section-method.hide.animating .method-info{display:block}.section-method.animating .method-info{overflow:hidden}@media print{body{background:#fff;padding:8px}header{position:static;background:#fff;color:#000}aside{display:none}.container{max-width:none;padding:0}article{margin-top:0}article #content{border:0;background:#fff;padding:15px 0 0 0}article #content .title{margin-top:0;padding-top:0}.method-info,.method-info .pointy-thing{background:#fff}}.xcode header,.xcode aside{display:none}.xcode .container{padding:0}.xcode article{margin-top:0}.xcode article #content{border:0;margin:0}.xcode .method-info,.section-method.hide .xcode .method-info{max-height:auto;overflow:visible}.xcode .method-info.hiding,.section-method.hide .xcode .method-info.hiding{display:block} + diff --git a/docs/docset/Contents/Resources/Documents/hierarchy.html b/docs/docset/Contents/Resources/Documents/hierarchy.html new file mode 100644 index 0000000..193eeb7 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/hierarchy.html @@ -0,0 +1,115 @@ + + + + + + KSYAirStreamer_iOS Hierarchy + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/img/button_bar_background.png b/docs/docset/Contents/Resources/Documents/img/button_bar_background.png new file mode 100644 index 0000000..71d1019 Binary files /dev/null and b/docs/docset/Contents/Resources/Documents/img/button_bar_background.png differ diff --git a/docs/docset/Contents/Resources/Documents/img/disclosure.png b/docs/docset/Contents/Resources/Documents/img/disclosure.png new file mode 100644 index 0000000..4c5cbf4 Binary files /dev/null and b/docs/docset/Contents/Resources/Documents/img/disclosure.png differ diff --git a/docs/docset/Contents/Resources/Documents/img/disclosure_open.png b/docs/docset/Contents/Resources/Documents/img/disclosure_open.png new file mode 100644 index 0000000..82396fe Binary files /dev/null and b/docs/docset/Contents/Resources/Documents/img/disclosure_open.png differ diff --git a/docs/docset/Contents/Resources/Documents/img/library_background.png b/docs/docset/Contents/Resources/Documents/img/library_background.png new file mode 100644 index 0000000..3006248 Binary files /dev/null and b/docs/docset/Contents/Resources/Documents/img/library_background.png differ diff --git a/docs/docset/Contents/Resources/Documents/img/title_background.png b/docs/docset/Contents/Resources/Documents/img/title_background.png new file mode 100644 index 0000000..846e496 Binary files /dev/null and b/docs/docset/Contents/Resources/Documents/img/title_background.png differ diff --git a/docs/docset/Contents/Resources/Documents/index.html b/docs/docset/Contents/Resources/Documents/index.html new file mode 100644 index 0000000..3b342e4 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/index.html @@ -0,0 +1,109 @@ + + + + + + KSYAirStreamer_iOS Reference + + + + + + +
+
+ +

+ KSYAirStreamer_iOS +

+ +

+ Kingsoft +

+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Documents/js/script.js b/docs/docset/Contents/Resources/Documents/js/script.js new file mode 100644 index 0000000..4074361 --- /dev/null +++ b/docs/docset/Contents/Resources/Documents/js/script.js @@ -0,0 +1,59 @@ +function $() { + return document.querySelector.apply(document, arguments); +} + +if (navigator.userAgent.indexOf("Xcode") != -1) { + document.documentElement.classList.add("xcode"); +} + +var jumpTo = $("#jump-to"); + +if (jumpTo) { + jumpTo.addEventListener("change", function(e) { + location.hash = this.options[this.selectedIndex].value; + }); +} + +function hashChanged() { + if (/^#\/\/api\//.test(location.hash)) { + var element = document.querySelector("a[name='" + location.hash.substring(1) + "']"); + + if (!element) { + return; + } + + element = element.parentNode; + + element.classList.remove("hide"); + fixScrollPosition(element); + } +} + +function fixScrollPosition(element) { + var scrollTop = element.offsetTop - 150; + document.documentElement.scrollTop = scrollTop; + document.body.scrollTop = scrollTop; +} + +[].forEach.call(document.querySelectorAll(".section-method"), function(element) { + element.classList.add("hide"); + + element.querySelector(".method-title a").addEventListener("click", function(e) { + var info = element.querySelector(".method-info"), + infoContainer = element.querySelector(".method-info-container"); + + element.classList.add("animating"); + info.style.height = (infoContainer.clientHeight + 40) + "px"; + fixScrollPosition(element); + element.classList.toggle("hide"); + if (element.classList.contains("hide")) { + e.preventDefault(); + } + setTimeout(function() { + element.classList.remove("animating"); + }, 300); + }); +}); + +window.addEventListener("hashchange", hashChanged); +hashChanged(); diff --git a/docs/docset/Contents/Resources/Nodes.xml b/docs/docset/Contents/Resources/Nodes.xml new file mode 100644 index 0000000..0ef6166 --- /dev/null +++ b/docs/docset/Contents/Resources/Nodes.xml @@ -0,0 +1,191 @@ + + + + + KSYAirStreamer_iOS + index.html + + + + + Classes + index.html + + + + + + + + + + + + + Protocols + index.html + + + + + + + + + Constants + index.html + + + + + + + + + + + + + + + KSYAirStreamKit + Classes/KSYAirStreamKit.html + + + + Classes/KSYAirStreamKit.html + Overview + overview + + + Classes/KSYAirStreamKit.html + Tasks + tasks + + + + Classes/KSYAirStreamKit.html + Properties + properties + + + + + + Classes/KSYAirStreamKit.html + Instance Methods + instance_methods + + + + + + + KSYAirTunesConfig + Classes/KSYAirTunesConfig.html + + + + Classes/KSYAirTunesConfig.html + Overview + overview + + + Classes/KSYAirTunesConfig.html + Tasks + tasks + + + + Classes/KSYAirTunesConfig.html + Properties + properties + + + + + + + + + KSYAirTunesServer + Classes/KSYAirTunesServer.html + + + + Classes/KSYAirTunesServer.html + Overview + overview + + + Classes/KSYAirTunesServer.html + Tasks + tasks + + + + Classes/KSYAirTunesServer.html + Properties + properties + + + + + + Classes/KSYAirTunesServer.html + Instance Methods + instance_methods + + + + + + + KSYAudioCap + Classes/KSYAudioCap.html + + + + + + KSYAirDelegate + Protocols/KSYAirDelegate.html + + + + Protocols/KSYAirDelegate.html + Overview + overview + + + Protocols/KSYAirDelegate.html + Tasks + tasks + + + + + + Protocols/KSYAirDelegate.html + Instance Methods + instance_methods + + + + + + + + KSYAirErrorCode + Constants/KSYAirErrorCode.html + + + + KSYAirState + Constants/KSYAirState.html + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens1.xml b/docs/docset/Contents/Resources/Tokens1.xml new file mode 100644 index 0000000..040c5a4 --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens1.xml @@ -0,0 +1,350 @@ + + + + + + //apple_ref/occ/cl/KSYAirStreamKit + airplay 镜像录屏 + KSYStreamerBase 推流 + KSYAirStreamKit.h + + + + + + + + //apple_ref/occ/instm/KSYAirStreamKit/initWithToken:error: + 带鉴权的构造接收server实例 + KSYAirStreamKit.h + + - (instancetype)initWithToken:(NSString *)token error:(NSError **)error + + + token + 鉴权信息, 请联系商务获取 + + error + 鉴权过程中的错误信息 + + + 新构造的实例 + //api/name/initWithToken:error: + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setAirTunesServer: + airplay 接受端 + KSYAirStreamKit.h + + @property KSYAirTunesServer *airTunesServer + + + //api/name/airTunesServer + + + + + //apple_ref/occ/instm/KSYAirStreamKit/airTunesServer + airplay 接受端 + KSYAirStreamKit.h + + @property KSYAirTunesServer *airTunesServer + + + //api/name/airTunesServer + + + + + //apple_ref/occ/instp/KSYAirStreamKit/airTunesServer + airplay 接受端 + KSYAirStreamKit.h + + @property KSYAirTunesServer *airTunesServer + + + //api/name/airTunesServer + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setAirCfg: + airplay 配置信息 + KSYAirStreamKit.h + + @property KSYAirTunesConfig *airCfg + + + //api/name/airCfg + + + + + //apple_ref/occ/instm/KSYAirStreamKit/airCfg + airplay 配置信息 + KSYAirStreamKit.h + + @property KSYAirTunesConfig *airCfg + + + //api/name/airCfg + + + + + //apple_ref/occ/instp/KSYAirStreamKit/airCfg + airplay 配置信息 + KSYAirStreamKit.h + + @property KSYAirTunesConfig *airCfg + + + //api/name/airCfg + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setACapDev: + 麦克风采集设备 + KSYAirStreamKit.h + + @property KSYAudioCap *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instm/KSYAirStreamKit/aCapDev + 麦克风采集设备 + KSYAirStreamKit.h + + @property KSYAudioCap *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instp/KSYAirStreamKit/aCapDev + 麦克风采集设备 + KSYAirStreamKit.h + + @property KSYAudioCap *aCapDev + + + //api/name/aCapDev + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setAMixer: + 音频mixer (音频buffer) + KSYAirStreamKit.h + + @property KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instm/KSYAirStreamKit/aMixer + 音频mixer (音频buffer) + KSYAirStreamKit.h + + @property KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instp/KSYAirStreamKit/aMixer + 音频mixer (音频buffer) + KSYAirStreamKit.h + + @property KSYAudioMixer *aMixer + + + //api/name/aMixer + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setStreamUrl: + rtmp 推流地址 + KSYAirStreamKit.h + + @property NSString *streamUrl + + + //api/name/streamUrl + + + + + //apple_ref/occ/instm/KSYAirStreamKit/streamUrl + rtmp 推流地址 + KSYAirStreamKit.h + + @property NSString *streamUrl + + + //api/name/streamUrl + + + + + //apple_ref/occ/instp/KSYAirStreamKit/streamUrl + rtmp 推流地址 + KSYAirStreamKit.h + + @property NSString *streamUrl + + + //api/name/streamUrl + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setVideoBitrate: + rtmp 推流视频码率 + KSYAirStreamKit.h + + @property int videoBitrate + + + //api/name/videoBitrate + + + + + //apple_ref/occ/instm/KSYAirStreamKit/videoBitrate + rtmp 推流视频码率 + KSYAirStreamKit.h + + @property int videoBitrate + + + //api/name/videoBitrate + + + + + //apple_ref/occ/instp/KSYAirStreamKit/videoBitrate + rtmp 推流视频码率 + KSYAirStreamKit.h + + @property int videoBitrate + + + //api/name/videoBitrate + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setStreamerBase: + rtmp 推流 + KSYAirStreamKit.h + + @property KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instm/KSYAirStreamKit/streamerBase + rtmp 推流 + KSYAirStreamKit.h + + @property KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instp/KSYAirStreamKit/streamerBase + rtmp 推流 + KSYAirStreamKit.h + + @property KSYStreamerBase *streamerBase + + + //api/name/streamerBase + + + + + //apple_ref/occ/instm/KSYAirStreamKit/setDelegate: + 录制过程的代理 + KSYAirStreamKit.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instm/KSYAirStreamKit/delegate + 录制过程的代理 + KSYAirStreamKit.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instp/KSYAirStreamKit/delegate + 录制过程的代理 + KSYAirStreamKit.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instm/KSYAirStreamKit/startService + 启动镜像服务, 当成功建立airplay镜像连接时, 再启动音频采集和推流 + KSYAirStreamKit.h + + - (void)startService + + + //api/name/startService + + + + + //apple_ref/occ/instm/KSYAirStreamKit/stopService + 停止镜像服务 + KSYAirStreamKit.h + + - (void)stopService + + + //api/name/stopService + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens2.xml b/docs/docset/Contents/Resources/Tokens2.xml new file mode 100644 index 0000000..e27d884 --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens2.xml @@ -0,0 +1,234 @@ + + + + + + //apple_ref/occ/cl/KSYAirTunesConfig + airplay的配置信息 + KSYAirTunesServer.h + + + + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setAirplayName: + AirPlay 设备的名字 + KSYAirTunesServer.h + + @property (nonatomic, copy) NSString *airplayName + + + //api/name/airplayName + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/airplayName + AirPlay 设备的名字 + KSYAirTunesServer.h + + @property (nonatomic, copy) NSString *airplayName + + + //api/name/airplayName + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/airplayName + AirPlay 设备的名字 + KSYAirTunesServer.h + + @property (nonatomic, copy) NSString *airplayName + + + //api/name/airplayName + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setVideoSize: + 接收设备的尺寸(竖屏时高度为videoSize, 宽度根据屏幕比例计算得到,横屏时反之) + KSYAirTunesServer.h + + @property (nonatomic, assign) int videoSize + + + //api/name/videoSize + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/videoSize + 接收设备的尺寸(竖屏时高度为videoSize, 宽度根据屏幕比例计算得到,横屏时反之) + KSYAirTunesServer.h + + @property (nonatomic, assign) int videoSize + + + //api/name/videoSize + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/videoSize + 接收设备的尺寸(竖屏时高度为videoSize, 宽度根据屏幕比例计算得到,横屏时反之) + KSYAirTunesServer.h + + @property (nonatomic, assign) int videoSize + + + //api/name/videoSize + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setFramerate: + 希望接收到ios发送端的视频帧率 默认30 + KSYAirTunesServer.h + + @property (nonatomic, assign) int framerate + + + //api/name/framerate + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/framerate + 希望接收到ios发送端的视频帧率 默认30 + KSYAirTunesServer.h + + @property (nonatomic, assign) int framerate + + + //api/name/framerate + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/framerate + 希望接收到ios发送端的视频帧率 默认30 + KSYAirTunesServer.h + + @property (nonatomic, assign) int framerate + + + //api/name/framerate + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setAirTunesPort: + 设置airtunes 服务的监听端口, 0 表示系统自动分配 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airTunesPort + + + //api/name/airTunesPort + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/airTunesPort + 设置airtunes 服务的监听端口, 0 表示系统自动分配 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airTunesPort + + + //api/name/airTunesPort + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/airTunesPort + 设置airtunes 服务的监听端口, 0 表示系统自动分配 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airTunesPort + + + //api/name/airTunesPort + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setAirVideoPort: + 设置视频数据的接收端口,默认是7100, 当7100被占用时, 会尝试+1 尝试10次, 如果仍然失败报告端口冲突 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airVideoPort + + + //api/name/airVideoPort + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/airVideoPort + 设置视频数据的接收端口,默认是7100, 当7100被占用时, 会尝试+1 尝试10次, 如果仍然失败报告端口冲突 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airVideoPort + + + //api/name/airVideoPort + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/airVideoPort + 设置视频数据的接收端口,默认是7100, 当7100被占用时, 会尝试+1 尝试10次, 如果仍然失败报告端口冲突 + KSYAirTunesServer.h + + @property (nonatomic, assign) short airVideoPort + + + //api/name/airVideoPort + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/setMacAddr: + 设备的mac地址, 默认随机生成,(长度为6字节) + KSYAirTunesServer.h + + @property (nonatomic, copy) NSData *macAddr + + + //api/name/macAddr + + + + + //apple_ref/occ/instm/KSYAirTunesConfig/macAddr + 设备的mac地址, 默认随机生成,(长度为6字节) + KSYAirTunesServer.h + + @property (nonatomic, copy) NSData *macAddr + + + //api/name/macAddr + + + + + //apple_ref/occ/instp/KSYAirTunesConfig/macAddr + 设备的mac地址, 默认随机生成,(长度为6字节) + KSYAirTunesServer.h + + @property (nonatomic, copy) NSData *macAddr + + + //api/name/macAddr + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens3.xml b/docs/docset/Contents/Resources/Tokens3.xml new file mode 100644 index 0000000..5dc097e --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens3.xml @@ -0,0 +1,192 @@ + + + + + + //apple_ref/occ/cl/KSYAirTunesServer + Airplay 接收server + KSYAirTunesServer.h + + + + + + + + //apple_ref/occ/instm/KSYAirTunesServer/initWithToken:error: + 带鉴权的构造接收server实例 + KSYAirTunesServer.h + + - (instancetype)initWithToken:(NSString *)token error:(NSError **)error + + + token + 鉴权信息, 请联系商务获取 + + error + 鉴权过程中的错误信息 + + + 新构造的实例 + //api/name/initWithToken:error: + + + + + //apple_ref/occ/instm/KSYAirTunesServer/setVideoProcessingCallback: + 获取屏幕画面的回调 + KSYAirTunesServer.h + + @property (nonatomic, copy) void ( ^ ) ( CVPixelBufferRef pixelBuffer , CMTime timeInfo ) videoProcessingCallback + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instm/KSYAirTunesServer/videoProcessingCallback + 获取屏幕画面的回调 + KSYAirTunesServer.h + + @property (nonatomic, copy) void ( ^ ) ( CVPixelBufferRef pixelBuffer , CMTime timeInfo ) videoProcessingCallback + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instp/KSYAirTunesServer/videoProcessingCallback + 获取屏幕画面的回调 + KSYAirTunesServer.h + + @property (nonatomic, copy) void ( ^ ) ( CVPixelBufferRef pixelBuffer , CMTime timeInfo ) videoProcessingCallback + + + //api/name/videoProcessingCallback + + + + + //apple_ref/occ/instm/KSYAirTunesServer/setDelegate: + 录制过程的通知代理 + KSYAirTunesServer.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instm/KSYAirTunesServer/delegate + 录制过程的通知代理 + KSYAirTunesServer.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instp/KSYAirTunesServer/delegate + 录制过程的通知代理 + KSYAirTunesServer.h + + @property (nonatomic, weak) id<KSYAirDelegate> delegate + + + //api/name/delegate + + + + + //apple_ref/occ/instm/KSYAirTunesServer/setAirState: + airplay 录制状态 + KSYAirTunesServer.h + + @property (nonatomic, readonly) KSYAirState airState + + + //api/name/airState + + + + + //apple_ref/occ/instm/KSYAirTunesServer/airState + airplay 录制状态 + KSYAirTunesServer.h + + @property (nonatomic, readonly) KSYAirState airState + + + //api/name/airState + + + + + //apple_ref/occ/instp/KSYAirTunesServer/airState + airplay 录制状态 + KSYAirTunesServer.h + + @property (nonatomic, readonly) KSYAirState airState + + + //api/name/airState + + + + + //apple_ref/occ/instm/KSYAirTunesServer/startServerWithCfg: + 启动服务 + KSYAirTunesServer.h + + - (void)startServerWithCfg:(KSYAirTunesConfig *)cfg + + + cfg + 服务的配置信息 + + + + //api/name/startServerWithCfg: + + + + + //apple_ref/occ/instm/KSYAirTunesServer/stopServer + 停止服务 + KSYAirTunesServer.h + + - (void)stopServer + + + //api/name/stopServer + + + + + //apple_ref/occ/instm/KSYAirTunesServer/getKSYAirErrorName: + 查询 errorcode 的名称 + KSYAirTunesServer.h + + - (NSString *)getKSYAirErrorName:(KSYAirErrorCode)errCode + + + errCode + 错误码 + + + 错误码的名称字符串 + //api/name/getKSYAirErrorName: + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens4.xml b/docs/docset/Contents/Resources/Tokens4.xml new file mode 100644 index 0000000..4c310a2 --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens4.xml @@ -0,0 +1,18 @@ + + + + + + //apple_ref/occ/cl/KSYAudioCap + 音频采集模块, 主要是重写 isHeadsetPluggedIn方法, 避免音频采集的问题 + KSYAirStreamKit.h + + + + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens5.xml b/docs/docset/Contents/Resources/Tokens5.xml new file mode 100644 index 0000000..4dc0948 --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens5.xml @@ -0,0 +1,72 @@ + + + + + + //apple_ref/occ/intf/KSYAirDelegate + airplay 镜像状态变化的代理 + KSYAirTunesServer.h + + + + + + + + //apple_ref/occ/intfm/KSYAirDelegate/didStartMirroring: + airplay 镜像成功开始了 + KSYAirTunesServer.h + + - (void)didStartMirroring:(KSYAirTunesServer *)server + + + server + airplay服务对象 + + + + //api/name/didStartMirroring: + + + + + //apple_ref/occ/intfm/KSYAirDelegate/mirroringErrorDidOcccur:withError: + airplay 镜像 遇到错误了 + KSYAirTunesServer.h + + - (void)mirroringErrorDidOcccur:(KSYAirTunesServer *)server withError:(NSError *)error + + + server + airplay服务对象 + + error + 遇到的错误, code 参见 KSYAirErrorCode的定义 + + + + //api/name/mirroringErrorDidOcccur:withError: + + + + + //apple_ref/occ/intfm/KSYAirDelegate/didStopMirroring: + airplay 镜像成功结束了 + KSYAirTunesServer.h + + - (void)didStopMirroring:(KSYAirTunesServer *)server + + + server + airplay服务对象 + + + + //api/name/didStopMirroring: + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens6.xml b/docs/docset/Contents/Resources/Tokens6.xml new file mode 100644 index 0000000..b803d04 --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens6.xml @@ -0,0 +1,78 @@ + + + + + + //apple_ref/c/tdef/KSYAirErrorCode + airplay的错误码 + KSYAirTunesServer.h + + + + + + + + + //apple_ref/c/econst/KSYAirErrorCodePortConflict + AirPlay端口冲突 + KSYAirErrorCodePortConflict + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirErrorCodeNetworkDisconnection + 网络未连接 + KSYAirErrorCodeNetworkDisconnection + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirErrorCodeAirPlaySelectTimeout + 连接AirPlay超时 + KSYAirErrorCodeAirPlaySelectTimeout + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirErrorCodeConnectFailed + 连接失败 + KSYAirErrorCodeConnectFailed + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirErrorCodeConnectBreak + 连接断开 + KSYAirErrorCodeConnectBreak + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirErrorCodeOther + 其他错误 + KSYAirErrorCodeOther + + KSYAirTunesServer.h + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/Tokens7.xml b/docs/docset/Contents/Resources/Tokens7.xml new file mode 100644 index 0000000..a96310f --- /dev/null +++ b/docs/docset/Contents/Resources/Tokens7.xml @@ -0,0 +1,68 @@ + + + + + + //apple_ref/c/tdef/KSYAirState + airplay的状态信息 + KSYAirTunesServer.h + + + + + + + + + //apple_ref/c/econst/KSYAirState_Idle + 初始状态, 空闲 + KSYAirState_Idle + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirState_Connecting + 连接中 + KSYAirState_Connecting + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirState_Mirroring + 镜像中, 连接完成了 + KSYAirState_Mirroring + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirState_Disconnecting + 断开连接中 + KSYAirState_Disconnecting + + KSYAirTunesServer.h + + + + + + //apple_ref/c/econst/KSYAirState_Error + 发生错误了 + KSYAirState_Error + + KSYAirTunesServer.h + + + + + + + \ No newline at end of file diff --git a/docs/docset/Contents/Resources/docSet.dsidx b/docs/docset/Contents/Resources/docSet.dsidx new file mode 100644 index 0000000..bf970fc Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docset/Contents/Resources/docSet.dsidx-shm b/docs/docset/Contents/Resources/docSet.dsidx-shm new file mode 100644 index 0000000..c434f9d Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.dsidx-shm differ diff --git a/docs/docset/Contents/Resources/docSet.dsidx-wal b/docs/docset/Contents/Resources/docSet.dsidx-wal new file mode 100644 index 0000000..2b33071 Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.dsidx-wal differ diff --git a/docs/docset/Contents/Resources/docSet.mom b/docs/docset/Contents/Resources/docSet.mom new file mode 100644 index 0000000..35b91bd Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.mom differ diff --git a/docs/docset/Contents/Resources/docSet.skidx b/docs/docset/Contents/Resources/docSet.skidx new file mode 100644 index 0000000..bf9fc04 Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.skidx differ diff --git a/docs/docset/Contents/Resources/docSet.toc b/docs/docset/Contents/Resources/docSet.toc new file mode 100644 index 0000000..69469ab Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.toc differ diff --git a/docs/docset/Contents/Resources/docSet.tokencache b/docs/docset/Contents/Resources/docSet.tokencache new file mode 100644 index 0000000..4ab6188 Binary files /dev/null and b/docs/docset/Contents/Resources/docSet.tokencache differ diff --git a/docs/html/Classes/KSYAirStreamKit.html b/docs/html/Classes/KSYAirStreamKit.html index f7d798b..53a8dc4 100644 --- a/docs/html/Classes/KSYAirStreamKit.html +++ b/docs/html/Classes/KSYAirStreamKit.html @@ -80,6 +80,8 @@

+ + @@ -134,6 +136,69 @@

Overview

+ +

– initWithToken:error: +

+ +
+
+ +
+ + +
+

带鉴权的构造接收server实例

+
+ + + +
- (instancetype)initWithToken:(NSString *)token error:(NSError **)error
+ + + +
+

Parameters

+ + + + + + + + + + + + +
token

鉴权信息, 请联系商务获取

error

鉴权过程中的错误信息

+
+ + + +
+

Return Value

+

新构造的实例

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

Declared In

+

KSYAirStreamKit.h

+
+ + +
+
+

  airTunesServer

@@ -551,12 +616,14 @@

Declared In

+ +