Add a delegate method - (RTCVideoRotation)rotationForCameraVideoCapturer
for RTCCameraVideoCapturer
to handle device orientation update events.
Add renderers property in class RTCVideoTrack
.
This repository contains unofficial distribution of WebRTC framework binaries for macOS.
Since version M80, Google has deprecated their mobile binary libraries distributions (Was officially using the GoogleWebRTC pod). To get the most up to date WebRTC library, you can compile it on your own, or you can use precompiled binaries from other sources.
The binary releases correspond with official Chromium releases and branches as specified in the Chromium dashboard.
Xcode has a built-in support for Swift package manager. You can easily add the package by selecting File > Swift Packages > Add Package Dependency. Read more in Apple documentation.
Or, you can add the following dependency to your Package.swift
file:
dependencies: [
.Package(url: "https://github.com/Meonardo/WebRTC-OSX.git", .upToNextMajor("91.1.1"))
]
Use the latest
branch to get the most up to date binary:
dependencies: [
.Package(url: "https://github.com/Meonardo/WebRTC-OSX.git", .branch("main"))
]
To import WebRTC to your code add the following import statement
import WebRTC
link |
Stars: 1 |
Last commit: 2 years ago |
Release notes: Custom branch based on Master, time: 2021-06-16 09:21:34 GMT+8 WebRTC Branch: master WebRTC Commit: ae881da82822b4e73c119c37d1d6986c8eb68b49 SHA 256 checksum: 1123cac9d41cf560994a188c52ebe7d9e68301b52b8e78236a125e54d91245d7
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics