Skip to content

Commit

Permalink
Bump to up 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Jul 20, 2024
1 parent efe5f1d commit 77e1eed
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion HaishinKit.podspec
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
10 changes: 6 additions & 4 deletions HaishinKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@
BC959F1129717EDB0067BA97 /* PreferenceViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferenceViewController.swift; sourceTree = "<group>"; };
BC9CFA9223BDE8B700917EEF /* IOStreamView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IOStreamView.swift; sourceTree = "<group>"; };
BC9F9C7726F8C16600B01ED0 /* Choreographer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Choreographer.swift; sourceTree = "<group>"; };
BCA2E7F32C4B6C7E0012F2D4 /* SRTHaishinKit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SRTHaishinKit.podspec; sourceTree = "<group>"; };
BCA3A5242BC4ED220083BBB1 /* RTMPTimestamp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RTMPTimestamp.swift; sourceTree = "<group>"; };
BCA3A5262BC507880083BBB1 /* RTMPTimestampTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RTMPTimestampTests.swift; sourceTree = "<group>"; };
BCA7C24E2A91AA0500882D85 /* IOStreamRecorderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IOStreamRecorderTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -960,6 +961,7 @@
2927A2991E7ED2D70044AF91 /* LICENSE.md */,
2997BDD31D50D31B000AF900 /* README.md */,
29F04FF21F3388B000172706 /* HaishinKit.podspec */,
BCA2E7F32C4B6C7E0012F2D4 /* SRTHaishinKit.podspec */,
29F39BE72335F8010055F9BB /* Package.swift */,
BC0587D02BD2C9C5006751C8 /* DebugDescription */,
2968973E1CDB01920074D5F0 /* Examples */,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<p align="center">
Expand Down Expand Up @@ -300,15 +300,15 @@ 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)
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
Expand All @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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),
Expand Down
6 changes: 3 additions & 3 deletions SRTHaishinKit.podspec
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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

0 comments on commit 77e1eed

Please sign in to comment.