Skip to content

huiping192/HPLiveKit

Repository files navigation

HPLiveKit

CI License Platform

Swift rtmp base live streaming lib. Inspired by LFLiveKit https://github.com/LaiFengiOS/LFLiveKit

Features

video

  • Video configuration
  • Beauty Face
  • WaterMark

audio

  • Audio configuration
  • Audio Mute
  • AudioEngine support
  • Audio only broadcasting
  • Audio broadcasting in background

encoder

  • H264 Hardware Encoding
  • AAC Hardware Encoding

publish

  • RTMP
  • Drop frames on bad network
  • Dynamic switching bitRate
  • local MP4 recording

Example

To run the example project, clone the repo and open Example/HPLiveKit.xcodeproj in Xcode.

Requirements

  • iOS 14.0+
  • Xcode 13+
  • Swift 5.5+

Installation

Swift Package Manager

HPLiveKit is available through Swift Package Manager.

To add HPLiveKit to your Xcode project:

  1. File > Add Package Dependencies
  2. Enter package URL: https://github.com/huiping192/HPLiveKit
  3. Select version or branch
  4. Add to your target

Or add it to your Package.swift:

dependencies: [
    .package(url: "https://github.com/huiping192/HPLiveKit", from: "0.1.0")
]

Note: CocoaPods support has been discontinued. Please use Swift Package Manager instead.

Usage example

Author

Huiping Guo, huiping192@gmail.com

Release History

License

HPLiveKit is available under the MIT license. See the LICENSE file for more info.

About

Swift Live Broadcasting Framework for iOS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages