A Swift wrapper around Janus RESTful API.
If your project uses CocoaPods, just add the following to your Podfile
:
pod "JanusSwift", '~> 0.0.6'
If your project uses SwiftPM, just add the following as adding a dependencies
clause to your Package.swift
:
dependencies: [
.package(url: "https://github.com/amarantedaniel/JanusSwift.git", from: "0.0.6")
]
Currently the only supported plugin is streaming and not all of the routes are there yet.
There is an example on how to integrate Janus streaming plugin with WebRTC using SwiftUI. It's using RTCMTLVideoView
only for now which means it won't work on iOS simulators.