Skip to content

Commit

Permalink
Bump to HaishinKit up 1.5.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Aug 9, 2023
1 parent 2b60cee commit 99e1b51
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.haishinkit.haishin_kit">
<uses-sdk tools:overrideLibrary="com.haishinkit.vulkan" />
</manifest>
4 changes: 2 additions & 2 deletions ios/Classes/SwiftHaishinKitPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class SwiftHaishinKitPlugin: NSObject, FlutterPlugin {
handlers[memory] = handler
result(NSNumber(value: memory))
case "newRtmpStream":
if let conneciton = (call.arguments as? [String: Any?])?["connection"] as? NSNumber {
if let handler = handlers[conneciton.intValue] as? RTMPConnectionHandler {
if let connection = (call.arguments as? [String: Any?])?["connection"] as? NSNumber {
if let handler = handlers[connection.intValue] as? RTMPConnectionHandler {
let stream = RTMPStreamHandler(plugin: self, handler: handler)
let memory = Int(bitPattern: ObjectIdentifier(stream))
handlers[memory] = stream
Expand Down
2 changes: 1 addition & 1 deletion ios/haishin_kit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'HaishinKit', '1.5.3'
s.dependency 'HaishinKit', '1.5.6'
s.platform = :ios, '11.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
4 changes: 2 additions & 2 deletions lib/net_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ abstract class NetStream {
int get frameRate;

/// Sets the frameRate.
void set frameRate(int value);
set frameRate(int value);

/// Specifies the sessionPreset for iOS.
set sessionPreset(AVCaptureSessionPreset value);
Expand All @@ -25,7 +25,7 @@ abstract class NetStream {
/// Specifies the audio compression properties.
set audioSettings(AudioSettings audioSettings);

/// Gets the hasAuio property.
/// Gets the hasAudio property.
Future<bool?> getHasAudio();

/// Sets the hasAudio property.
Expand Down

0 comments on commit 99e1b51

Please sign in to comment.