diff --git a/Examples/Examples.xcodeproj/project.pbxproj b/Examples/Examples.xcodeproj/project.pbxproj index c8c67d26e..086e762e2 100644 --- a/Examples/Examples.xcodeproj/project.pbxproj +++ b/Examples/Examples.xcodeproj/project.pbxproj @@ -31,6 +31,7 @@ BC912A7A2D12F0600077EFF3 /* MoQTHaishinKit in Frameworks */ = {isa = PBXBuildFile; productRef = BC912A792D12F0600077EFF3 /* MoQTHaishinKit */; }; BC912A7E2D12F06F0077EFF3 /* SRTHaishinKit in Frameworks */ = {isa = PBXBuildFile; productRef = BC912A7D2D12F06F0077EFF3 /* SRTHaishinKit */; }; BC912A812D12F10C0077EFF3 /* libc++.1.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = BC912A802D12F0900077EFF3 /* libc++.1.tbd */; }; + BC912DDD2D185D360077EFF3 /* MoQTHaishinKit in Frameworks */ = {isa = PBXBuildFile; productRef = BC912DDC2D185D360077EFF3 /* MoQTHaishinKit */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -252,6 +253,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + BC912DDD2D185D360077EFF3 /* MoQTHaishinKit in Frameworks */, BC33A1232CDF525B0016EEA0 /* SRTHaishinKit in Frameworks */, BC33A1212CDF525B0016EEA0 /* HaishinKit in Frameworks */, ); @@ -1394,6 +1396,11 @@ package = BC9128822D12E7AD0077EFF3 /* XCLocalSwiftPackageReference "../../HaishinKit.swift" */; productName = SRTHaishinKit; }; + BC912DDC2D185D360077EFF3 /* MoQTHaishinKit */ = { + isa = XCSwiftPackageProductDependency; + package = BC9128822D12E7AD0077EFF3 /* XCLocalSwiftPackageReference "../../HaishinKit.swift" */; + productName = MoQTHaishinKit; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 2945CBB41B4BE66000104112 /* Project object */; diff --git a/MoQTHaishinKit/Sources/Extension/NWProtocolQUIC.Options+Extension.swift b/MoQTHaishinKit/Sources/Extension/NWProtocolQUIC.Options+Extension.swift index a296e3c42..0abfc0b39 100644 --- a/MoQTHaishinKit/Sources/Extension/NWProtocolQUIC.Options+Extension.swift +++ b/MoQTHaishinKit/Sources/Extension/NWProtocolQUIC.Options+Extension.swift @@ -1,6 +1,6 @@ import Network -@available(iOS 16.0, macOS 13.0, *) +@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) extension NWProtocolQUIC.Options { func verifySelfCert() -> NWProtocolQUIC.Options { let securityProtocolOptions: sec_protocol_options_t = self.securityProtocolOptions diff --git a/MoQTHaishinKit/Sources/MoQTConnection.swift b/MoQTHaishinKit/Sources/MoQTConnection.swift index 268e2d45c..973a4e7d6 100644 --- a/MoQTHaishinKit/Sources/MoQTConnection.swift +++ b/MoQTHaishinKit/Sources/MoQTConnection.swift @@ -1,6 +1,6 @@ import Foundation -@available(iOS 16.0, macOS 13.0, *) +@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) public actor MoQTConnection { public static let defaultPort = 4433 /// The supported protocols are moqt. diff --git a/MoQTHaishinKit/Sources/MoQTSocket.swift b/MoQTHaishinKit/Sources/MoQTSocket.swift index 6e3cecd44..581bb6003 100644 --- a/MoQTHaishinKit/Sources/MoQTSocket.swift +++ b/MoQTHaishinKit/Sources/MoQTSocket.swift @@ -2,7 +2,7 @@ import Foundation import HaishinKit import Network -@available(iOS 16.0, macOS 13.0, *) +@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) final actor MoQTSocket { static let alpn = ["moq-00"] static let defaultWindowSizeC = Int(UInt8.max) @@ -199,7 +199,7 @@ final actor MoQTSocket { } } -@available(iOS 16.0, macOS 13.0, *) +@available(iOS 16.0, macOS 13.0, tvOS 16.0, *) extension MoQTSocket: NetworkTransportReporter { // MARK: NetworkTransportReporter func makeNetworkMonitor() async -> NetworkMonitor { diff --git a/README.md b/README.md index 12d42ebc6..8da9bf64b 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ Do you need additional support? Technical support on Issues and Discussions is provided only to contributors and academic researchers of HaishinKit. By becoming a sponsor, we can provide the support you need. Sponsor: $50 per month: Technical support via GitHub Issues with priority response. -* If you want to support e-mail based communication without GitHub. - - Consulting fee is [$50](https://www.paypal.me/shogo4405/50USD)/1 incident. I'm able to response a few days. ## 💬 Communication * GitHub Issues and Discussions are open spaces for communication among users and are available to everyone as long as [the code of conduct](https://github.com/shogo4405/HaishinKit.swift?tab=coc-ov-file) is followed. * The author focuses on responding to contributors and academic researchers of HaishinKit, so please do not expect a reply. * Whether someone is a contributor to HaishinKit is mainly determined by their GitHub profile icon. If you are using the default icon, there is a chance your input might be overlooked, so please consider setting a custom one. It could be a picture of your pet, for example. Personally, I like cats. +* If you want to support e-mail based communication without GitHub. + * Consulting fee is [$50](https://www.paypal.me/shogo4405/50USD)/1 incident. I'm able to response a few days. ## 🌏 Related projects Project name |Notes |License