diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 7fae6dc..dc09055 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Mediasoup-Client-Swift (0.1.3) + - Mediasoup-Client-Swift (0.2.0) DEPENDENCIES: - Mediasoup-Client-Swift (from `../`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - Mediasoup-Client-Swift: c52db7719bbd89b9cc60ea108f53b9b1f29e8773 + Mediasoup-Client-Swift: d72f2ee6a6caae3270f5033464745213d95bc274 PODFILE CHECKSUM: d4fe3294dd9c7fc46519b6a7b26527f1f545e8d3 -COCOAPODS: 1.11.2 +COCOAPODS: 1.11.3 diff --git a/Mediasoup-Client-Swift.podspec b/Mediasoup-Client-Swift.podspec index bd6b813..a845f1d 100644 --- a/Mediasoup-Client-Swift.podspec +++ b/Mediasoup-Client-Swift.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |spec| } spec.name = "Mediasoup-Client-Swift" - spec.version = "0.1.3" + spec.version = "0.2.0" spec.platform = :ios, "14.0" spec.module_name = "Mediasoup" spec.module_map = "Mediasoup/Mediasoup.modulemap" diff --git a/Mediasoup_Private/Transport/SendTransportListenerAdapter.mm b/Mediasoup_Private/Transport/SendTransportListenerAdapter.mm index c702832..189bbb8 100644 --- a/Mediasoup_Private/Transport/SendTransportListenerAdapter.mm +++ b/Mediasoup_Private/Transport/SendTransportListenerAdapter.mm @@ -47,7 +47,7 @@ appData: appDataString callback: ^(NSString *id) { try { if (id == nil) { - auto ep = make_exception_ptr(MediaSoupClientError("TransportIdIsNil")); + auto ep = make_exception_ptr(MediaSoupClientError("ProducerIdIsNil")); promise.set_exception(ep); } else { promise.set_value(std::string([id UTF8String])); @@ -77,7 +77,7 @@ protocol:protocolString appData:appDataString callback: ^(NSString *id) { try { if (id == nil) { - auto ep = make_exception_ptr(MediaSoupClientError("TransportIdIsNil")); + auto ep = make_exception_ptr(MediaSoupClientError("ProducerIdIsNil")); promise.set_exception(ep); } else { promise.set_value(std::string([id UTF8String])); diff --git a/Mediasoup_Private/Transport/SendTransportWrapper.mm b/Mediasoup_Private/Transport/SendTransportWrapper.mm index ad69672..8ebbd81 100644 --- a/Mediasoup_Private/Transport/SendTransportWrapper.mm +++ b/Mediasoup_Private/Transport/SendTransportWrapper.mm @@ -148,7 +148,7 @@ - (ProducerWrapper *_Nullable)createProducerForTrack:(RTCMediaStreamTrack *_Nonn mediaStreamTrack, &encodingsVector, &codecOptionsJson, - appDataJson + &appDataJson ); return [[ProducerWrapper alloc] initWithProducer:producer mediaStreamTrack:mediaTrack listenerAdapter:listenerAdapter]; }, ^ void { diff --git a/README.md b/README.md index 857b941..a985bc2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Swift wrapper for libmediasoupclient with iOS support If you don't need to customize Mediasoup-Client-Swift itself or its dependencies, just add a line to your Podfile: ```Ruby - pod 'Mediasoup-Client-Swift', '0.1.3' + pod 'Mediasoup-Client-Swift', '0.2.0' ``` 3. **Ease of building from scratch** @@ -142,9 +142,9 @@ Swift wrapper for libmediasoupclient with iOS support Mediasoup-Client-Swift has almost no logic, it's only a convenient wrapper for other nice libraries. -* [WebRTC (version m93 with patches applied locally)](https://groups.google.com/g/discuss-webrtc/c/ws0_MYHIBOw) +* [WebRTC (version m94 with patches applied locally)](https://groups.google.com/g/discuss-webrtc/c/ws0_MYHIBOw) -* [libmediasoupclient (version 3.1.5 patched fork)](https://github.com/VLprojects/libmediasoupclient) +* [libmediasoupclient (version 3.4.0 patched fork)](https://github.com/VLprojects/libmediasoupclient) ## Roadmap diff --git a/bin/Mediasoup.xcframework/Info.plist b/bin/Mediasoup.xcframework/Info.plist index 84cd3cf..487d5ab 100644 --- a/bin/Mediasoup.xcframework/Info.plist +++ b/bin/Mediasoup.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath Mediasoup.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath Mediasoup.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Headers/Mediasoup-Swift.h b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Headers/Mediasoup-Swift.h index d254e66..ca2e931 100644 --- a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Headers/Mediasoup-Swift.h +++ b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Headers/Mediasoup-Swift.h @@ -1,4 +1,6 @@ -// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) #ifndef MEDIASOUP_SWIFT_H #define MEDIASOUP_SWIFT_H #pragma clang diagnostic push @@ -21,11 +23,20 @@ # include #endif +#pragma clang diagnostic ignored "-Wduplicate-method-match" #pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) #include +#endif +#if defined(__cplusplus) +#include +#include +#include +#else #include #include #include +#endif #if !defined(SWIFT_TYPEDEFS) # define SWIFT_TYPEDEFS 1 @@ -181,9 +192,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif +#if defined(__OBJC__) #if !defined(IBSegueAction) # define IBSegueAction #endif +#endif #if !defined(SWIFT_EXTERN) # if defined(__cplusplus) # define SWIFT_EXTERN extern "C" @@ -191,12 +204,35 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_EXTERN extern # endif #endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT noexcept +#endif +#else +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT +#endif +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_CXX_INT_DEFINED) +#define SWIFT_CXX_INT_DEFINED +namespace swift { +using Int = ptrdiff_t; +using UInt = size_t; +} +#endif +#endif +#if defined(__OBJC__) #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif #endif +#endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" #pragma clang diagnostic ignored "-Wduplicate-method-arg" #if __has_warning("-Wpragma-clang-attribute") @@ -204,6 +240,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" #if __has_attribute(external_source_symbol) # pragma push_macro("any") @@ -212,8 +249,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif +#if defined(__OBJC__) +#endif +#if defined(__cplusplus) +#endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop #endif + +#else +#error unsupported Swift architecture +#endif diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Info.plist b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Info.plist index f7ac46a..42644e5 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Info.plist and b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Info.plist differ diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Mediasoup b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Mediasoup index 7ce22dc..13d24cd 100755 Binary files a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Mediasoup and b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Mediasoup differ diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo index 324aedf..2963b9d 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.abi.json b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 0000000..de21899 --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,4981 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransportDelegate", + "printedName": "ReceiveTransportDelegate", + "declKind": "Protocol", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP", + "mangledName": "$s9Mediasoup24ReceiveTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransport", + "printedName": "ReceiveTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ReceiveTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "consume", + "printedName": "consume(consumerId:producerId:kind:rtpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC5closeyyF", + "mangledName": "$s9Mediasoup16ReceiveTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup16ReceiveTransportC", + "mangledName": "$s9Mediasoup16ReceiveTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediaKind", + "printedName": "MediaKind", + "children": [ + { + "kind": "Var", + "name": "audio", + "printedName": "audio", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5audioyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5audioyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "video", + "printedName": "video", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5videoyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5videoyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivp", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivg", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup9MediaKindO", + "mangledName": "$s9Mediasoup9MediaKindO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Transport", + "printedName": "Transport", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP2idSSvp", + "mangledName": "$s9Mediasoup9TransportP2idSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP2idSSvg", + "mangledName": "$s9Mediasoup9TransportP2idSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP6closedSbvp", + "mangledName": "$s9Mediasoup9TransportP6closedSbvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP6closedSbvg", + "mangledName": "$s9Mediasoup9TransportP6closedSbvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP7appDataSSvp", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP7appDataSSvg", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP5statsSSvp", + "mangledName": "$s9Mediasoup9TransportP5statsSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP5statsSSvg", + "mangledName": "$s9Mediasoup9TransportP5statsSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP5closeyyF", + "mangledName": "$s9Mediasoup9TransportP5closeyyF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup9TransportP10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup9TransportP16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "mangledName": "$s9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(transport:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "mangledName": "$s9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(transport:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "mangledName": "$s9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportConnectionState", + "printedName": "TransportConnectionState", + "children": [ + { + "kind": "Var", + "name": "new", + "printedName": "new", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO3newyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO3newyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "checking", + "printedName": "checking", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "connected", + "printedName": "connected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "disconnected", + "printedName": "disconnected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivp", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivg", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup24TransportConnectionStateO", + "mangledName": "$s9Mediasoup24TransportConnectionStateO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransport", + "printedName": "SendTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.SendTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "createProducer", + "printedName": "createProducer(for:encodings:codecOptions:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[WebRTC.RTCRtpEncodingParameters]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[WebRTC.RTCRtpEncodingParameters]", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCRtpEncodingParameters", + "printedName": "WebRTC.RTCRtpEncodingParameters", + "usr": "c:objc(cs)RTCRtpEncodingParameters" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "mangledName": "$s9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC2idSSvp", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC2idSSvg", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC6closedSbvp", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC6closedSbvg", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC5statsSSvp", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC5statsSSvg", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC5closeyyF", + "mangledName": "$s9Mediasoup13SendTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup13SendTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(_:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduce:kind:rtpParameters:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(_:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduceData:sctpParameters:label:protocol:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup13SendTransportC", + "mangledName": "$s9Mediasoup13SendTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ConsumerDelegate", + "printedName": "ConsumerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ConsumerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ConsumerDelegateP", + "mangledName": "$s9Mediasoup16ConsumerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransportDelegate", + "printedName": "SendTransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(transport:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(transport:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup21SendTransportDelegateP", + "mangledName": "$s9Mediasoup21SendTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediasoupError", + "printedName": "MediasoupError", + "children": [ + { + "kind": "Var", + "name": "unsupported", + "printedName": "unsupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidState", + "printedName": "invalidState", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidParameters", + "printedName": "invalidParameters", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "mediasoup", + "printedName": "mediasoup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "NSError", + "printedName": "Foundation.NSError", + "usr": "c:objc(cs)NSError" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "moduleName": "Mediasoup" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup0A5ErrorO", + "mangledName": "$s9Mediasoup0A5ErrorO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ProducerDelegate", + "printedName": "ProducerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ProducerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ProducerDelegateP", + "mangledName": "$s9Mediasoup16ProducerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ICETransportPolicy", + "printedName": "ICETransportPolicy", + "children": [ + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "relay", + "printedName": "relay", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "noHost", + "printedName": "noHost", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "all", + "printedName": "all", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO3allyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO3allyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivp", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivg", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup18ICETransportPolicyO", + "mangledName": "$s9Mediasoup18ICETransportPolicyO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Producer", + "printedName": "Producer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ProducerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC2idSSvp", + "mangledName": "$s9Mediasoup8ProducerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC2idSSvg", + "mangledName": "$s9Mediasoup8ProducerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6closedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6closedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxSpatialLayer", + "printedName": "maxSpatialLayer", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5statsSSvp", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5statsSSvg", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5pauseyyF", + "mangledName": "$s9Mediasoup8ProducerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC6resumeyyF", + "mangledName": "$s9Mediasoup8ProducerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5closeyyF", + "mangledName": "$s9Mediasoup8ProducerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setMaxSpatialLayer", + "printedName": "setMaxSpatialLayer(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "mangledName": "$s9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "replaceTrack", + "printedName": "replaceTrack(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "mangledName": "$s9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getStats", + "printedName": "getStats()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC8getStatsSSyKF", + "mangledName": "$s9Mediasoup8ProducerC8getStatsSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ProducerWrapper", + "printedName": "Mediasoup_Private.ProducerWrapper", + "usr": "c:objc(cs)ProducerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ProducerC", + "mangledName": "$s9Mediasoup8ProducerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Device", + "printedName": "Device", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "Device", + "printedName": "Mediasoup.Device", + "usr": "s:9Mediasoup6DeviceC" + } + ], + "declKind": "Constructor", + "usr": "s:9Mediasoup6DeviceCACycfc", + "mangledName": "$s9Mediasoup6DeviceCACycfc", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "isLoaded", + "printedName": "isLoaded()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC8isLoadedSbyF", + "mangledName": "$s9Mediasoup6DeviceC8isLoadedSbyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "load", + "printedName": "load(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC4load4withySS_tKF", + "mangledName": "$s9Mediasoup6DeviceC4load4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "rtpCapabilities", + "printedName": "rtpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sctpCapabilities", + "printedName": "sctpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "canProduce", + "printedName": "canProduce(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "mangledName": "$s9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createSendTransport", + "printedName": "createSendTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransport", + "printedName": "Mediasoup.SendTransport", + "usr": "s:9Mediasoup13SendTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createReceiveTransport", + "printedName": "createReceiveTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransport", + "printedName": "Mediasoup.ReceiveTransport", + "usr": "s:9Mediasoup16ReceiveTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup6DeviceC", + "mangledName": "$s9Mediasoup6DeviceC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Consumer", + "printedName": "Consumer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ConsumerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC2idSSvp", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC2idSSvg", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "producerId", + "printedName": "producerId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6closedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6closedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5statsSSvp", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5statsSSvg", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5pauseyyF", + "mangledName": "$s9Mediasoup8ConsumerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC6resumeyyF", + "mangledName": "$s9Mediasoup8ConsumerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5closeyyF", + "mangledName": "$s9Mediasoup8ConsumerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ConsumerWrapper", + "printedName": "Mediasoup_Private.ConsumerWrapper", + "usr": "c:objc(cs)ConsumerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ConsumerC", + "mangledName": "$s9Mediasoup8ConsumerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.private.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 0000000..c7bbfba --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,237 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import Mediasoup +import Mediasoup_Private +import Swift +import WebRTC +import _Concurrency +import _StringProcessing +public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { +} +@_hasMissingDesignatedInitializers public class ReceiveTransport { + weak public var delegate: Mediasoup.ReceiveTransportDelegate? + @objc deinit + public func consume(consumerId: Swift.String, producerId: Swift.String, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String?) throws -> Mediasoup.Consumer +} +extension Mediasoup.ReceiveTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.ReceiveTransport : Mediasoup_Private.ReceiveTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.ReceiveTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.ReceiveTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) +} +public enum MediaKind { + case audio + case video + public static func == (a: Mediasoup.MediaKind, b: Mediasoup.MediaKind) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol Transport : AnyObject { + var id: Swift.String { get } + var closed: Swift.Bool { get } + var connectionState: Mediasoup.TransportConnectionState { get } + var appData: Swift.String { get } + var stats: Swift.String { get } + func close() + func restartICE(with iceParameters: Swift.String) throws + func updateICEServers(_ iceServers: Swift.String) throws + func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +public protocol TransportDelegate : AnyObject { + func onConnect(transport: Mediasoup.Transport, dtlsParameters: Swift.String) + func onConnectionStateChange(transport: Mediasoup.Transport, connectionState: Mediasoup.TransportConnectionState) +} +public enum TransportConnectionState { + case new + case checking + case connected + case completed + case failed + case disconnected + case closed + public static func == (a: Mediasoup.TransportConnectionState, b: Mediasoup.TransportConnectionState) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class SendTransport { + weak public var delegate: Mediasoup.SendTransportDelegate? + @objc deinit + public func createProducer(for track: WebRTC.RTCMediaStreamTrack, encodings: [WebRTC.RTCRtpEncodingParameters]?, codecOptions: Swift.String?, appData: Swift.String?) throws -> Mediasoup.Producer +} +extension Mediasoup.SendTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.SendTransport : Mediasoup_Private.SendTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.SendTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.SendTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) + @objc dynamic public func onProduce(_ transport: Mediasoup_Private.SendTransportWrapper, kind: Swift.String, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + @objc dynamic public func onProduceData(_ transport: Mediasoup_Private.SendTransportWrapper, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public protocol ConsumerDelegate : AnyObject { + func onTransportClose(in consumer: Mediasoup.Consumer) +} +public protocol SendTransportDelegate : Mediasoup.TransportDelegate { + func onProduce(transport: Mediasoup.Transport, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + func onProduceData(transport: Mediasoup.Transport, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public enum MediasoupError : Swift.Error { + case unsupported(Swift.String) + case invalidState(Swift.String) + case invalidParameters(Swift.String) + case mediasoup(Foundation.NSError) + case unknown(Swift.Error) +} +public protocol ProducerDelegate : AnyObject { + func onTransportClose(in producer: Mediasoup.Producer) +} +public enum ICETransportPolicy { + case none + case relay + case noHost + case all + public static func == (a: Mediasoup.ICETransportPolicy, b: Mediasoup.ICETransportPolicy) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class Producer { + weak public var delegate: Mediasoup.ProducerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var maxSpatialLayer: Swift.UInt8 { + get + } + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + public func setMaxSpatialLayer(_ layer: Swift.Int) throws + public func replaceTrack(_ track: WebRTC.RTCMediaStreamTrack) throws + public func getStats() throws -> Swift.String + @objc deinit +} +extension Mediasoup.Producer : Mediasoup_Private.ProducerWrapperDelegate { + @objc dynamic public func onTransportClose(_ producer: Mediasoup_Private.ProducerWrapper) +} +public class Device { + public init() + public func isLoaded() -> Swift.Bool + public func load(with routerRTPCapabilities: Swift.String) throws + public func rtpCapabilities() throws -> Swift.String + public func sctpCapabilities() throws -> Swift.String + public func canProduce(_ mediaKind: Mediasoup.MediaKind) throws -> Swift.Bool + public func createSendTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String?, appData: Swift.String?) throws -> Mediasoup.SendTransport + public func createReceiveTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String? = nil, appData: Swift.String? = nil) throws -> Mediasoup.ReceiveTransport + @objc deinit +} +@_hasMissingDesignatedInitializers public class Consumer { + weak public var delegate: Mediasoup.ConsumerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var producerId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + @objc deinit +} +extension Mediasoup.Consumer : Mediasoup_Private.ConsumerWrapperDelegate { + @objc dynamic public func onTransportClose(_ consumer: Mediasoup_Private.ConsumerWrapper) +} +extension Mediasoup.MediaKind : Swift.Equatable {} +extension Mediasoup.MediaKind : Swift.Hashable {} +extension Mediasoup.TransportConnectionState : Swift.Equatable {} +extension Mediasoup.TransportConnectionState : Swift.Hashable {} +extension Mediasoup.ICETransportPolicy : Swift.Equatable {} +extension Mediasoup.ICETransportPolicy : Swift.Hashable {} diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftdoc b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftdoc index 8ff17cd..8b060b3 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftdoc and b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftinterface index 5f63fa1..c7bbfba 100644 --- a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftinterface +++ b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,12 +1,14 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) // swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex import Foundation @_exported import Mediasoup import Mediasoup_Private import Swift import WebRTC import _Concurrency +import _StringProcessing public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { } @_hasMissingDesignatedInitializers public class ReceiveTransport { diff --git a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/module.modulemap b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/module.modulemap index 5eb97ec..3adf8e5 100644 --- a/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/module.modulemap +++ b/bin/Mediasoup.xcframework/ios-arm64/Mediasoup.framework/Modules/module.modulemap @@ -3,6 +3,6 @@ framework module Mediasoup { } module Mediasoup.Swift { - header "Mediasoup-Swift.h" - requires objc + header "Mediasoup-Swift.h" + requires objc } diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Headers/Mediasoup-Swift.h b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Headers/Mediasoup-Swift.h index acff87a..0e9fb79 100644 --- a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Headers/Mediasoup-Swift.h +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Headers/Mediasoup-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) #ifndef MEDIASOUP_SWIFT_H #define MEDIASOUP_SWIFT_H #pragma clang diagnostic push @@ -23,11 +23,20 @@ # include #endif +#pragma clang diagnostic ignored "-Wduplicate-method-match" #pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) #include +#endif +#if defined(__cplusplus) +#include +#include +#include +#else #include #include #include +#endif #if !defined(SWIFT_TYPEDEFS) # define SWIFT_TYPEDEFS 1 @@ -183,9 +192,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif +#if defined(__OBJC__) #if !defined(IBSegueAction) # define IBSegueAction #endif +#endif #if !defined(SWIFT_EXTERN) # if defined(__cplusplus) # define SWIFT_EXTERN extern "C" @@ -193,12 +204,35 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_EXTERN extern # endif #endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT noexcept +#endif +#else +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT +#endif +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_CXX_INT_DEFINED) +#define SWIFT_CXX_INT_DEFINED +namespace swift { +using Int = ptrdiff_t; +using UInt = size_t; +} +#endif +#endif +#if defined(__OBJC__) #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif #endif +#endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" #pragma clang diagnostic ignored "-Wduplicate-method-arg" #if __has_warning("-Wpragma-clang-attribute") @@ -206,6 +240,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" #if __has_attribute(external_source_symbol) # pragma push_macro("any") @@ -214,6 +249,10 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif +#if defined(__OBJC__) +#endif +#if defined(__cplusplus) +#endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif @@ -221,7 +260,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) #ifndef MEDIASOUP_SWIFT_H #define MEDIASOUP_SWIFT_H #pragma clang diagnostic push @@ -244,11 +283,20 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # include #endif +#pragma clang diagnostic ignored "-Wduplicate-method-match" #pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) #include +#endif +#if defined(__cplusplus) +#include +#include +#include +#else #include #include #include +#endif #if !defined(SWIFT_TYPEDEFS) # define SWIFT_TYPEDEFS 1 @@ -404,9 +452,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif +#if defined(__OBJC__) #if !defined(IBSegueAction) # define IBSegueAction #endif +#endif #if !defined(SWIFT_EXTERN) # if defined(__cplusplus) # define SWIFT_EXTERN extern "C" @@ -414,12 +464,35 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_EXTERN extern # endif #endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT noexcept +#endif +#else +#if !defined(SWIFT_NOEXCEPT) +# define SWIFT_NOEXCEPT +#endif +#endif +#if defined(__cplusplus) +#if !defined(SWIFT_CXX_INT_DEFINED) +#define SWIFT_CXX_INT_DEFINED +namespace swift { +using Int = ptrdiff_t; +using UInt = size_t; +} +#endif +#endif +#if defined(__OBJC__) #if __has_feature(modules) #if __has_warning("-Watimport-in-framework-header") #pragma clang diagnostic ignored "-Watimport-in-framework-header" #endif #endif +#endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" #pragma clang diagnostic ignored "-Wduplicate-method-arg" #if __has_warning("-Wpragma-clang-attribute") @@ -427,6 +500,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" #if __has_attribute(external_source_symbol) # pragma push_macro("any") @@ -435,10 +509,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # pragma pop_macro("any") #endif +#if defined(__OBJC__) +#endif +#if defined(__cplusplus) +#endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif #pragma clang diagnostic pop #endif +#else +#error unsupported Swift architecture #endif diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Info.plist b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Info.plist index 221712e..eb0382d 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Info.plist and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Info.plist differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Mediasoup b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Mediasoup index d80bf4e..b906a56 100755 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Mediasoup and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Mediasoup differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo index d6beb79..34d4085 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo index ac10609..144e97a 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.abi.json b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..de21899 --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,4981 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransportDelegate", + "printedName": "ReceiveTransportDelegate", + "declKind": "Protocol", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP", + "mangledName": "$s9Mediasoup24ReceiveTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransport", + "printedName": "ReceiveTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ReceiveTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "consume", + "printedName": "consume(consumerId:producerId:kind:rtpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC5closeyyF", + "mangledName": "$s9Mediasoup16ReceiveTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup16ReceiveTransportC", + "mangledName": "$s9Mediasoup16ReceiveTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediaKind", + "printedName": "MediaKind", + "children": [ + { + "kind": "Var", + "name": "audio", + "printedName": "audio", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5audioyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5audioyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "video", + "printedName": "video", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5videoyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5videoyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivp", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivg", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup9MediaKindO", + "mangledName": "$s9Mediasoup9MediaKindO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Transport", + "printedName": "Transport", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP2idSSvp", + "mangledName": "$s9Mediasoup9TransportP2idSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP2idSSvg", + "mangledName": "$s9Mediasoup9TransportP2idSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP6closedSbvp", + "mangledName": "$s9Mediasoup9TransportP6closedSbvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP6closedSbvg", + "mangledName": "$s9Mediasoup9TransportP6closedSbvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP7appDataSSvp", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP7appDataSSvg", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP5statsSSvp", + "mangledName": "$s9Mediasoup9TransportP5statsSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP5statsSSvg", + "mangledName": "$s9Mediasoup9TransportP5statsSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP5closeyyF", + "mangledName": "$s9Mediasoup9TransportP5closeyyF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup9TransportP10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup9TransportP16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "mangledName": "$s9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(transport:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "mangledName": "$s9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(transport:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "mangledName": "$s9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportConnectionState", + "printedName": "TransportConnectionState", + "children": [ + { + "kind": "Var", + "name": "new", + "printedName": "new", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO3newyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO3newyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "checking", + "printedName": "checking", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "connected", + "printedName": "connected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "disconnected", + "printedName": "disconnected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivp", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivg", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup24TransportConnectionStateO", + "mangledName": "$s9Mediasoup24TransportConnectionStateO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransport", + "printedName": "SendTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.SendTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "createProducer", + "printedName": "createProducer(for:encodings:codecOptions:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[WebRTC.RTCRtpEncodingParameters]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[WebRTC.RTCRtpEncodingParameters]", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCRtpEncodingParameters", + "printedName": "WebRTC.RTCRtpEncodingParameters", + "usr": "c:objc(cs)RTCRtpEncodingParameters" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "mangledName": "$s9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC2idSSvp", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC2idSSvg", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC6closedSbvp", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC6closedSbvg", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC5statsSSvp", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC5statsSSvg", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC5closeyyF", + "mangledName": "$s9Mediasoup13SendTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup13SendTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(_:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduce:kind:rtpParameters:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(_:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduceData:sctpParameters:label:protocol:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup13SendTransportC", + "mangledName": "$s9Mediasoup13SendTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ConsumerDelegate", + "printedName": "ConsumerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ConsumerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ConsumerDelegateP", + "mangledName": "$s9Mediasoup16ConsumerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransportDelegate", + "printedName": "SendTransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(transport:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(transport:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup21SendTransportDelegateP", + "mangledName": "$s9Mediasoup21SendTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediasoupError", + "printedName": "MediasoupError", + "children": [ + { + "kind": "Var", + "name": "unsupported", + "printedName": "unsupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidState", + "printedName": "invalidState", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidParameters", + "printedName": "invalidParameters", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "mediasoup", + "printedName": "mediasoup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "NSError", + "printedName": "Foundation.NSError", + "usr": "c:objc(cs)NSError" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "moduleName": "Mediasoup" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup0A5ErrorO", + "mangledName": "$s9Mediasoup0A5ErrorO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ProducerDelegate", + "printedName": "ProducerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ProducerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ProducerDelegateP", + "mangledName": "$s9Mediasoup16ProducerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ICETransportPolicy", + "printedName": "ICETransportPolicy", + "children": [ + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "relay", + "printedName": "relay", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "noHost", + "printedName": "noHost", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "all", + "printedName": "all", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO3allyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO3allyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivp", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivg", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup18ICETransportPolicyO", + "mangledName": "$s9Mediasoup18ICETransportPolicyO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Producer", + "printedName": "Producer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ProducerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC2idSSvp", + "mangledName": "$s9Mediasoup8ProducerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC2idSSvg", + "mangledName": "$s9Mediasoup8ProducerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6closedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6closedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxSpatialLayer", + "printedName": "maxSpatialLayer", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5statsSSvp", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5statsSSvg", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5pauseyyF", + "mangledName": "$s9Mediasoup8ProducerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC6resumeyyF", + "mangledName": "$s9Mediasoup8ProducerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5closeyyF", + "mangledName": "$s9Mediasoup8ProducerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setMaxSpatialLayer", + "printedName": "setMaxSpatialLayer(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "mangledName": "$s9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "replaceTrack", + "printedName": "replaceTrack(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "mangledName": "$s9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getStats", + "printedName": "getStats()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC8getStatsSSyKF", + "mangledName": "$s9Mediasoup8ProducerC8getStatsSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ProducerWrapper", + "printedName": "Mediasoup_Private.ProducerWrapper", + "usr": "c:objc(cs)ProducerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ProducerC", + "mangledName": "$s9Mediasoup8ProducerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Device", + "printedName": "Device", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "Device", + "printedName": "Mediasoup.Device", + "usr": "s:9Mediasoup6DeviceC" + } + ], + "declKind": "Constructor", + "usr": "s:9Mediasoup6DeviceCACycfc", + "mangledName": "$s9Mediasoup6DeviceCACycfc", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "isLoaded", + "printedName": "isLoaded()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC8isLoadedSbyF", + "mangledName": "$s9Mediasoup6DeviceC8isLoadedSbyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "load", + "printedName": "load(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC4load4withySS_tKF", + "mangledName": "$s9Mediasoup6DeviceC4load4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "rtpCapabilities", + "printedName": "rtpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sctpCapabilities", + "printedName": "sctpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "canProduce", + "printedName": "canProduce(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "mangledName": "$s9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createSendTransport", + "printedName": "createSendTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransport", + "printedName": "Mediasoup.SendTransport", + "usr": "s:9Mediasoup13SendTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createReceiveTransport", + "printedName": "createReceiveTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransport", + "printedName": "Mediasoup.ReceiveTransport", + "usr": "s:9Mediasoup16ReceiveTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup6DeviceC", + "mangledName": "$s9Mediasoup6DeviceC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Consumer", + "printedName": "Consumer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ConsumerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC2idSSvp", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC2idSSvg", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "producerId", + "printedName": "producerId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6closedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6closedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5statsSSvp", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5statsSSvg", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5pauseyyF", + "mangledName": "$s9Mediasoup8ConsumerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC6resumeyyF", + "mangledName": "$s9Mediasoup8ConsumerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5closeyyF", + "mangledName": "$s9Mediasoup8ConsumerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ConsumerWrapper", + "printedName": "Mediasoup_Private.ConsumerWrapper", + "usr": "c:objc(cs)ConsumerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ConsumerC", + "mangledName": "$s9Mediasoup8ConsumerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..d3ec513 --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,237 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import Mediasoup +import Mediasoup_Private +import Swift +import WebRTC +import _Concurrency +import _StringProcessing +public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { +} +@_hasMissingDesignatedInitializers public class ReceiveTransport { + weak public var delegate: Mediasoup.ReceiveTransportDelegate? + @objc deinit + public func consume(consumerId: Swift.String, producerId: Swift.String, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String?) throws -> Mediasoup.Consumer +} +extension Mediasoup.ReceiveTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.ReceiveTransport : Mediasoup_Private.ReceiveTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.ReceiveTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.ReceiveTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) +} +public enum MediaKind { + case audio + case video + public static func == (a: Mediasoup.MediaKind, b: Mediasoup.MediaKind) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol Transport : AnyObject { + var id: Swift.String { get } + var closed: Swift.Bool { get } + var connectionState: Mediasoup.TransportConnectionState { get } + var appData: Swift.String { get } + var stats: Swift.String { get } + func close() + func restartICE(with iceParameters: Swift.String) throws + func updateICEServers(_ iceServers: Swift.String) throws + func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +public protocol TransportDelegate : AnyObject { + func onConnect(transport: Mediasoup.Transport, dtlsParameters: Swift.String) + func onConnectionStateChange(transport: Mediasoup.Transport, connectionState: Mediasoup.TransportConnectionState) +} +public enum TransportConnectionState { + case new + case checking + case connected + case completed + case failed + case disconnected + case closed + public static func == (a: Mediasoup.TransportConnectionState, b: Mediasoup.TransportConnectionState) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class SendTransport { + weak public var delegate: Mediasoup.SendTransportDelegate? + @objc deinit + public func createProducer(for track: WebRTC.RTCMediaStreamTrack, encodings: [WebRTC.RTCRtpEncodingParameters]?, codecOptions: Swift.String?, appData: Swift.String?) throws -> Mediasoup.Producer +} +extension Mediasoup.SendTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.SendTransport : Mediasoup_Private.SendTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.SendTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.SendTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) + @objc dynamic public func onProduce(_ transport: Mediasoup_Private.SendTransportWrapper, kind: Swift.String, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + @objc dynamic public func onProduceData(_ transport: Mediasoup_Private.SendTransportWrapper, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public protocol ConsumerDelegate : AnyObject { + func onTransportClose(in consumer: Mediasoup.Consumer) +} +public protocol SendTransportDelegate : Mediasoup.TransportDelegate { + func onProduce(transport: Mediasoup.Transport, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + func onProduceData(transport: Mediasoup.Transport, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public enum MediasoupError : Swift.Error { + case unsupported(Swift.String) + case invalidState(Swift.String) + case invalidParameters(Swift.String) + case mediasoup(Foundation.NSError) + case unknown(Swift.Error) +} +public protocol ProducerDelegate : AnyObject { + func onTransportClose(in producer: Mediasoup.Producer) +} +public enum ICETransportPolicy { + case none + case relay + case noHost + case all + public static func == (a: Mediasoup.ICETransportPolicy, b: Mediasoup.ICETransportPolicy) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class Producer { + weak public var delegate: Mediasoup.ProducerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var maxSpatialLayer: Swift.UInt8 { + get + } + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + public func setMaxSpatialLayer(_ layer: Swift.Int) throws + public func replaceTrack(_ track: WebRTC.RTCMediaStreamTrack) throws + public func getStats() throws -> Swift.String + @objc deinit +} +extension Mediasoup.Producer : Mediasoup_Private.ProducerWrapperDelegate { + @objc dynamic public func onTransportClose(_ producer: Mediasoup_Private.ProducerWrapper) +} +public class Device { + public init() + public func isLoaded() -> Swift.Bool + public func load(with routerRTPCapabilities: Swift.String) throws + public func rtpCapabilities() throws -> Swift.String + public func sctpCapabilities() throws -> Swift.String + public func canProduce(_ mediaKind: Mediasoup.MediaKind) throws -> Swift.Bool + public func createSendTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String?, appData: Swift.String?) throws -> Mediasoup.SendTransport + public func createReceiveTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String? = nil, appData: Swift.String? = nil) throws -> Mediasoup.ReceiveTransport + @objc deinit +} +@_hasMissingDesignatedInitializers public class Consumer { + weak public var delegate: Mediasoup.ConsumerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var producerId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + @objc deinit +} +extension Mediasoup.Consumer : Mediasoup_Private.ConsumerWrapperDelegate { + @objc dynamic public func onTransportClose(_ consumer: Mediasoup_Private.ConsumerWrapper) +} +extension Mediasoup.MediaKind : Swift.Equatable {} +extension Mediasoup.MediaKind : Swift.Hashable {} +extension Mediasoup.TransportConnectionState : Swift.Equatable {} +extension Mediasoup.TransportConnectionState : Swift.Hashable {} +extension Mediasoup.ICETransportPolicy : Swift.Equatable {} +extension Mediasoup.ICETransportPolicy : Swift.Hashable {} diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc index c738b8e..850c50b 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface index af1a15b..d3ec513 100644 --- a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,12 +1,14 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) // swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex import Foundation @_exported import Mediasoup import Mediasoup_Private import Swift import WebRTC import _Concurrency +import _StringProcessing public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { } @_hasMissingDesignatedInitializers public class ReceiveTransport { diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.abi.json b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..de21899 --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,4981 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransportDelegate", + "printedName": "ReceiveTransportDelegate", + "declKind": "Protocol", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP", + "mangledName": "$s9Mediasoup24ReceiveTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ReceiveTransport", + "printedName": "ReceiveTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ReceiveTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ReceiveTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransportDelegate", + "printedName": "Mediasoup.ReceiveTransportDelegate", + "usr": "s:9Mediasoup24ReceiveTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup16ReceiveTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "consume", + "printedName": "consume(consumerId:producerId:kind:rtpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC7consume10consumerId08producerF04kind13rtpParameters7appDataAA8ConsumerCSS_SSAA9MediaKindOS2SSgtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC2idSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC6closedSbvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup16ReceiveTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvp", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup16ReceiveTransportC5statsSSvg", + "mangledName": "$s9Mediasoup16ReceiveTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC5closeyyF", + "mangledName": "$s9Mediasoup16ReceiveTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup16ReceiveTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup16ReceiveTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ReceiveTransportWrapper", + "printedName": "Mediasoup_Private.ReceiveTransportWrapper", + "usr": "c:objc(cs)ReceiveTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup16ReceiveTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup16ReceiveTransportC", + "mangledName": "$s9Mediasoup16ReceiveTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediaKind", + "printedName": "MediaKind", + "children": [ + { + "kind": "Var", + "name": "audio", + "printedName": "audio", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5audioyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5audioyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "video", + "printedName": "video", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediaKind.Type) -> Mediasoup.MediaKind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediaKind.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup9MediaKindO5videoyA2CmF", + "mangledName": "$s9Mediasoup9MediaKindO5videoyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup9MediaKindO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivp", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9MediaKindO9hashValueSivg", + "mangledName": "$s9Mediasoup9MediaKindO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup9MediaKindO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup9MediaKindO", + "mangledName": "$s9Mediasoup9MediaKindO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Transport", + "printedName": "Transport", + "children": [ + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP2idSSvp", + "mangledName": "$s9Mediasoup9TransportP2idSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP2idSSvg", + "mangledName": "$s9Mediasoup9TransportP2idSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP6closedSbvp", + "mangledName": "$s9Mediasoup9TransportP6closedSbvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP6closedSbvg", + "mangledName": "$s9Mediasoup9TransportP6closedSbvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "mangledName": "$s9Mediasoup9TransportP15connectionStateAA0b10ConnectionD0Ovg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP7appDataSSvp", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP7appDataSSvg", + "mangledName": "$s9Mediasoup9TransportP7appDataSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup9TransportP5statsSSvp", + "mangledName": "$s9Mediasoup9TransportP5statsSSvp", + "moduleName": "Mediasoup", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup9TransportP5statsSSvg", + "mangledName": "$s9Mediasoup9TransportP5statsSSvg", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP5closeyyF", + "mangledName": "$s9Mediasoup9TransportP5closeyyF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup9TransportP10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup9TransportP16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "mangledName": "$s9Mediasoup9TransportP24updateICETransportPolicyyyAA0dE0OKF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.Transport>", + "sugared_genericSig": "", + "protocolReq": true, + "throwing": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(transport:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "mangledName": "$s9Mediasoup17TransportDelegateP9onConnect9transport14dtlsParametersyAA0B0_p_SStF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(transport:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "mangledName": "$s9Mediasoup17TransportDelegateP23onConnectionStateChange9transport010connectionF0yAA0B0_p_AA0beF0OtF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "TransportConnectionState", + "printedName": "TransportConnectionState", + "children": [ + { + "kind": "Var", + "name": "new", + "printedName": "new", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO3newyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO3newyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "checking", + "printedName": "checking", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO8checkingyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "connected", + "printedName": "connected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9connectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "completed", + "printedName": "completed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9completedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "failed", + "printedName": "failed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6failedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "disconnected", + "printedName": "disconnected", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO12disconnectedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.TransportConnectionState.Type) -> Mediasoup.TransportConnectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.TransportConnectionState.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO6closedyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + }, + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup24TransportConnectionStateO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivp", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup24TransportConnectionStateO9hashValueSivg", + "mangledName": "$s9Mediasoup24TransportConnectionStateO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup24TransportConnectionStateO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup24TransportConnectionStateO", + "mangledName": "$s9Mediasoup24TransportConnectionStateO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransport", + "printedName": "SendTransport", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.SendTransportDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.SendTransportDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransportDelegate", + "printedName": "Mediasoup.SendTransportDelegate", + "usr": "s:9Mediasoup21SendTransportDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "mangledName": "$s9Mediasoup13SendTransportC8delegateAA0bC8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Function", + "name": "createProducer", + "printedName": "createProducer(for:encodings:codecOptions:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "[WebRTC.RTCRtpEncodingParameters]?", + "children": [ + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[WebRTC.RTCRtpEncodingParameters]", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCRtpEncodingParameters", + "printedName": "WebRTC.RTCRtpEncodingParameters", + "usr": "c:objc(cs)RTCRtpEncodingParameters" + } + ], + "usr": "s:Sa" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "mangledName": "$s9Mediasoup13SendTransportC14createProducer3for9encodings12codecOptions7appDataAA0E0CSo19RTCMediaStreamTrackC_SaySo24RTCRtpEncodingParametersCGSgSSSgAQtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC2idSSvp", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC2idSSvg", + "mangledName": "$s9Mediasoup13SendTransportC2idSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC6closedSbvp", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC6closedSbvg", + "mangledName": "$s9Mediasoup13SendTransportC6closedSbvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "connectionState", + "printedName": "connectionState", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "TransportConnectionState", + "printedName": "Mediasoup.TransportConnectionState", + "usr": "s:9Mediasoup24TransportConnectionStateO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "mangledName": "$s9Mediasoup13SendTransportC15connectionStateAA0c10ConnectionE0Ovg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvp", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC7appDataSSvg", + "mangledName": "$s9Mediasoup13SendTransportC7appDataSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup13SendTransportC5statsSSvp", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup13SendTransportC5statsSSvg", + "mangledName": "$s9Mediasoup13SendTransportC5statsSSvg", + "moduleName": "Mediasoup", + "isFromExtension": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC5closeyyF", + "mangledName": "$s9Mediasoup13SendTransportC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "restartICE", + "printedName": "restartICE(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "mangledName": "$s9Mediasoup13SendTransportC10restartICE4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICEServers", + "printedName": "updateICEServers(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC16updateICEServersyySSKF", + "mangledName": "$s9Mediasoup13SendTransportC16updateICEServersyySSKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "updateICETransportPolicy", + "printedName": "updateICETransportPolicy(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "mangledName": "$s9Mediasoup13SendTransportC24updateICETransportPolicyyyAA0eF0OKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnect", + "printedName": "onConnect(_:dtlsParameters:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "mangledName": "$s9Mediasoup13SendTransportC9onConnect_14dtlsParametersySo0bC7WrapperC_SStF", + "moduleName": "Mediasoup", + "objc_name": "onConnect:dtlsParameters:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onConnectionStateChange", + "printedName": "onConnectionStateChange(_:connectionState:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "MediasoupClientTransportConnectionState", + "printedName": "Mediasoup_Private.MediasoupClientTransportConnectionState", + "usr": "c:MediasoupClientTransportConnectionState.h@T@MediasoupClientTransportConnectionState" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "mangledName": "$s9Mediasoup13SendTransportC23onConnectionStateChange_010connectionF0ySo0bC7WrapperC_So0a6ClientceF0atF", + "moduleName": "Mediasoup", + "objc_name": "onConnectionStateChange:connectionState:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(_:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC9onProduce_4kind13rtpParameters7appData8callbackySo0bC7WrapperC_S3SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduce:kind:rtpParameters:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(_:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "SendTransportWrapper", + "printedName": "Mediasoup_Private.SendTransportWrapper", + "usr": "c:objc(cs)SendTransportWrapper" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "mangledName": "$s9Mediasoup13SendTransportC13onProduceData_14sctpParameters5label8protocol03appF08callbackySo0bC7WrapperC_S4SySSSgctF", + "moduleName": "Mediasoup", + "objc_name": "onProduceData:sctpParameters:label:protocol:appData:callback:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup13SendTransportC", + "mangledName": "$s9Mediasoup13SendTransportC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Transport", + "printedName": "Transport", + "usr": "s:9Mediasoup9TransportP", + "mangledName": "$s9Mediasoup9TransportP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ConsumerDelegate", + "printedName": "ConsumerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Consumer", + "printedName": "Mediasoup.Consumer", + "usr": "s:9Mediasoup8ConsumerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ConsumerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ConsumerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ConsumerDelegateP", + "mangledName": "$s9Mediasoup16ConsumerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "SendTransportDelegate", + "printedName": "SendTransportDelegate", + "children": [ + { + "kind": "Function", + "name": "onProduce", + "printedName": "onProduce(transport:kind:rtpParameters:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP9onProduce9transport4kind13rtpParameters7appData8callbackyAA0C0_p_AA9MediaKindOS2SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onProduceData", + "printedName": "onProduceData(transport:sctpParameters:label:protocol:appData:callback:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Transport", + "printedName": "Mediasoup.Transport", + "usr": "s:9Mediasoup9TransportP" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "mangledName": "$s9Mediasoup21SendTransportDelegateP13onProduceData9transport14sctpParameters5label8protocol03appG08callbackyAA0C0_p_S4SySSSgctF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.SendTransportDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup21SendTransportDelegateP", + "mangledName": "$s9Mediasoup21SendTransportDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : Mediasoup.TransportDelegate>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "TransportDelegate", + "printedName": "TransportDelegate", + "usr": "s:9Mediasoup17TransportDelegateP", + "mangledName": "$s9Mediasoup17TransportDelegateP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "MediasoupError", + "printedName": "MediasoupError", + "children": [ + { + "kind": "Var", + "name": "unsupported", + "printedName": "unsupported", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO11unsupportedyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidState", + "printedName": "invalidState", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO12invalidStateyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "invalidParameters", + "printedName": "invalidParameters", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "mangledName": "$s9Mediasoup0A5ErrorO17invalidParametersyACSScACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "mediasoup", + "printedName": "mediasoup", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.NSError) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "NSError", + "printedName": "Foundation.NSError", + "usr": "c:objc(cs)NSError" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO9mediasoupyACSo7NSErrorCcACmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.MediasoupError.Type) -> (Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Error) -> Mediasoup.MediasoupError", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.MediasoupError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "MediasoupError", + "printedName": "Mediasoup.MediasoupError", + "usr": "s:9Mediasoup0A5ErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "mangledName": "$s9Mediasoup0A5ErrorO7unknownyACs0B0_pcACmF", + "moduleName": "Mediasoup" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup0A5ErrorO", + "mangledName": "$s9Mediasoup0A5ErrorO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ProducerDelegate", + "printedName": "ProducerDelegate", + "children": [ + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(in:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Producer", + "printedName": "Mediasoup.Producer", + "usr": "s:9Mediasoup8ProducerC" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "mangledName": "$s9Mediasoup16ProducerDelegateP16onTransportClose2inyAA0B0C_tF", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 where τ_0_0 : Mediasoup.ProducerDelegate>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:9Mediasoup16ProducerDelegateP", + "mangledName": "$s9Mediasoup16ProducerDelegateP", + "moduleName": "Mediasoup", + "genericSig": "<τ_0_0 : AnyObject>", + "sugared_genericSig": "", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "ICETransportPolicy", + "printedName": "ICETransportPolicy", + "children": [ + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4noneyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "relay", + "printedName": "relay", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO5relayyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "noHost", + "printedName": "noHost", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO6noHostyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Var", + "name": "all", + "printedName": "all", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Mediasoup.ICETransportPolicy.Type) -> Mediasoup.ICETransportPolicy", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "Mediasoup.ICETransportPolicy.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:9Mediasoup18ICETransportPolicyO3allyA2CmF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO3allyA2CmF", + "moduleName": "Mediasoup" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + }, + { + "kind": "TypeNominal", + "name": "ICETransportPolicy", + "printedName": "Mediasoup.ICETransportPolicy", + "usr": "s:9Mediasoup18ICETransportPolicyO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "mangledName": "$s9Mediasoup18ICETransportPolicyO2eeoiySbAC_ACtFZ", + "moduleName": "Mediasoup", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivp", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivp", + "moduleName": "Mediasoup", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup18ICETransportPolicyO9hashValueSivg", + "mangledName": "$s9Mediasoup18ICETransportPolicyO9hashValueSivg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "mangledName": "$s9Mediasoup18ICETransportPolicyO4hash4intoys6HasherVz_tF", + "moduleName": "Mediasoup", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:9Mediasoup18ICETransportPolicyO", + "mangledName": "$s9Mediasoup18ICETransportPolicyO", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Producer", + "printedName": "Producer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ProducerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ProducerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ProducerDelegate", + "printedName": "Mediasoup.ProducerDelegate", + "usr": "s:9Mediasoup16ProducerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ProducerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ProducerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC2idSSvp", + "mangledName": "$s9Mediasoup8ProducerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC2idSSvg", + "mangledName": "$s9Mediasoup8ProducerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ProducerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6closedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6closedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ProducerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ProducerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "maxSpatialLayer", + "printedName": "maxSpatialLayer", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt8", + "printedName": "Swift.UInt8", + "usr": "s:s5UInt8V" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "mangledName": "$s9Mediasoup8ProducerC15maxSpatialLayers5UInt8Vvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ProducerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ProducerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ProducerC5statsSSvp", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ProducerC5statsSSvg", + "mangledName": "$s9Mediasoup8ProducerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5pauseyyF", + "mangledName": "$s9Mediasoup8ProducerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC6resumeyyF", + "mangledName": "$s9Mediasoup8ProducerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC5closeyyF", + "mangledName": "$s9Mediasoup8ProducerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "setMaxSpatialLayer", + "printedName": "setMaxSpatialLayer(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "mangledName": "$s9Mediasoup8ProducerC18setMaxSpatialLayeryySiKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "replaceTrack", + "printedName": "replaceTrack(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "mangledName": "$s9Mediasoup8ProducerC12replaceTrackyySo014RTCMediaStreamD0CKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getStats", + "printedName": "getStats()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC8getStatsSSyKF", + "mangledName": "$s9Mediasoup8ProducerC8getStatsSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ProducerWrapper", + "printedName": "Mediasoup_Private.ProducerWrapper", + "usr": "c:objc(cs)ProducerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ProducerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ProducerC", + "mangledName": "$s9Mediasoup8ProducerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Device", + "printedName": "Device", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "Device", + "printedName": "Mediasoup.Device", + "usr": "s:9Mediasoup6DeviceC" + } + ], + "declKind": "Constructor", + "usr": "s:9Mediasoup6DeviceCACycfc", + "mangledName": "$s9Mediasoup6DeviceCACycfc", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "isLoaded", + "printedName": "isLoaded()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC8isLoadedSbyF", + "mangledName": "$s9Mediasoup6DeviceC8isLoadedSbyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "load", + "printedName": "load(with:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC4load4withySS_tKF", + "mangledName": "$s9Mediasoup6DeviceC4load4withySS_tKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "rtpCapabilities", + "printedName": "rtpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC15rtpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sctpCapabilities", + "printedName": "sctpCapabilities()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "mangledName": "$s9Mediasoup6DeviceC16sctpCapabilitiesSSyKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "canProduce", + "printedName": "canProduce(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "mangledName": "$s9Mediasoup6DeviceC10canProduceySbAA9MediaKindOKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createSendTransport", + "printedName": "createSendTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "SendTransport", + "printedName": "Mediasoup.SendTransport", + "usr": "s:9Mediasoup13SendTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC19createSendTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "createReceiveTransport", + "printedName": "createReceiveTransport(id:iceParameters:iceCandidates:dtlsParameters:sctpParameters:appData:)", + "children": [ + { + "kind": "TypeNominal", + "name": "ReceiveTransport", + "printedName": "Mediasoup.ReceiveTransport", + "usr": "s:9Mediasoup16ReceiveTransportC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "mangledName": "$s9Mediasoup6DeviceC22createReceiveTransport2id13iceParameters0G10Candidates04dtlsH004sctpH07appDataAA0dE0CSS_S4SSgAMtKF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup6DeviceC", + "mangledName": "$s9Mediasoup6DeviceC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "Mediasoup_Private", + "printedName": "Mediasoup_Private", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "Import", + "name": "WebRTC", + "printedName": "WebRTC", + "declKind": "Import", + "moduleName": "Mediasoup" + }, + { + "kind": "TypeDecl", + "name": "Consumer", + "printedName": "Consumer", + "children": [ + { + "kind": "Var", + "name": "delegate", + "printedName": "delegate", + "children": [ + { + "kind": "TypeNominal", + "name": "WeakStorage", + "printedName": "Mediasoup.ConsumerDelegate?" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "HasInitialValue", + "HasStorage", + "ReferenceOwnership", + "AccessControl" + ], + "ownership": 1, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvg", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Mediasoup.ConsumerDelegate?", + "children": [ + { + "kind": "TypeNominal", + "name": "ConsumerDelegate", + "printedName": "Mediasoup.ConsumerDelegate", + "usr": "s:9Mediasoup16ConsumerDelegateP" + } + ], + "usr": "s:Sq" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvs", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "mangledName": "$s9Mediasoup8ConsumerC8delegateAA0B8Delegate_pSgvM", + "moduleName": "Mediasoup", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "track", + "printedName": "track", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "RTCMediaStreamTrack", + "printedName": "WebRTC.RTCMediaStreamTrack", + "usr": "c:objc(cs)RTCMediaStreamTrack" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "mangledName": "$s9Mediasoup8ConsumerC5trackSo19RTCMediaStreamTrackCvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "id", + "printedName": "id", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC2idSSvp", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC2idSSvg", + "mangledName": "$s9Mediasoup8ConsumerC2idSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "localId", + "printedName": "localId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7localIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7localIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "producerId", + "printedName": "producerId", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvp", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC10producerIdSSvg", + "mangledName": "$s9Mediasoup8ConsumerC10producerIdSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "closed", + "printedName": "closed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6closedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6closedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6closedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "paused", + "printedName": "paused", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvp", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC6pausedSbvg", + "mangledName": "$s9Mediasoup8ConsumerC6pausedSbvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "kind", + "printedName": "kind", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "Final", + "HasStorage", + "AccessControl" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "MediaKind", + "printedName": "Mediasoup.MediaKind", + "usr": "s:9Mediasoup9MediaKindO" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "mangledName": "$s9Mediasoup8ConsumerC4kindAA9MediaKindOvg", + "moduleName": "Mediasoup", + "implicit": true, + "declAttributes": [ + "Final" + ], + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "appData", + "printedName": "appData", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvp", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC7appDataSSvg", + "mangledName": "$s9Mediasoup8ConsumerC7appDataSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "rtpParameters", + "printedName": "rtpParameters", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvp", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC13rtpParametersSSvg", + "mangledName": "$s9Mediasoup8ConsumerC13rtpParametersSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "stats", + "printedName": "stats", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:9Mediasoup8ConsumerC5statsSSvp", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvp", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:9Mediasoup8ConsumerC5statsSSvg", + "mangledName": "$s9Mediasoup8ConsumerC5statsSSvg", + "moduleName": "Mediasoup", + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "pause", + "printedName": "pause()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5pauseyyF", + "mangledName": "$s9Mediasoup8ConsumerC5pauseyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "resume", + "printedName": "resume()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC6resumeyyF", + "mangledName": "$s9Mediasoup8ConsumerC6resumeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "close", + "printedName": "close()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC5closeyyF", + "mangledName": "$s9Mediasoup8ConsumerC5closeyyF", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "onTransportClose", + "printedName": "onTransportClose(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "ConsumerWrapper", + "printedName": "Mediasoup_Private.ConsumerWrapper", + "usr": "c:objc(cs)ConsumerWrapper" + } + ], + "declKind": "Func", + "usr": "s:9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "mangledName": "$s9Mediasoup8ConsumerC16onTransportCloseyySo0B7WrapperCF", + "moduleName": "Mediasoup", + "objc_name": "onTransportClose:", + "declAttributes": [ + "Dynamic", + "ObjC", + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "s:9Mediasoup8ConsumerC", + "mangledName": "$s9Mediasoup8ConsumerC", + "moduleName": "Mediasoup", + "declAttributes": [ + "AccessControl" + ], + "hasMissingDesignatedInitializers": true + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..5aa9634 --- /dev/null +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,237 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) +// swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Foundation +@_exported import Mediasoup +import Mediasoup_Private +import Swift +import WebRTC +import _Concurrency +import _StringProcessing +public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { +} +@_hasMissingDesignatedInitializers public class ReceiveTransport { + weak public var delegate: Mediasoup.ReceiveTransportDelegate? + @objc deinit + public func consume(consumerId: Swift.String, producerId: Swift.String, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String?) throws -> Mediasoup.Consumer +} +extension Mediasoup.ReceiveTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.ReceiveTransport : Mediasoup_Private.ReceiveTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.ReceiveTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.ReceiveTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) +} +public enum MediaKind { + case audio + case video + public static func == (a: Mediasoup.MediaKind, b: Mediasoup.MediaKind) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public protocol Transport : AnyObject { + var id: Swift.String { get } + var closed: Swift.Bool { get } + var connectionState: Mediasoup.TransportConnectionState { get } + var appData: Swift.String { get } + var stats: Swift.String { get } + func close() + func restartICE(with iceParameters: Swift.String) throws + func updateICEServers(_ iceServers: Swift.String) throws + func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +public protocol TransportDelegate : AnyObject { + func onConnect(transport: Mediasoup.Transport, dtlsParameters: Swift.String) + func onConnectionStateChange(transport: Mediasoup.Transport, connectionState: Mediasoup.TransportConnectionState) +} +public enum TransportConnectionState { + case new + case checking + case connected + case completed + case failed + case disconnected + case closed + public static func == (a: Mediasoup.TransportConnectionState, b: Mediasoup.TransportConnectionState) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class SendTransport { + weak public var delegate: Mediasoup.SendTransportDelegate? + @objc deinit + public func createProducer(for track: WebRTC.RTCMediaStreamTrack, encodings: [WebRTC.RTCRtpEncodingParameters]?, codecOptions: Swift.String?, appData: Swift.String?) throws -> Mediasoup.Producer +} +extension Mediasoup.SendTransport : Mediasoup.Transport { + public var id: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var connectionState: Mediasoup.TransportConnectionState { + get + } + public var appData: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func close() + public func restartICE(with iceParameters: Swift.String) throws + public func updateICEServers(_ iceServers: Swift.String) throws + public func updateICETransportPolicy(_ transportPolicy: Mediasoup.ICETransportPolicy) throws +} +extension Mediasoup.SendTransport : Mediasoup_Private.SendTransportWrapperDelegate { + @objc dynamic public func onConnect(_ transport: Mediasoup_Private.SendTransportWrapper, dtlsParameters: Swift.String) + @objc dynamic public func onConnectionStateChange(_ transport: Mediasoup_Private.SendTransportWrapper, connectionState: Mediasoup_Private.MediasoupClientTransportConnectionState) + @objc dynamic public func onProduce(_ transport: Mediasoup_Private.SendTransportWrapper, kind: Swift.String, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + @objc dynamic public func onProduceData(_ transport: Mediasoup_Private.SendTransportWrapper, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public protocol ConsumerDelegate : AnyObject { + func onTransportClose(in consumer: Mediasoup.Consumer) +} +public protocol SendTransportDelegate : Mediasoup.TransportDelegate { + func onProduce(transport: Mediasoup.Transport, kind: Mediasoup.MediaKind, rtpParameters: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) + func onProduceData(transport: Mediasoup.Transport, sctpParameters: Swift.String, label: Swift.String, protocol dataProtocol: Swift.String, appData: Swift.String, callback: @escaping (Swift.String?) -> Swift.Void) +} +public enum MediasoupError : Swift.Error { + case unsupported(Swift.String) + case invalidState(Swift.String) + case invalidParameters(Swift.String) + case mediasoup(Foundation.NSError) + case unknown(Swift.Error) +} +public protocol ProducerDelegate : AnyObject { + func onTransportClose(in producer: Mediasoup.Producer) +} +public enum ICETransportPolicy { + case none + case relay + case noHost + case all + public static func == (a: Mediasoup.ICETransportPolicy, b: Mediasoup.ICETransportPolicy) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class Producer { + weak public var delegate: Mediasoup.ProducerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var maxSpatialLayer: Swift.UInt8 { + get + } + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + public func setMaxSpatialLayer(_ layer: Swift.Int) throws + public func replaceTrack(_ track: WebRTC.RTCMediaStreamTrack) throws + public func getStats() throws -> Swift.String + @objc deinit +} +extension Mediasoup.Producer : Mediasoup_Private.ProducerWrapperDelegate { + @objc dynamic public func onTransportClose(_ producer: Mediasoup_Private.ProducerWrapper) +} +public class Device { + public init() + public func isLoaded() -> Swift.Bool + public func load(with routerRTPCapabilities: Swift.String) throws + public func rtpCapabilities() throws -> Swift.String + public func sctpCapabilities() throws -> Swift.String + public func canProduce(_ mediaKind: Mediasoup.MediaKind) throws -> Swift.Bool + public func createSendTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String?, appData: Swift.String?) throws -> Mediasoup.SendTransport + public func createReceiveTransport(id: Swift.String, iceParameters: Swift.String, iceCandidates: Swift.String, dtlsParameters: Swift.String, sctpParameters: Swift.String? = nil, appData: Swift.String? = nil) throws -> Mediasoup.ReceiveTransport + @objc deinit +} +@_hasMissingDesignatedInitializers public class Consumer { + weak public var delegate: Mediasoup.ConsumerDelegate? + public var track: WebRTC.RTCMediaStreamTrack { + get + } + public var id: Swift.String { + get + } + public var localId: Swift.String { + get + } + public var producerId: Swift.String { + get + } + public var closed: Swift.Bool { + get + } + public var paused: Swift.Bool { + get + } + final public let kind: Mediasoup.MediaKind + public var appData: Swift.String { + get + } + public var rtpParameters: Swift.String { + get + } + public var stats: Swift.String { + get + } + public func pause() + public func resume() + public func close() + @objc deinit +} +extension Mediasoup.Consumer : Mediasoup_Private.ConsumerWrapperDelegate { + @objc dynamic public func onTransportClose(_ consumer: Mediasoup_Private.ConsumerWrapper) +} +extension Mediasoup.MediaKind : Swift.Equatable {} +extension Mediasoup.MediaKind : Swift.Hashable {} +extension Mediasoup.TransportConnectionState : Swift.Equatable {} +extension Mediasoup.TransportConnectionState : Swift.Hashable {} +extension Mediasoup.ICETransportPolicy : Swift.Equatable {} +extension Mediasoup.ICETransportPolicy : Swift.Hashable {} diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index a03f634..c795e93 100644 Binary files a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 2e8bbe5..5aa9634 100644 --- a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,12 +1,14 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-compiler-version: Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51) // swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Mediasoup +// swift-module-flags-ignorable: -enable-bare-slash-regex import Foundation @_exported import Mediasoup import Mediasoup_Private import Swift import WebRTC import _Concurrency +import _StringProcessing public protocol ReceiveTransportDelegate : Mediasoup.TransportDelegate { } @_hasMissingDesignatedInitializers public class ReceiveTransport { diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/module.modulemap b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/module.modulemap index 5eb97ec..3adf8e5 100644 --- a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/module.modulemap +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/Modules/module.modulemap @@ -3,6 +3,6 @@ framework module Mediasoup { } module Mediasoup.Swift { - header "Mediasoup-Swift.h" - requires objc + header "Mediasoup-Swift.h" + requires objc } diff --git a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/_CodeSignature/CodeResources b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/_CodeSignature/CodeResources index 8044ff4..46ad070 100644 --- a/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/_CodeSignature/CodeResources +++ b/bin/Mediasoup.xcframework/ios-arm64_x86_64-simulator/Mediasoup.framework/_CodeSignature/CodeResources @@ -6,47 +6,63 @@ Headers/Mediasoup-Swift.h - 57wGgOVF53nR8hBRkCumuB8/swE= + Mvs7xpmonHDV+Wk/za6jRMealTo= Info.plist - /I+cLaemR2SEfOdARIoo/fWcD4k= + zGbzy7yJaY4//Bvz1HLzmMOmDNM= Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo - y4cuOVoQVRRhAEGse+n0E5u3n1Q= + ouWimahZYnU65e+4BX6wrIwdtag= Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo - 4Z68jG1zR+Lz4n/Zd/kgZ+QBg7k= + 4r/agcHnVLlGlPjvkLGwF2D3wz8= + + Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.abi.json + + fQzFwF3w/vKkLD5aV5s+VxKpixE= + + Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + ewX1MfHaJwfouiYNLj0ONq780ks= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc - shbgux3ANI/LY43ftpC96UbcJRM= + JzGkPWM7ckBnwdqFEXdSd277sH4= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface - m3qqoF22djkWj6BEcaKoT2jF5E8= + ewX1MfHaJwfouiYNLj0ONq780ks= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftmodule - L/fdM8EcXfmOqBwpgq1GEmXXVHo= + W4GwlrwtQmtHUthnFyRr2WiVEiU= + + Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.abi.json + + fQzFwF3w/vKkLD5aV5s+VxKpixE= + + Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + pK74A8OlItXyTdlMcWxDYRMATyA= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - GyThfeJZGobm5npTFdoeG8Uu72w= + AWO5wLGgHebL0DwR5xMWniN88AM= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - mie0G4Y78WURXT0xLidJ+Kdmi3M= + pK74A8OlItXyTdlMcWxDYRMATyA= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - iUI1W0WAbJGw2r/ITRON97L/enI= + 0ZjNFFj/RVpTk5kjJMQwXc2GsoE= Modules/module.modulemap - D5dkuKHPg5D/kaUVkiLCTxOhWbg= + +FK1nem4sHlpbetmf8Pju1r01TI= Modules/module.private.modulemap @@ -119,70 +135,98 @@ hash2 - dPY4P2ljzMabjK7nuo2z8AiyOxt05e+0ESb8Ovz2Noo= + VSXuEiZnn/K1LY9clG7QfqJTbAUtzQHf7xMTYoRz2V0= Modules/Mediasoup.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo hash2 - 13zg+LkEDVnJCiH1uxuPWNfkpnf5g05HxOt9StdaUbQ= + WEHTLy+Q68Up7iYggX8ZFAqIIaV55xTLt3snGdeTaEI= Modules/Mediasoup.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo hash2 - vSm4TW5MXyudPLiKAsvB/PdXZ0xHGDtuAlHlX1yqM2Y= + +UMA5SmPfG6roNmGBllZOfPAiLA9BT3HOw+K1jBqkmE= + + + Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + EeLDNePiJ+cJI2h6+FQ4I2SLaUqe3CPmHltU81kTud8= + + + Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + vduiBKHB3eKwZUZeoPuvnzHIfTOp3tplkg+wiQyIRxQ= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - BYFj+nH0Fxy5+p3vsumFFLAnUEDgmFPGS0PksGtrjlQ= + iMXR7L6t4E6xvRpVKH/0Cdl3bEWeC5bE2LjvOHxrvok= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - BSXdpmNJdeo34RsNjzjotIw6xzSPmCLtj/e6EoLq8OI= + vduiBKHB3eKwZUZeoPuvnzHIfTOp3tplkg+wiQyIRxQ= Modules/Mediasoup.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - s3zLJsa1llpbv+HlPgChKFvyNoSeMpYKXLN1j6+JJPk= + n4Uwsv2JLTiydYXN/341qBrNG3pP9EnY5/70SGfkCOs= + + + Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + EeLDNePiJ+cJI2h6+FQ4I2SLaUqe3CPmHltU81kTud8= + + + Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + 5fL8iwU4OvU6PqS7t7YW/mvPYKa6XXUWcz7Ode5jkUM= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - lDWN+PxWV+eaV3kX9RVuoV0DwkET+AJ2eq61hlv8+M4= + 06lnpgnxDghpt8Sa5CFwWOZtBcbqd5BrQHwUH3i7/sw= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - 0Zk/yM01DVIMGrtIMvu+dUAh4EKGVrfjXqH9KKC8pfg= + 5fL8iwU4OvU6PqS7t7YW/mvPYKa6XXUWcz7Ode5jkUM= Modules/Mediasoup.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - +yd3fTZgDk2tCTTxPCmFmge1mDd1VkNhCio9TmuNUQU= + /w1wcVVbPTCKhZ3TNJdd0g4eT9N03guy0oZ6Dxa4Xmo= Modules/module.modulemap hash2 - m/Ov5D2pXeCeczh5zfVt2cEkolRbxTuKW2JuNSyEw+Y= + xZdI+cDZ+yz3XxLk/Oi7N1KA8L+/dU5W90tN2nAHXnM= Modules/module.private.modulemap diff --git a/bin/WebRTC.xcframework/Info.plist b/bin/WebRTC.xcframework/Info.plist index 8a822fb..6294a8a 100644 --- a/bin/WebRTC.xcframework/Info.plist +++ b/bin/WebRTC.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath WebRTC.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath WebRTC.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSession.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSession.h index 6e2fa13..43991b2 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSession.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSession.h @@ -122,7 +122,7 @@ RTC_OBJC_EXPORT * WebRTC and the application layer are avoided. * * RTCAudioSession also coordinates activation so that the audio session is - * activated only once. See |setActive:error:|. + * activated only once. See `setActive:error:`. */ RTC_OBJC_EXPORT @interface RTC_OBJC_TYPE (RTCAudioSession) : NSObject @@ -209,9 +209,9 @@ RTC_OBJC_EXPORT /** Relinquishes exclusive access to the audio session. */ - (void)unlockForConfiguration; -/** If |active|, activates the audio session if it isn't already active. +/** If `active`, activates the audio session if it isn't already active. * Successful calls must be balanced with a setActive:NO when activation is no - * longer required. If not |active|, deactivates the audio session if one is + * longer required. If not `active`, deactivates the audio session if one is * active and this is the last balanced call. When deactivating, the * AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation option is passed to * AVAudioSession. @@ -219,7 +219,7 @@ RTC_OBJC_EXPORT - (BOOL)setActive:(BOOL)active error:(NSError **)outError; // The following methods are proxies for the associated methods on -// AVAudioSession. |lockForConfiguration| must be called before using them +// AVAudioSession. `lockForConfiguration` must be called before using them // otherwise they will fail with kRTCAudioSessionErrorLockRequired. - (BOOL)setCategory:(NSString *)category @@ -245,13 +245,13 @@ RTC_OBJC_EXPORT /** Applies the configuration to the current session. Attempts to set all * properties even if previous ones fail. Only the last error will be * returned. - * |lockForConfiguration| must be called first. + * `lockForConfiguration` must be called first. */ - (BOOL)setConfiguration : (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration error : (NSError **)outError; /** Convenience method that calls both setConfiguration and setActive. - * |lockForConfiguration| must be called first. + * `lockForConfiguration` must be called first. */ - (BOOL)setConfiguration:(RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration active:(BOOL)active diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSource.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSource.h index 98bb55a..f0c469f 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSource.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCAudioSource.h @@ -20,7 +20,7 @@ RTC_OBJC_EXPORT - (instancetype)init NS_UNAVAILABLE; -// Sets the volume for the RTCMediaSource. |volume| is a gain value in the range +// Sets the volume for the RTCMediaSource. `volume` is a gain value in the range // [0, 10]. // Temporary fix to be able to modify volume of remote audio tracks. // TODO(kthelgason): Property stays here temporarily until a proper volume-api diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h index cd69a66..b9cd699 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCVPixelBuffer.h @@ -40,9 +40,9 @@ RTC_OBJC_EXPORT - (BOOL)requiresScalingToWidth:(int)width height:(int)height; - (int)bufferSizeForCroppingAndScalingToWidth:(int)width height:(int)height; -/** The minimum size of the |tmpBuffer| must be the number of bytes returned from the +/** The minimum size of the `tmpBuffer` must be the number of bytes returned from the * bufferSizeForCroppingAndScalingToWidth:height: method. - * If that size is 0, the |tmpBuffer| may be nil. + * If that size is 0, the `tmpBuffer` may be nil. */ - (BOOL)cropAndScaleTo:(CVPixelBufferRef)outputPixelBuffer withTempBuffer:(nullable uint8_t *)tmpBuffer; diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h index 19e7a4c..b4f996f 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCConfiguration.h @@ -84,7 +84,7 @@ RTC_OBJC_EXPORT @property(nonatomic, nullable) RTC_OBJC_TYPE(RTCCertificate) * certificate; /** Which candidates the ICE agent is allowed to use. The W3C calls it - * |iceTransportPolicy|, while in C++ it is called |type|. */ + * `iceTransportPolicy`, while in C++ it is called `type`. */ @property(nonatomic, assign) RTCIceTransportPolicy iceTransportPolicy; /** The media-bundling policy to use when gathering ICE candidates. */ @@ -144,7 +144,7 @@ RTC_OBJC_EXPORT */ @property(nonatomic, assign) BOOL shouldPresumeWritableWhenFullyRelayed; -/* This flag is only effective when |continualGatheringPolicy| is +/* This flag is only effective when `continualGatheringPolicy` is * RTCContinualGatheringPolicyGatherContinually. * * If YES, after the ICE transport type is changed such that new types of diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h index ad91a7c..6e2e797 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCCryptoOptions.h @@ -28,7 +28,7 @@ RTC_OBJC_EXPORT @property(nonatomic, assign) BOOL srtpEnableGcmCryptoSuites; /** * If set to true, the (potentially insecure) crypto cipher - * SRTP_AES128_CM_SHA1_32 will be included in the list of supported ciphers + * kSrtpAes128CmSha1_32 will be included in the list of supported ciphers * during negotiation. It will only be used if both peers support it and no * other ciphers get preferred. */ diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDataChannel.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDataChannel.h index 7c8fd25..80b8ad8 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDataChannel.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCDataChannel.h @@ -21,13 +21,13 @@ RTC_OBJC_EXPORT /** NSData representation of the underlying buffer. */ @property(nonatomic, readonly) NSData *data; -/** Indicates whether |data| contains UTF-8 or binary data. */ +/** Indicates whether `data` contains UTF-8 or binary data. */ @property(nonatomic, readonly) BOOL isBinary; - (instancetype)init NS_UNAVAILABLE; /** - * Initialize an RTCDataBuffer from NSData. |isBinary| indicates whether |data| + * Initialize an RTCDataBuffer from NSData. `isBinary` indicates whether `data` * contains UTF-8 or binary data. */ - (instancetype)initWithData:(NSData *)data isBinary:(BOOL)isBinary; @@ -47,7 +47,7 @@ RTC_OBJC_EXPORT didReceiveMessageWithBuffer:(RTC_OBJC_TYPE(RTCDataBuffer) *)buffer; @optional -/** The data channel's |bufferedAmount| changed. */ +/** The data channel's `bufferedAmount` changed. */ - (void)dataChannel:(RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel didChangeBufferedAmount:(uint64_t)amount; @@ -112,7 +112,7 @@ RTC_OBJC_EXPORT /** * The number of bytes of application data that have been queued using - * |sendData:| but that have not yet been transmitted to the network. + * `sendData:` but that have not yet been transmitted to the network. */ @property(nonatomic, readonly) uint64_t bufferedAmount; @@ -124,7 +124,7 @@ RTC_OBJC_EXPORT /** Closes the data channel. */ - (void)close; -/** Attempt to send |data| on this data channel's underlying data transport. */ +/** Attempt to send `data` on this data channel's underlying data transport. */ - (BOOL)sendData:(RTC_OBJC_TYPE(RTCDataBuffer) *)data; @end diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h index 29d8f0d..84924c5 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCFileLogger.h @@ -43,7 +43,7 @@ RTC_OBJC_EXPORT // kRTCFileLoggerTypeCall. @property(nonatomic, readonly) RTCFileLoggerRotationType rotationType; -// Disables buffering disk writes. Should be set before |start|. Buffering +// Disables buffering disk writes. Should be set before `start`. Buffering // is enabled by default for performance. @property(nonatomic, assign) BOOL shouldDisableBuffering; diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCIceServer.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCIceServer.h index 3262bf6..e5fbfe8 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCIceServer.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCIceServer.h @@ -37,9 +37,9 @@ RTC_OBJC_EXPORT @property(nonatomic, readonly) RTCTlsCertPolicy tlsCertPolicy; /** - If the URIs in |urls| only contain IP addresses, this field can be used + If the URIs in `urls` only contain IP addresses, this field can be used to indicate the hostname, which may be necessary for TLS (using the SNI - extension). If |urls| itself contains the hostname, this isn't necessary. + extension). If `urls` itself contains the hostname, this isn't necessary. */ @property(nonatomic, readonly, nullable) NSString *hostname; diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCMacros.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCMacros.h index b5a7911..469e3c9 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCMacros.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCMacros.h @@ -11,13 +11,13 @@ #ifndef SDK_OBJC_BASE_RTCMACROS_H_ #define SDK_OBJC_BASE_RTCMACROS_H_ -#ifdef WEBRTC_ENABLE_SYMBOL_EXPORT +#ifdef WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT #if defined(WEBRTC_LIBRARY_IMPL) #define RTC_OBJC_EXPORT __attribute__((visibility("default"))) #endif -#endif // WEBRTC_ENABLE_SYMBOL_EXPORT +#endif // WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT #ifndef RTC_OBJC_EXPORT #define RTC_OBJC_EXPORT diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCPeerConnection.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCPeerConnection.h index 2d2e890..cee447e 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCPeerConnection.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCPeerConnection.h @@ -174,7 +174,7 @@ RTC_OBJC_EXPORT */ @property(nonatomic, weak, nullable) id delegate; /** This property is not available with RTCSdpSemanticsUnifiedPlan. Please use - * |senders| instead. + * `senders` instead. */ @property(nonatomic, readonly) NSArray *localStreams; @property(nonatomic, readonly, nullable) RTC_OBJC_TYPE(RTCSessionDescription) * localDescription; @@ -207,7 +207,7 @@ RTC_OBJC_EXPORT - (instancetype)init NS_UNAVAILABLE; -/** Sets the PeerConnection's global configuration to |configuration|. +/** Sets the PeerConnection's global configuration to `configuration`. * Any changes to STUN/TURN servers or ICE candidate policy will affect the * next gathering phase, and cause the next call to createOffer to generate * new ICE credentials. Note that the BUNDLE and RTCP-multiplexing policies @@ -243,7 +243,7 @@ RTC_OBJC_EXPORT /** Add a new media stream track to be sent on this peer connection, and return * the newly created RTCRtpSender. The RTCRtpSender will be - * associated with the streams specified in the |streamIds| list. + * associated with the streams specified in the `streamIds` list. * * Errors: If an error occurs, returns nil. An error can occur if: * - A sender already exists for the track. @@ -265,7 +265,7 @@ RTC_OBJC_EXPORT * transceivers. Adding a transceiver will cause future calls to CreateOffer * to add a media description for the corresponding transceiver. * - * The initial value of |mid| in the returned transceiver is nil. Setting a + * The initial value of `mid` in the returned transceiver is nil. Setting a * new session description may change it to a non-nil value. * * https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtransceiver @@ -325,7 +325,7 @@ RTC_OBJC_EXPORT /** Limits the bandwidth allocated for all RTP streams sent by this * PeerConnection. Nil parameters will be unchanged. Setting - * |currentBitrateBps| will force the available bitrate estimate to the given + * `currentBitrateBps` will force the available bitrate estimate to the given * value. Returns YES if the parameters were successfully updated. */ - (BOOL)setBweMinBitrateBps:(nullable NSNumber *)minBitrateBps @@ -365,7 +365,7 @@ typedef void (^RTCStatisticsCompletionHandler)(RTC_OBJC_TYPE(RTCStatisticsReport @interface RTC_OBJC_TYPE (RTCPeerConnection) (Stats) - /** Gather stats for the given RTCMediaStreamTrack. If |mediaStreamTrack| is nil + /** Gather stats for the given RTCMediaStreamTrack. If `mediaStreamTrack` is nil * statistics are gathered for all tracks. */ - (void)statsForTrack diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCVideoEncoder.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCVideoEncoder.h index b2b2185..fde69a3 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCVideoEncoder.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/RTCVideoEncoder.h @@ -50,6 +50,10 @@ RTC_OBJC_EXPORT scaled, all resolutions comply with 'resolutionAlignment'. */ @property(nonatomic, readonly) BOOL applyAlignmentToAllSimulcastLayers; +/** If YES, the reciever is expected to resample/scale the source texture to the expected output + size. */ +@property(nonatomic, readonly) BOOL supportsNativeHandle; + @end NS_ASSUME_NONNULL_END diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/WebRTC.h b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/WebRTC.h index a066249..2e75f09 100644 --- a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/WebRTC.h +++ b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Headers/WebRTC.h @@ -1,5 +1,5 @@ /* - * Copyright 2022 The WebRTC project authors. All Rights Reserved. + * Copyright 2023 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Info.plist b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Info.plist index ff8a3c8..9299bd0 100644 Binary files a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Info.plist and b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/Info.plist differ diff --git a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC index 7f91375..648b08a 100755 Binary files a/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC and b/bin/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC differ diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h index 6e2fa13..43991b2 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSession.h @@ -122,7 +122,7 @@ RTC_OBJC_EXPORT * WebRTC and the application layer are avoided. * * RTCAudioSession also coordinates activation so that the audio session is - * activated only once. See |setActive:error:|. + * activated only once. See `setActive:error:`. */ RTC_OBJC_EXPORT @interface RTC_OBJC_TYPE (RTCAudioSession) : NSObject @@ -209,9 +209,9 @@ RTC_OBJC_EXPORT /** Relinquishes exclusive access to the audio session. */ - (void)unlockForConfiguration; -/** If |active|, activates the audio session if it isn't already active. +/** If `active`, activates the audio session if it isn't already active. * Successful calls must be balanced with a setActive:NO when activation is no - * longer required. If not |active|, deactivates the audio session if one is + * longer required. If not `active`, deactivates the audio session if one is * active and this is the last balanced call. When deactivating, the * AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation option is passed to * AVAudioSession. @@ -219,7 +219,7 @@ RTC_OBJC_EXPORT - (BOOL)setActive:(BOOL)active error:(NSError **)outError; // The following methods are proxies for the associated methods on -// AVAudioSession. |lockForConfiguration| must be called before using them +// AVAudioSession. `lockForConfiguration` must be called before using them // otherwise they will fail with kRTCAudioSessionErrorLockRequired. - (BOOL)setCategory:(NSString *)category @@ -245,13 +245,13 @@ RTC_OBJC_EXPORT /** Applies the configuration to the current session. Attempts to set all * properties even if previous ones fail. Only the last error will be * returned. - * |lockForConfiguration| must be called first. + * `lockForConfiguration` must be called first. */ - (BOOL)setConfiguration : (RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration error : (NSError **)outError; /** Convenience method that calls both setConfiguration and setActive. - * |lockForConfiguration| must be called first. + * `lockForConfiguration` must be called first. */ - (BOOL)setConfiguration:(RTC_OBJC_TYPE(RTCAudioSessionConfiguration) *)configuration active:(BOOL)active diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h index 98bb55a..f0c469f 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCAudioSource.h @@ -20,7 +20,7 @@ RTC_OBJC_EXPORT - (instancetype)init NS_UNAVAILABLE; -// Sets the volume for the RTCMediaSource. |volume| is a gain value in the range +// Sets the volume for the RTCMediaSource. `volume` is a gain value in the range // [0, 10]. // Temporary fix to be able to modify volume of remote audio tracks. // TODO(kthelgason): Property stays here temporarily until a proper volume-api diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCVPixelBuffer.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCVPixelBuffer.h index cd69a66..b9cd699 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCVPixelBuffer.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCVPixelBuffer.h @@ -40,9 +40,9 @@ RTC_OBJC_EXPORT - (BOOL)requiresScalingToWidth:(int)width height:(int)height; - (int)bufferSizeForCroppingAndScalingToWidth:(int)width height:(int)height; -/** The minimum size of the |tmpBuffer| must be the number of bytes returned from the +/** The minimum size of the `tmpBuffer` must be the number of bytes returned from the * bufferSizeForCroppingAndScalingToWidth:height: method. - * If that size is 0, the |tmpBuffer| may be nil. + * If that size is 0, the `tmpBuffer` may be nil. */ - (BOOL)cropAndScaleTo:(CVPixelBufferRef)outputPixelBuffer withTempBuffer:(nullable uint8_t *)tmpBuffer; diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCConfiguration.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCConfiguration.h index 19e7a4c..b4f996f 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCConfiguration.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCConfiguration.h @@ -84,7 +84,7 @@ RTC_OBJC_EXPORT @property(nonatomic, nullable) RTC_OBJC_TYPE(RTCCertificate) * certificate; /** Which candidates the ICE agent is allowed to use. The W3C calls it - * |iceTransportPolicy|, while in C++ it is called |type|. */ + * `iceTransportPolicy`, while in C++ it is called `type`. */ @property(nonatomic, assign) RTCIceTransportPolicy iceTransportPolicy; /** The media-bundling policy to use when gathering ICE candidates. */ @@ -144,7 +144,7 @@ RTC_OBJC_EXPORT */ @property(nonatomic, assign) BOOL shouldPresumeWritableWhenFullyRelayed; -/* This flag is only effective when |continualGatheringPolicy| is +/* This flag is only effective when `continualGatheringPolicy` is * RTCContinualGatheringPolicyGatherContinually. * * If YES, after the ICE transport type is changed such that new types of diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCryptoOptions.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCryptoOptions.h index ad91a7c..6e2e797 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCryptoOptions.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCCryptoOptions.h @@ -28,7 +28,7 @@ RTC_OBJC_EXPORT @property(nonatomic, assign) BOOL srtpEnableGcmCryptoSuites; /** * If set to true, the (potentially insecure) crypto cipher - * SRTP_AES128_CM_SHA1_32 will be included in the list of supported ciphers + * kSrtpAes128CmSha1_32 will be included in the list of supported ciphers * during negotiation. It will only be used if both peers support it and no * other ciphers get preferred. */ diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h index 7c8fd25..80b8ad8 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCDataChannel.h @@ -21,13 +21,13 @@ RTC_OBJC_EXPORT /** NSData representation of the underlying buffer. */ @property(nonatomic, readonly) NSData *data; -/** Indicates whether |data| contains UTF-8 or binary data. */ +/** Indicates whether `data` contains UTF-8 or binary data. */ @property(nonatomic, readonly) BOOL isBinary; - (instancetype)init NS_UNAVAILABLE; /** - * Initialize an RTCDataBuffer from NSData. |isBinary| indicates whether |data| + * Initialize an RTCDataBuffer from NSData. `isBinary` indicates whether `data` * contains UTF-8 or binary data. */ - (instancetype)initWithData:(NSData *)data isBinary:(BOOL)isBinary; @@ -47,7 +47,7 @@ RTC_OBJC_EXPORT didReceiveMessageWithBuffer:(RTC_OBJC_TYPE(RTCDataBuffer) *)buffer; @optional -/** The data channel's |bufferedAmount| changed. */ +/** The data channel's `bufferedAmount` changed. */ - (void)dataChannel:(RTC_OBJC_TYPE(RTCDataChannel) *)dataChannel didChangeBufferedAmount:(uint64_t)amount; @@ -112,7 +112,7 @@ RTC_OBJC_EXPORT /** * The number of bytes of application data that have been queued using - * |sendData:| but that have not yet been transmitted to the network. + * `sendData:` but that have not yet been transmitted to the network. */ @property(nonatomic, readonly) uint64_t bufferedAmount; @@ -124,7 +124,7 @@ RTC_OBJC_EXPORT /** Closes the data channel. */ - (void)close; -/** Attempt to send |data| on this data channel's underlying data transport. */ +/** Attempt to send `data` on this data channel's underlying data transport. */ - (BOOL)sendData:(RTC_OBJC_TYPE(RTCDataBuffer) *)data; @end diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileLogger.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileLogger.h index 29d8f0d..84924c5 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileLogger.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCFileLogger.h @@ -43,7 +43,7 @@ RTC_OBJC_EXPORT // kRTCFileLoggerTypeCall. @property(nonatomic, readonly) RTCFileLoggerRotationType rotationType; -// Disables buffering disk writes. Should be set before |start|. Buffering +// Disables buffering disk writes. Should be set before `start`. Buffering // is enabled by default for performance. @property(nonatomic, assign) BOOL shouldDisableBuffering; diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h index 3262bf6..e5fbfe8 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCIceServer.h @@ -37,9 +37,9 @@ RTC_OBJC_EXPORT @property(nonatomic, readonly) RTCTlsCertPolicy tlsCertPolicy; /** - If the URIs in |urls| only contain IP addresses, this field can be used + If the URIs in `urls` only contain IP addresses, this field can be used to indicate the hostname, which may be necessary for TLS (using the SNI - extension). If |urls| itself contains the hostname, this isn't necessary. + extension). If `urls` itself contains the hostname, this isn't necessary. */ @property(nonatomic, readonly, nullable) NSString *hostname; diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMacros.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMacros.h index b5a7911..469e3c9 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMacros.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCMacros.h @@ -11,13 +11,13 @@ #ifndef SDK_OBJC_BASE_RTCMACROS_H_ #define SDK_OBJC_BASE_RTCMACROS_H_ -#ifdef WEBRTC_ENABLE_SYMBOL_EXPORT +#ifdef WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT #if defined(WEBRTC_LIBRARY_IMPL) #define RTC_OBJC_EXPORT __attribute__((visibility("default"))) #endif -#endif // WEBRTC_ENABLE_SYMBOL_EXPORT +#endif // WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT #ifndef RTC_OBJC_EXPORT #define RTC_OBJC_EXPORT diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCPeerConnection.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCPeerConnection.h index 2d2e890..cee447e 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCPeerConnection.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCPeerConnection.h @@ -174,7 +174,7 @@ RTC_OBJC_EXPORT */ @property(nonatomic, weak, nullable) id delegate; /** This property is not available with RTCSdpSemanticsUnifiedPlan. Please use - * |senders| instead. + * `senders` instead. */ @property(nonatomic, readonly) NSArray *localStreams; @property(nonatomic, readonly, nullable) RTC_OBJC_TYPE(RTCSessionDescription) * localDescription; @@ -207,7 +207,7 @@ RTC_OBJC_EXPORT - (instancetype)init NS_UNAVAILABLE; -/** Sets the PeerConnection's global configuration to |configuration|. +/** Sets the PeerConnection's global configuration to `configuration`. * Any changes to STUN/TURN servers or ICE candidate policy will affect the * next gathering phase, and cause the next call to createOffer to generate * new ICE credentials. Note that the BUNDLE and RTCP-multiplexing policies @@ -243,7 +243,7 @@ RTC_OBJC_EXPORT /** Add a new media stream track to be sent on this peer connection, and return * the newly created RTCRtpSender. The RTCRtpSender will be - * associated with the streams specified in the |streamIds| list. + * associated with the streams specified in the `streamIds` list. * * Errors: If an error occurs, returns nil. An error can occur if: * - A sender already exists for the track. @@ -265,7 +265,7 @@ RTC_OBJC_EXPORT * transceivers. Adding a transceiver will cause future calls to CreateOffer * to add a media description for the corresponding transceiver. * - * The initial value of |mid| in the returned transceiver is nil. Setting a + * The initial value of `mid` in the returned transceiver is nil. Setting a * new session description may change it to a non-nil value. * * https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtransceiver @@ -325,7 +325,7 @@ RTC_OBJC_EXPORT /** Limits the bandwidth allocated for all RTP streams sent by this * PeerConnection. Nil parameters will be unchanged. Setting - * |currentBitrateBps| will force the available bitrate estimate to the given + * `currentBitrateBps` will force the available bitrate estimate to the given * value. Returns YES if the parameters were successfully updated. */ - (BOOL)setBweMinBitrateBps:(nullable NSNumber *)minBitrateBps @@ -365,7 +365,7 @@ typedef void (^RTCStatisticsCompletionHandler)(RTC_OBJC_TYPE(RTCStatisticsReport @interface RTC_OBJC_TYPE (RTCPeerConnection) (Stats) - /** Gather stats for the given RTCMediaStreamTrack. If |mediaStreamTrack| is nil + /** Gather stats for the given RTCMediaStreamTrack. If `mediaStreamTrack` is nil * statistics are gathered for all tracks. */ - (void)statsForTrack diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoder.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoder.h index b2b2185..fde69a3 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoder.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/RTCVideoEncoder.h @@ -50,6 +50,10 @@ RTC_OBJC_EXPORT scaled, all resolutions comply with 'resolutionAlignment'. */ @property(nonatomic, readonly) BOOL applyAlignmentToAllSimulcastLayers; +/** If YES, the reciever is expected to resample/scale the source texture to the expected output + size. */ +@property(nonatomic, readonly) BOOL supportsNativeHandle; + @end NS_ASSUME_NONNULL_END diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/WebRTC.h b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/WebRTC.h index a066249..2e75f09 100644 --- a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/WebRTC.h +++ b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Headers/WebRTC.h @@ -1,5 +1,5 @@ /* - * Copyright 2022 The WebRTC project authors. All Rights Reserved. + * Copyright 2023 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Info.plist b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Info.plist index 3982d41..17b8b31 100644 Binary files a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Info.plist and b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/Info.plist differ diff --git a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/WebRTC b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/WebRTC index cdf9ebf..6d07251 100755 Binary files a/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/WebRTC and b/bin/WebRTC.xcframework/ios-arm64_x86_64-simulator/WebRTC.framework/WebRTC differ diff --git a/bin/mediasoupclient.xcframework/Info.plist b/bin/mediasoupclient.xcframework/Info.plist index 9ad0d0e..a36821e 100644 --- a/bin/mediasoupclient.xcframework/Info.plist +++ b/bin/mediasoupclient.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath libmediasoupclient.a SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath libmediasoupclient.a SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/bin/mediasoupclient.xcframework/ios-arm64/libmediasoupclient.a b/bin/mediasoupclient.xcframework/ios-arm64/libmediasoupclient.a index 53d8092..ae5bf2a 100644 Binary files a/bin/mediasoupclient.xcframework/ios-arm64/libmediasoupclient.a and b/bin/mediasoupclient.xcframework/ios-arm64/libmediasoupclient.a differ diff --git a/bin/mediasoupclient.xcframework/ios-arm64_x86_64-simulator/libmediasoupclient.a b/bin/mediasoupclient.xcframework/ios-arm64_x86_64-simulator/libmediasoupclient.a index 983807e..70df695 100644 Binary files a/bin/mediasoupclient.xcframework/ios-arm64_x86_64-simulator/libmediasoupclient.a and b/bin/mediasoupclient.xcframework/ios-arm64_x86_64-simulator/libmediasoupclient.a differ diff --git a/bin/sdptransform.xcframework/Info.plist b/bin/sdptransform.xcframework/Info.plist index 2df6e1d..64ad497 100644 --- a/bin/sdptransform.xcframework/Info.plist +++ b/bin/sdptransform.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath libsdptransform.a SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath libsdptransform.a SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/bin/sdptransform.xcframework/ios-arm64/libsdptransform.a b/bin/sdptransform.xcframework/ios-arm64/libsdptransform.a index b4c3b7d..903692b 100644 Binary files a/bin/sdptransform.xcframework/ios-arm64/libsdptransform.a and b/bin/sdptransform.xcframework/ios-arm64/libsdptransform.a differ diff --git a/bin/sdptransform.xcframework/ios-arm64_x86_64-simulator/libsdptransform.a b/bin/sdptransform.xcframework/ios-arm64_x86_64-simulator/libsdptransform.a index bdac944..1769a33 100644 Binary files a/bin/sdptransform.xcframework/ios-arm64_x86_64-simulator/libsdptransform.a and b/bin/sdptransform.xcframework/ios-arm64_x86_64-simulator/libsdptransform.a differ diff --git a/build.sh b/build.sh index bab2c9e..f6abd42 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,26 @@ # Stop script on errors. set -e +# Check build time dependencies. +if ! command -v python &> /dev/null +then + echo 'python could not be found' + echo 'try next steps:' + echo ' * run "brew install pyenv"' + echo ' * run "pyenv install --list" and choose a recent 3.x version say 3.11.2' + echo ' * run "pyenv install 3.11.2"' + echo ' * run "pyenv global 3.11.2"' + echo $' * run "echo \'eval "$(pyenv init --path)"\' >> ~/.zshrc"' + exit +fi +if ! command -v cmake &> /dev/null +then + echo 'cmake could not be found' + echo 'try next steps:' + echo ' * run "brew install cmake"' + exit +fi + # Define working directories. export PROJECT_DIR=$(pwd) echo "PROJECT_DIR = $PROJECT_DIR" @@ -17,85 +37,244 @@ echo "PATCHES_DIR = $PATCHES_DIR" export WEBRTC_DIR=$PROJECT_DIR/Mediasoup/dependencies/webrtc/src echo "WEBRTC_DIR = $WEBRTC_DIR" -echo -e "Clear old build artifacts? (Y|n): \c" -read -n 1 INPUT_STRING -echo "" -case $INPUT_STRING in - n|N) - ;; - *) - declare -a COMPONENTS=( - "$OUTPUT_DIR" - "$BUILD_DIR" - ) - for COMPONENT in "${COMPONENTS[@]}" - do - if [ -d $COMPONENT ] - then - echo "Removing dir $COMPONENT" - rm -rf $COMPONENT - fi - done - - mkdir -p $OUTPUT_DIR - echo 'OUTPUT_DIR created' - - mkdir -p $BUILD_DIR - echo 'BUILD_DIR created' - ;; -esac - -echo -e "Refetch dependencies? (y|N): \c" -read -n 1 INPUT_STRING -echo "" -case $INPUT_STRING in - y|Y) - echo 'Cloning libmediasoupclient' - cd $WORK_DIR - rm -rf libmediasoupclient - git clone https://github.com/VLprojects/libmediasoupclient.git - - echo 'Cloning depot_tools' - cd $WORK_DIR - git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git - export PATH=$WORK_DIR/depot_tools:$PATH - - echo 'Cloning WebRTC' - mkdir -p $WORK_DIR/webrtc - cd $WORK_DIR/webrtc - fetch --nohooks webrtc_ios - gclient sync - cd $WORK_DIR/webrtc/src - git checkout -b m93 refs/remotes/branch-heads/4577 - gclient sync - - # Apply patches to make it buildable with Xcode. - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/builtin_audio_decoder_factory.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/builtin_audio_encoder_factory.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/sdp_video_format_utils.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/sdk_BUILD.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/abseil_optional.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/RTCPeerConnectionFactoryBuilder.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/audio_device_module_h.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/audio_device_module_mm.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/objc_video_decoder_factory_h.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/objc_video_encoder_factory_h.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/video_decoder_factory_h.patch - patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/video_encoder_factory_h.patch - ;; - *) - export PATH=$WORK_DIR/depot_tools:$PATH - cd $WEBRTC_DIR - git restore rtc_base/byte_order.h - ;; -esac +function clearArtifacts() { + declare -a COMPONENTS=( + "$OUTPUT_DIR" + "$BUILD_DIR" + ) + for COMPONENT in "${COMPONENTS[@]}" + do + if [ -d $COMPONENT ] + then + echo "Removing dir $COMPONENT" + rm -rf $COMPONENT + fi + done + + mkdir -p $OUTPUT_DIR + echo 'OUTPUT_DIR created' + + mkdir -p $BUILD_DIR + echo 'BUILD_DIR created' +} + +while true +do + read -n 1 -p "Clear old build artifacts? (Y|n): " INPUT_STRING + # echo "" + case $INPUT_STRING in + n|N) + echo "" + break + ;; + y|Y|"") + echo "" + clearArtifacts + break + ;; + *) + echo -ne "\r\033[0K\r" + tput bel + ;; + esac +done + +function refetchLibmediasoupclient() { + echo 'Cloning libmediasoupclient' + cd $WORK_DIR + rm -rf libmediasoupclient + git clone -b vl-3.4.0.0 --depth 1 https://github.com/VLprojects/libmediasoupclient.git +} + +if [ -d $WORK_DIR/libmediasoupclient ] +then + echo "libmediasoupclient is already on disk" + while true + do + read -n 1 -p "Refetch libmediasoupclient (y|N): " INPUT_STRING + case $INPUT_STRING in + n|N|"") + echo "" + break + ;; + y|Y) + echo "" + refetchLibmediasoupclient + break + ;; + *) + echo -ne "\r\033[0K\r" + tput bel + ;; + esac + done +else + refetchLibmediasoupclient +fi + +function refetchDepotTools() { + echo 'Cloning depot_tools' + cd $WORK_DIR + rm -rf depot_tools + git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git +} + +if [ -d $WORK_DIR/depot_tools ] +then + echo "depot_tools is already on disk" + while true + do + read -n 1 -p "Refetch depot_tools (y|N): " INPUT_STRING + echo "" + case $INPUT_STRING in + n|N|"") + break + ;; + y|Y) + refetchDepotTools + break + ;; + *) + tput bel + ;; + esac + done +else + refetchDepotTools +fi + +export PATH=$WORK_DIR/depot_tools:$PATH + +function patchWebRTC() { + echo 'Patching WebRTC for iOS platform support' + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/builtin_audio_decoder_factory.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/builtin_audio_encoder_factory.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/sdp_video_format_utils.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/sdk_BUILD.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/abseil_optional.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/RTCPeerConnectionFactoryBuilder.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/audio_device_module_h.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/audio_device_module_mm.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/objc_video_decoder_factory_h.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/objc_video_encoder_factory_h.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/video_decoder_factory_h.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/video_encoder_factory_h.patch + patch -b -p0 -d $WORK_DIR < $PATCHES_DIR/BUILD_gn.patch +} + +function refetchWebRTC() { + echo 'Cloning WebRTC' + rm -rf $WORK_DIR/webrtc + mkdir -p $WORK_DIR/webrtc + cd $WORK_DIR/webrtc + + export DEPOT_TOOLS_UPDATE=0 + gclient root + gclient config --spec \ +'solutions = [{ + "name": "src", + "url": "https://webrtc.googlesource.com/src.git", + "deps_file": "DEPS", + "managed": False, + "custom_deps": {}, +}] +target_os = ["ios"]' + + # This command fetches only one specific WebRTC version. + gclient sync --no-history --revision src@branch-heads/4606 + + # Fetch all possible WebRTC versions so you can switch between them. + # Takes longer time and more disk space. + # gclient sync --nohooks --with_branch_heads --with_tags + + # Checkout a new version for the first time + # git checkout -b m94 refs/remotes/branch-heads/4606 + + # Switch to WebRTC version that already was checked out previously. + # git checkout m94 + + # Run hooks after switching between WebRTC versions. + # cd $WORK_DIR/webrtc/src + # gclient sync --no-history -D +} + +function resetWebRTC() { + cd $WORK_DIR/webrtc/src + git reset --hard + + cd $WORK_DIR/webrtc/src/third_party + git reset --hard +} + +if [ -d $WORK_DIR/webrtc ] +then + echo "WebRTC is already on disk" + while true + do + read -n 1 -p "Refetch WebRTC? (f)ull clone | (r)eset local changes | (N)o: " INPUT_STRING + echo "" + case $INPUT_STRING in + n|N|"") + break + ;; + f|F) + refetchWebRTC + patchWebRTC + break + ;; + r|R) + resetWebRTC + patchWebRTC + break + ;; + *) + tput bel + ;; + esac + done +else + refetchWebRTC + patchWebRTC +fi + +# This patch should be applied only after WebRTC is already built. +cd $WEBRTC_DIR +git restore rtc_base/byte_order.h echo 'Building WebRTC' cd $WEBRTC_DIR -gn gen $BUILD_DIR/WebRTC/device/arm64 --ide=xcode --args='target_os="ios" target_environment="device" target_cpu="arm64" ios_deployment_target="13.0" ios_enable_code_signing=false use_xcode_clang=true is_component_build=false rtc_include_tests=false is_debug=false rtc_libvpx_build_vp9=false enable_ios_bitcode=false use_goma=false rtc_enable_symbol_export=true rtc_include_builtin_audio_codecs=true rtc_include_builtin_video_codecs=true rtc_enable_protobuf=false use_rtti=true use_custom_libcxx=false enable_dsyms=true enable_stripping=true treat_warnings_as_errors=false' -gn gen $BUILD_DIR/WebRTC/simulator/x64 --ide=xcode --args='target_os="ios" target_environment="simulator" target_cpu="x64" ios_deployment_target="13.0" ios_enable_code_signing=false use_xcode_clang=true is_component_build=false rtc_include_tests=false is_debug=false rtc_libvpx_build_vp9=false enable_ios_bitcode=false use_goma=false rtc_enable_symbol_export=true rtc_include_builtin_audio_codecs=true rtc_include_builtin_video_codecs=true rtc_enable_protobuf=false use_rtti=true use_custom_libcxx=false enable_dsyms=true enable_stripping=true treat_warnings_as_errors=false' -gn gen $BUILD_DIR/WebRTC/simulator/arm64 --ide=xcode --args='target_os="ios" target_environment="simulator" target_cpu="arm64" ios_deployment_target="13.0" ios_enable_code_signing=false use_xcode_clang=true is_component_build=false rtc_include_tests=false is_debug=false rtc_libvpx_build_vp9=false enable_ios_bitcode=false use_goma=false rtc_enable_symbol_export=true rtc_include_builtin_audio_codecs=true rtc_include_builtin_video_codecs=true rtc_enable_protobuf=false use_rtti=true use_custom_libcxx=false enable_dsyms=true enable_stripping=true treat_warnings_as_errors=false' +gn_arguments=( + 'target_os="ios"' + 'ios_deployment_target="13.0"' + 'ios_enable_code_signing=false' + 'use_xcode_clang=true' + 'is_component_build=false' + 'rtc_include_tests=false' + 'is_debug=false' + 'rtc_libvpx_build_vp9=false' + 'enable_ios_bitcode=false' + 'use_goma=false' + 'rtc_enable_symbol_export=true' + 'rtc_include_builtin_audio_codecs=true' + 'rtc_include_builtin_video_codecs=true' + 'rtc_enable_protobuf=false' + 'use_rtti=true' + 'use_custom_libcxx=false' + 'enable_dsyms=true' + 'enable_stripping=true' + 'treat_warnings_as_errors=false' +) + +for str in ${gn_arguments[@]}; do + gn_args+=" ${str}" +done +platform_args='target_environment="device" target_cpu="arm64"' +gn gen $BUILD_DIR/WebRTC/device/arm64 --ide=xcode --args="${platform_args}${gn_args}" +platform_args='target_environment="simulator" target_cpu="x64"' +gn gen $BUILD_DIR/WebRTC/simulator/x64 --ide=xcode --args="${platform_args}${gn_args}" +platform_args='target_environment="simulator" target_cpu="arm64"' +gn gen $BUILD_DIR/WebRTC/simulator/arm64 --ide=xcode --args="${platform_args}${gn_args}" cd $BUILD_DIR/WebRTC ninja -C device/arm64 sdk @@ -120,67 +299,97 @@ xcodebuild -create-xcframework \ cd $WORK_DIR -# Build mediasoup-client-ios -cmake . -B$BUILD_DIR/libmediasoupclient/device/arm64 \ - -DLIBWEBRTC_INCLUDE_PATH=$WEBRTC_DIR \ - -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/device/arm64/WebRTC.framework/WebRTC \ - -DMEDIASOUP_LOG_TRACE=ON \ - -DMEDIASOUP_LOG_DEV=ON \ - -DCMAKE_CXX_FLAGS="-fvisibility=hidden" \ - -DLIBSDPTRANSFORM_BUILD_TESTS=OFF \ - -DIOS_SDK=iphone \ - -DCMAKE_OSX_DEPLOYMENT_TARGET=14 \ - -DIOS_ARCHS="arm64" \ - -DPLATFORM=OS64 \ - -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" -make -C $BUILD_DIR/libmediasoupclient/device/arm64 - -cmake . -B$BUILD_DIR/libmediasoupclient/simulator/x64 \ - -DLIBWEBRTC_INCLUDE_PATH=$WEBRTC_DIR \ - -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/simulator/x64/WebRTC.framework/WebRTC \ - -DMEDIASOUP_LOG_TRACE=ON \ - -DMEDIASOUP_LOG_DEV=ON \ - -DCMAKE_CXX_FLAGS="-fvisibility=hidden" \ - -DLIBSDPTRANSFORM_BUILD_TESTS=OFF \ - -DIOS_SDK=iphonesimulator \ - -DCMAKE_OSX_DEPLOYMENT_TARGET=14 \ - -DIOS_ARCHS="x86_64" \ - -DPLATFORM=SIMULATOR64 \ - -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" -make -C $BUILD_DIR/libmediasoupclient/simulator/x64 - -cmake . -B$BUILD_DIR/libmediasoupclient/simulator/arm64 \ - -DLIBWEBRTC_INCLUDE_PATH=$WEBRTC_DIR \ - -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/simulator/arm64/WebRTC.framework/WebRTC \ - -DMEDIASOUP_LOG_TRACE=ON \ - -DMEDIASOUP_LOG_DEV=ON \ - -DCMAKE_CXX_FLAGS="-fvisibility=hidden" \ - -DLIBSDPTRANSFORM_BUILD_TESTS=OFF \ - -DIOS_SDK=iphonesimulator \ - -DCMAKE_OSX_DEPLOYMENT_TARGET=14 \ - -DIOS_ARCHS="arm64"\ - -DPLATFORM=SIMULATORARM64 \ - -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" -make -C $BUILD_DIR/libmediasoupclient/simulator/arm64 - -# Create a FAT libmediasoup / libsdptransform library -mkdir -p $BUILD_DIR/libmediasoupclient/simulator/fat -lipo -create \ - $BUILD_DIR/libmediasoupclient/simulator/x64/libmediasoupclient/libmediasoupclient.a \ - $BUILD_DIR/libmediasoupclient/simulator/arm64/libmediasoupclient/libmediasoupclient.a \ - -output $BUILD_DIR/libmediasoupclient/simulator/fat/libmediasoupclient.a -lipo -create \ - $BUILD_DIR/libmediasoupclient/simulator/x64/libmediasoupclient/libsdptransform/libsdptransform.a \ - $BUILD_DIR/libmediasoupclient/simulator/arm64/libmediasoupclient/libsdptransform/libsdptransform.a \ - -output $BUILD_DIR/libmediasoupclient/simulator/fat/libsdptransform.a -xcodebuild -create-xcframework \ - -library $BUILD_DIR/libmediasoupclient/device/arm64/libmediasoupclient/libmediasoupclient.a \ - -library $BUILD_DIR/libmediasoupclient/simulator/fat/libmediasoupclient.a \ - -output $OUTPUT_DIR/mediasoupclient.xcframework -xcodebuild -create-xcframework \ - -library $BUILD_DIR/libmediasoupclient/device/arm64/libmediasoupclient/libsdptransform/libsdptransform.a \ - -library $BUILD_DIR/libmediasoupclient/simulator/fat/libsdptransform.a \ - -output $OUTPUT_DIR/sdptransform.xcframework +function rebuildLMSC() { + echo "Building libmediasoupclient" + rm -rf $BUILD_DIR/libmediasoupclient + rm -rf $OUTPUT_DIR/sdptransform.xcframework + rm -rf $OUTPUT_DIR/mediasoupclient.xcframework + + lmsc_cmake_arguments=( + "-DLIBWEBRTC_INCLUDE_PATH=$WEBRTC_DIR" + '-DMEDIASOUP_LOG_TRACE=ON' + '-DMEDIASOUP_LOG_DEV=ON' + '-DCMAKE_CXX_FLAGS="-fvisibility=hidden"' + '-DLIBSDPTRANSFORM_BUILD_TESTS=OFF' + '-DCMAKE_OSX_DEPLOYMENT_TARGET=14' + ) + for str in ${lmsc_cmake_arguments[@]}; do + lmsc_cmake_args+=" ${str}" + done + + # Build mediasoup-client-ios + cmake . -B $BUILD_DIR/libmediasoupclient/device/arm64 \ + ${lmsc_cmake_args} \ + -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/device/arm64/WebRTC.framework/WebRTC \ + -DIOS_SDK=iphone \ + -DIOS_ARCHS="arm64" \ + -DPLATFORM=OS64 \ + -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk" + make -C $BUILD_DIR/libmediasoupclient/device/arm64 + + cmake . -B $BUILD_DIR/libmediasoupclient/simulator/x64 \ + ${lmsc_cmake_args} \ + -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/simulator/x64/WebRTC.framework/WebRTC \ + -DIOS_SDK=iphonesimulator \ + -DIOS_ARCHS="x86_64" \ + -DPLATFORM=SIMULATOR64 \ + -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" + make -C $BUILD_DIR/libmediasoupclient/simulator/x64 + + cmake . -B $BUILD_DIR/libmediasoupclient/simulator/arm64 \ + ${lmsc_cmake_args} \ + -DLIBWEBRTC_BINARY_PATH=$BUILD_DIR/WebRTC/simulator/arm64/WebRTC.framework/WebRTC \ + -DIOS_SDK=iphonesimulator \ + -DIOS_ARCHS="arm64"\ + -DPLATFORM=SIMULATORARM64 \ + -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" + make -C $BUILD_DIR/libmediasoupclient/simulator/arm64 + + # Create a FAT libmediasoup / libsdptransform library + mkdir -p $BUILD_DIR/libmediasoupclient/simulator/fat + lipo -create \ + $BUILD_DIR/libmediasoupclient/simulator/x64/libmediasoupclient/libmediasoupclient.a \ + $BUILD_DIR/libmediasoupclient/simulator/arm64/libmediasoupclient/libmediasoupclient.a \ + -output $BUILD_DIR/libmediasoupclient/simulator/fat/libmediasoupclient.a + lipo -create \ + $BUILD_DIR/libmediasoupclient/simulator/x64/libmediasoupclient/libsdptransform/libsdptransform.a \ + $BUILD_DIR/libmediasoupclient/simulator/arm64/libmediasoupclient/libsdptransform/libsdptransform.a \ + -output $BUILD_DIR/libmediasoupclient/simulator/fat/libsdptransform.a + xcodebuild -create-xcframework \ + -library $BUILD_DIR/libmediasoupclient/device/arm64/libmediasoupclient/libmediasoupclient.a \ + -library $BUILD_DIR/libmediasoupclient/simulator/fat/libmediasoupclient.a \ + -output $OUTPUT_DIR/mediasoupclient.xcframework + xcodebuild -create-xcframework \ + -library $BUILD_DIR/libmediasoupclient/device/arm64/libmediasoupclient/libsdptransform/libsdptransform.a \ + -library $BUILD_DIR/libmediasoupclient/simulator/fat/libsdptransform.a \ + -output $OUTPUT_DIR/sdptransform.xcframework +} + +if [ -d $BUILD_DIR/libmediasoupclient ] +then + echo "libmediasoupclient is already built" + while true + do + read -n 1 -p "Rebuild libmediasoupclient (y|N): " INPUT_STRING + case $INPUT_STRING in + n|N|"") + echo "" + break + ;; + y|Y) + echo "" + rebuildLMSC + break + ;; + *) + echo -ne "\r\033[0K\r" + tput bel + ;; + esac + done +else + rebuildLMSC +fi cp $PATCHES_DIR/byte_order.h $WORK_DIR/webrtc/src/rtc_base/ open $PROJECT_DIR/Mediasoup.xcodeproj diff --git a/patches/BUILD_gn.patch b/patches/BUILD_gn.patch new file mode 100644 index 0000000..264f248 --- /dev/null +++ b/patches/BUILD_gn.patch @@ -0,0 +1,11 @@ +--- webrtc/src/BUILD.gn ++++ webrtc/src/BUILD.gn +@@ -122,7 +122,7 @@ config("common_inherited_config") { + defines = [ "WEBRTC_ENABLE_SYMBOL_EXPORT" ] + } + if (rtc_enable_objc_symbol_export) { +- defines = [ "WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT" ] ++ defines += [ "WEBRTC_ENABLE_OBJC_SYMBOL_EXPORT" ] + } + + if (build_with_mozilla) {