Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cats-oss/VideoCast-Swift
A framework for broadcasting live video
https://github.com/cats-oss/VideoCast-Swift
Last synced: about 1 month ago
JSON representation
A framework for broadcasting live video
- Host: GitHub
- URL: https://github.com/cats-oss/VideoCast-Swift
- Owner: cats-oss
- License: mit
- Created: 2018-03-15T15:26:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-12T15:09:08.000Z (over 1 year ago)
- Last Synced: 2024-10-31T05:20:56.671Z (about 1 month ago)
- Language: Swift
- Size: 79.6 MB
- Stars: 190
- Watchers: 40
- Forks: 46
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-inspiration - VideoCast-Swift
README
# VideoCast-Swift
VideoCast-Swift is a framework for broadcasting live video. It is based on [VideoCore](https://github.com/jgh-/VideoCore-Inactive) C++ library but rewritten in Swift. It currently works with iOS. It is a work in progress and will eventually expand to other platforms such as OS X.
### Table of Contents
* [Setup](#setup)
* [Architecture Overview](#architecture-overview)
* [Features](#features)
* [Version History](#version-history)## Setup
#### CocoaPods
Create a `Podfile` with the contents
``` ruby
platform :ios, '8.0'
pod 'VideoCast', '~> 0.1.0'
use_frameworks!
```
Next, run `pod install` and open the `xcworkspace` file that is created.## Architecture Overview
Samples start at the source, are passed through a series of transforms, and end up at the output.
e.g. Source (Camera) -> Transform (Composite) -> Transform (H.264 Encode) -> Transform (RTMP Packetize) -> Output (RTMP)
## Features
- Streaming protocols
- RTMP publish
- SRT (caller mode)
- Encoders
- H.264
- HEVC
- AAC
- Adaptive bitrate
- Multiplexers
- MPEG-2 TS
- MP4 for recording
- Mixers
- Video
- Audio
- Sources
- Camera
- Microphone
- ReplayKit 2(Live Screen Broadcast)## Build SRT
```
git clone https://github.com/openfresh/VideoCast-Swift.git
cd VideoCast-Swiftgit submodule update --init
cd SRT
./build_openssl.sh
./build_srt.sh```
## Version History
* 0.1.2
* RTMPS
* 0.1.0
* Live Screen Broadcast
* 32 bit architecher support
* Auto reconnect
* Fixed low bitrate problems
* Other bugfixes
* 0.0.2
* Metal videomixing and preview.
* SRT Adaptive bitrate
* New iOS Example
* Bugfixes
* 0.0.1
* Initial CocoaPods version