diff --git a/Gemfile.lock b/Gemfile.lock index 7dddffda9..5f23a8f01 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,8 +30,8 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.956.0) - aws-sdk-core (3.201.1) + aws-partitions (1.957.0) + aws-sdk-core (3.201.2) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) diff --git a/HaishinKit.podspec b/HaishinKit.podspec index 5b528d673..0ca7f904f 100644 --- a/HaishinKit.podspec +++ b/HaishinKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "HaishinKit" - s.version = "1.9.1" + s.version = "1.9.2" s.summary = "Camera and Microphone streaming library via RTMP for iOS, macOS, tvOS and visionOS." s.swift_version = "5.10" diff --git a/HaishinKit.xcodeproj/project.pbxproj b/HaishinKit.xcodeproj/project.pbxproj index c1150c499..74a8cfed2 100644 --- a/HaishinKit.xcodeproj/project.pbxproj +++ b/HaishinKit.xcodeproj/project.pbxproj @@ -700,6 +700,7 @@ BC959F1129717EDB0067BA97 /* PreferenceViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferenceViewController.swift; sourceTree = ""; }; BC9CFA9223BDE8B700917EEF /* IOStreamView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IOStreamView.swift; sourceTree = ""; }; BC9F9C7726F8C16600B01ED0 /* Choreographer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Choreographer.swift; sourceTree = ""; }; + BCA2E7F32C4B6C7E0012F2D4 /* SRTHaishinKit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SRTHaishinKit.podspec; sourceTree = ""; }; BCA3A5242BC4ED220083BBB1 /* RTMPTimestamp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RTMPTimestamp.swift; sourceTree = ""; }; BCA3A5262BC507880083BBB1 /* RTMPTimestampTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RTMPTimestampTests.swift; sourceTree = ""; }; BCA7C24E2A91AA0500882D85 /* IOStreamRecorderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IOStreamRecorderTests.swift; sourceTree = ""; }; @@ -960,6 +961,7 @@ 2927A2991E7ED2D70044AF91 /* LICENSE.md */, 2997BDD31D50D31B000AF900 /* README.md */, 29F04FF21F3388B000172706 /* HaishinKit.podspec */, + BCA2E7F32C4B6C7E0012F2D4 /* SRTHaishinKit.podspec */, 29F39BE72335F8010055F9BB /* Package.swift */, BC0587D02BD2C9C5006751C8 /* DebugDescription */, 2968973E1CDB01920074D5F0 /* Examples */, @@ -2448,7 +2450,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 1.9.1; + MARKETING_VERSION = 1.9.2; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; ONLY_ACTIVE_ARCH = YES; @@ -2495,7 +2497,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 1.9.1; + MARKETING_VERSION = 1.9.2; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; ONLY_ACTIVE_ARCH = NO; @@ -2908,7 +2910,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.9.1; + MARKETING_VERSION = 1.9.2; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; @@ -2964,7 +2966,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.9.1; + MARKETING_VERSION = 1.9.2; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; MTL_FAST_MATH = YES; diff --git a/README.md b/README.md index 6a10a6323..ab1d5522a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ * Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS. * README.md contains unreleased content, which can be tested on the main branch. -* [API Documentation](https://docs.haishinkit.com/swift/1.9.1/) +* [API Documentation](https://docs.haishinkit.com/swift/1.9.2/) ## 💖 Sponsors

@@ -300,7 +300,7 @@ stream.configuration { session in ``` ### 🔊 Audio -#### [Capture](https://docs.haishinkit.com/swift/1.9.1/Classes/IOAudioCaptureUnit.html) +#### [Capture](https://docs.haishinkit.com/swift/1.9.2/Classes/IOAudioCaptureUnit.html) Specifies the capture capture settings. ```swift let front = AVCaptureDevice.default(for: .audio) @@ -308,7 +308,7 @@ stream.attachAudio(front, track: 0) { audioUnit, error in } ``` -#### [AudioMixerSettings](https://docs.haishinkit.com/swift/1.9.1/Structs/IOAudioMixerSettings.html) +#### [AudioMixerSettings](https://docs.haishinkit.com/swift/1.9.2/Structs/IOAudioMixerSettings.html) If you want to mix multiple audio tracks, please enable the feature flag. ```swift stream.isMultiTrackAudioMixingEnabled = true @@ -333,7 +333,7 @@ stream.audioMixerSettings.tracks = [ ] ``` -#### [AudioCodecSettings](https://docs.haishinkit.com/swift/1.9.1/Structs/AudioCodecSettings.html) +#### [AudioCodecSettings](https://docs.haishinkit.com/swift/1.9.2/Structs/AudioCodecSettings.html) ```swift /// Specifies the bitRate of audio output. stream.audioSettings.bitrate = 64 * 1000 @@ -344,7 +344,7 @@ stream.audioSettings.downmix = true ``` ### 🎥 Video -#### [Capture](https://docs.haishinkit.com/swift/1.9.1/Classes/IOVideoCaptureUnit.html) +#### [Capture](https://docs.haishinkit.com/swift/1.9.2/Classes/IOVideoCaptureUnit.html) Specifies the video capture settings. ```swift let front = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) @@ -355,7 +355,7 @@ stream.attachCamera(front, track: 0) { videoUnit, error in } ``` -#### [VideoMixerSettings](https://docs.haishinkit.com/swift/1.9.1/Structs/IOVideoMixerSettings.html) +#### [VideoMixerSettings](https://docs.haishinkit.com/swift/1.9.2/Structs/IOVideoMixerSettings.html) ```swift /// Specifies the image rendering mode. stream.videoMixerSettings.mode = .passthrough or .offscreen @@ -365,7 +365,7 @@ stream.videoMixerSettings.isMuted = false stream.videoMixerSettings.mainTrack = 0 ``` -#### [VideoCodecSettings](https://docs.haishinkit.com/swift/1.9.1/Structs/VideoCodecSettings.html) +#### [VideoCodecSettings](https://docs.haishinkit.com/swift/1.9.2/Structs/VideoCodecSettings.html) ```swift stream.videoSettings = .init( videoSize: .init(width: 854, height: 480), diff --git a/SRTHaishinKit.podspec b/SRTHaishinKit.podspec index f3aa6247a..081cab451 100644 --- a/SRTHaishinKit.podspec +++ b/SRTHaishinKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SRTHaishinKit" - s.version = "1.9.1" + s.version = "1.9.2" s.summary = "Camera and Microphone streaming library via SRT for iOS, macOS, tvOS and visionOS." s.swift_version = "5.10" @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.osx.deployment_target = "13.0" s.tvos.deployment_target = "13.0" s.visionos.deployment_target = "1.0" - s.source_files = "SRTHaishinKit/*.{h, swift}" + s.source_files = "SRTHaishinKit/*.{h,swift}" s.vendored_frameworks = "Vendor/SRT/libsrt.xcframework" - s.dependency 'HaishinKit', '~> 1.9.1' + s.dependency 'HaishinKit', '~> 1.9.2' end