├── .gitignore ├── .gitattributes ├── README.md ├── Package.swift ├── LiveKitWebRTC.podspec └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # webrtc-xcframework 2 | 3 | LiveKit version Dynamic WebRTC XCFramework 4 | 5 | * Framework is renamed to `LiveKitWebRTC`. 6 | * Objective-C symbols are prefixed with `LK`, for example `LKRTCPeerConnection`. 7 | 8 | Built using : 9 | * https://github.com/webrtc-sdk/webrtc/tree/livekit-prefixed 10 | * https://gist.github.com/hiroshihorie/fbc26cbbc027ff68d3f51b457cd0e248 11 | 12 | ## Requirements 13 | * iOS 13+ 14 | * macOS 10.15+ 15 | * Mac Catalyst 14.0+ 16 | 17 | ## Binaries included 18 | | **Platform / arch** | arm64 | x64 | 19 | |---------------------|--------|---------| 20 | | **iOS (device)** | ✅ | N/A | 21 | | **iOS (simulator)** | ✅ | ✅ | 22 | | **macOS** | ✅ | ✅ | 23 | | **Mac Catalyst** | ✅ | ✅ | 24 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.7 2 | // (Xcode14.0+) 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "LiveKitWebRTC", 8 | platforms: [ 9 | .iOS(.v13), 10 | .macOS(.v10_15), 11 | .macCatalyst(.v14), 12 | ], 13 | products: [ 14 | .library( 15 | name: "LiveKitWebRTC", 16 | targets: ["LiveKitWebRTC"] 17 | ), 18 | ], 19 | dependencies: [], 20 | targets: [ 21 | .binaryTarget( 22 | name: "LiveKitWebRTC", 23 | url: "https://github.com/livekit/webrtc-xcframework/releases/download/114.5735.18/LiveKitWebRTC.xcframework.zip", 24 | checksum: "25ed502e9ed0025c6ef7089a90ad987b6537e628d498a11ff4071664de4f45b8" 25 | ), 26 | ] 27 | ) 28 | -------------------------------------------------------------------------------- /LiveKitWebRTC.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |spec| 2 | spec.name = "LiveKitWebRTC" 3 | spec.version = "114.5735.18" 4 | spec.summary = "Custom WebRTC build for LiveKit" 5 | spec.description = <<-DESC 6 | LiveKit version Dynamic WebRTC XCFramework 7 | * Framework is renamed to LiveKitWebRTC. 8 | * Objective-C symbols are prefixed with LK, for example LKRTCPeerConnection. 9 | DESC 10 | 11 | spec.homepage = "https://github.com/livekit/webrtc-xcframework" 12 | spec.license = {:type => "BSD", :file => "LiveKitWebRTC.xcframework/LICENSE"} 13 | spec.author = "LiveKit" 14 | 15 | spec.ios.deployment_target = "13.0" 16 | spec.osx.deployment_target = "10.15" 17 | 18 | spec.source = { 19 | :http => "https://github.com/livekit/webrtc-xcframework/releases/download/114.5735.18/LiveKitWebRTC.xcframework.zip" 20 | } 21 | spec.vendored_frameworks = "LiveKitWebRTC.xcframework" 22 | end 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 WebRTC SDKs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------