Skip to content

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ACLiveKit

ACLiveKit is a opensource RTMP streaming SDK for iOS.

Architecture

arch

Features

  • Support recording and playback
  • Support H264+AAC Hardware Encoding and Decoding
  • Audio configuration
  • Video configuration
  • RTMP Transport
  • Support Send Buffer
  • Support both push and pull streaming

Requirements

- iOS 10.0+
- Xcode 12.4

Installation

CocoaPods

# To integrate ACLiveKit into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
pod 'ACLiveKit'
# Then, run the following command:
$ pod install

Manually

1. Download all the files in the `ACLiveKit` subdirectory.
2. Add the source files to your Xcode project.
3. Link with required frameworks:
* UIKit
* Foundation
* AVFoundation
* VideoToolbox
* AudioToolbox
* libz
* libstdc++

Usage example

Objective-C

- (ACLiveSession *)session {
if (!_session) {
NSString *url = @"your server rtmp url";
ACLiveAudioConfiguration *audioConfig = [ACLiveAudioConfiguration defaultConfiguration];
ACLiveVideoConfiguration *videoConfig = [ACLiveVideoConfiguration defaultConfiguration];
_session = [[ACLiveSession alloc] initWithAudioConfiguration:audioConfig
videoConfiguration:videoConfig
url:url];
[_session setLivePreview:self.view];
}
return _session;
}
- (void)startLive { [self.session startLive];
}
- (void)stopLive {
[self.session stopLive];
}

License

ACLiveKit is released under the MIT license. See LICENSE for details.

About

ACLiveKit is a opensource RTMP streaming SDK for iOS.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages