mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-05-07 20:12:28 +00:00
689 B
689 B
RTCHaishinKit
This module supports WHIP/WHEP protocols.
🔍 Overview
RTCHaishinKit is WHIP/WHEP protocols stack in Swift. It internally uses a library that is built from libdatachannel and converted into an xcframework.
🎨 Features
- Publish(WHIP)
- H264 and OPUS support.
- Playback(WHEP)
- H264 and OPUS support.
📓 Usage
Logging
- Defining a Swift wrapper method for
rtcInitLogger.
await RTCLogger.shared.setLevel(.debug)
Session
Currently designed to work with the Session API.
import RTCHaishinKit
await SessionBuilderFactory.shared.register(HTTPSessionFactory())