iOS Swift WebRTC Client SDK

This SDK implements WebRTC, using Nabto Edge Streams for signaling. It wraps the Chromium WebRTC player component for simple integration in your own app.

Installation

Edge Client WebRTC for Swift is currently only available with Swift Package Manager.

To install with Swift Package Manager add the following line to your Package.swift file’s dependencies

.package(url: "https://github.com/nabto/edge-client-swift-webrtc", .branch("main"))

Or add it through XCode by right clicking “Package Dependencies” in the project explorer:

Add the package by entering its URL: https://github.com/nabto/edge-client-swift-webrtc.git:

Usage

The WebRTC Video Streaming Client best practice guide contains Swift example snippets showing how to use the SDK to do WebRTC signaling on an established Nabto Edge connection. And how to use the EdgeMetalVideoView component to display received WebRTC frames.

The source code is available for a simple app that demonstrates using this SDK. This app is also available in the app store for a quick end-to-end demo.