Horizon SDK for iOS

Overview

Horizon SDK for iOS

Horizon logo

Carthage compatible

CocoaPods compatible

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library.

Some of the features of Horizon SDK include:

  • Horizon real-time leveling algorithm (you can find more at https://horizon.camera)
  • Support for multiple resolutions (up to 2K recording) and frame rates.
  • Custom filter support using the Core Image framework.
  • Multiple previews.
  • A simple view controller that makes integrating the SDK to your app really easy.
  • Access to the video buffer so that it can be further processed or live streamed using other libraries.

In order to use Horizon SDK on your app, you have to receive an API key by contacting us. The provided sample apps contain their own API keys.

The library can be used on devices running iOS version 8 or higher. You can build your application using the latest Xcode.

For more information take a look at the Installation and Quick Start guides of the documentation.

Examples

There are three Xcode projects in the Examples directory with examples of how to create a simple video recording application, a more advanced use of the library and a Swift project.

  • The HorizonSDKDemo example app demonstrates the same basic functionality of the HorizonSDK: Creating a preview, instanciating the camera and having a record button. HorizonSDKDemo requires iOS 8.0 or later.

  • The AdvancedHorizonSDKDemo example app demonstrates a more advanced functionality of the HorizonSDK: There are two previews, a simple and a leveled one. The app responds to device orientation events and demonstrates some of the features available on HorizonSDK. AdvancedHorizonSDKDemo requires iOS 8.0 or later.

  • The SwiftHorizonSDKDemo example app provides a simple app written in Swift that shows how to integrate HorizonSDK library with a Swift project. SwiftHorizonSDKDemo requires iOS 8.4 or later.

You might also like...
A Snapchat Inspired iOS Camera Framework written in Swift
A Snapchat Inspired iOS Camera Framework written in Swift

Overview SwiftyCam is a a simple, Snapchat-style iOS Camera framework for easy photo and video capture. SwiftyCam allows users to capture both photos

An iOS framework that uses the front camera, detects your face and takes a selfie.
An iOS framework that uses the front camera, detects your face and takes a selfie.

TakeASelfie An iOS framework that uses the front camera, detects your face and takes a selfie. This api opens the front camera and draws an green oval

Video and photo camera for iOS
Video and photo camera for iOS

Features: Description Records video 🎥 takes photos 📷 Flash on/off ⚡ Front / Back camera ↕️ Hold to record video ✊ Tap to take photo 👇 Tap to focus

KatKit: a Swift UI library for iOS
KatKit: a Swift UI library for iOS

KatKit KatKit is a Swift UI library for iOS. It looks similar to the Daagn marke

Privacy-Insight - Read iOS 15 privacy insight .ndjson file into your human brain
Privacy-Insight - Read iOS 15 privacy insight .ndjson file into your human brain

Insight Read iOS 15 privacy insight '.ndjson' file into your human brain. Writte

Animal Crossing New Horizon companion app in SwiftUI
Animal Crossing New Horizon companion app in SwiftUI

You can now download the app on the App Store! The best Animal Crossing New Horizons companion app! 最高の「あつまれ どうぶつの森」コンパニオンアプリ Animal Crossing New Hori

Each step you take reveals a new horizon. You have taken the first step today.
Each step you take reveals a new horizon. You have taken the first step today.

The story Seeing the animations behind Paper, or the transitions behind Mail, being in a world of flat design and transitions, user interaction, app b

Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App
Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App

About PerimeterX PerimeterX is the leading provider of application security solu

Alter SDK is a cross-platform SDK consisting of a real-time 3D avatar system, facial motion capture, and an Avatar Designer component built from scratch for web3 interoperability and the open metaverse.
Alter SDK is a cross-platform SDK consisting of a real-time 3D avatar system, facial motion capture, and an Avatar Designer component built from scratch for web3 interoperability and the open metaverse.

Alter SDK is a cross-platform SDK consisting of a real-time 3D avatar system, facial motion capture, and an Avatar Designer component built from scratch for web3 interoperability and the open metaverse.

Proxitee iOS SDK to enable iOS apps to use the Proxitee platform with iBeacon and GeoFencing

Proxitee iOS SDK Introduction The Proxitee iOS SDK allows you to enable your iOS devices to use the Proxitee platform with iBeacons and GeoFences, for

Native iOS implementation of RadarCOVID tracing client using DP3T iOS SDK

RadarCOVID iOS App Introduction Native iOS implementation of RadarCOVID tracing client using DP3T iOS SDK Prerequisites These are the tools used to bu

Apphud SDK is a lightweight open-source Swift library to manage auto-renewable subscriptions and other in-app purchases in your iOS app.
Apphud SDK is a lightweight open-source Swift library to manage auto-renewable subscriptions and other in-app purchases in your iOS app.

Apphud SDK Apphud SDK is a lightweight open-source Swift library to manage auto-renewable subscriptions and other in-app purchases in your iOS app. No

Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately
Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately

Crowdin iOS SDK Crowdin iOS SDK delivers all new translations from Crowdin project to the application immediately. So there is no need to update this

CovidCertificate SDK for iOS

This is the Swiss implementation of the Electronic Health Certificates (EHN) Specification [1] used to verify the validity of Digital Covid Certificates. It is partly based on the reference implementation of EHN's ValidationCore

Bugfender SDK for iOS, a remote logger tailor-made for mobile
Bugfender SDK for iOS, a remote logger tailor-made for mobile

Bugfender SDK for iOS Bugfender is a cloud service to collect mobile application logs. Developers can control log sending programmatically and manuall

TelegramStickersImport — Telegram stickers importing SDK for iOS

TelegramStickersImport — Telegram stickers importing SDK for iOS TelegramStickersImport helps your users import third-party programaticaly created sti

Unofficial iOS/macOS SDK for the Notion API.
Unofficial iOS/macOS SDK for the Notion API.

NotionClient: a Notion SDK for iOS & macOS Unofficial Notion API SDK for iOS & macOS. This is an alpha version and still work in progress. TODO Featur

SDK для интеграции плеера IVI в сторонние ios-приложения
SDK для интеграции плеера IVI в сторонние ios-приложения

IVIExternPlayerSDK SDK позволяет интегрировать плеер IVI в сторонние приложения. Требования iOS 12.0 и выше В Info.plist приложения должен быть выстав

Desk360 Mobile Chat SDK for iOS

Desk360 Chat iOS SDK Desk360 Chat SDK provides simplicity and usability in one place. With this feature, you can provide live support to your customer

Comments
  • BG task not ending

    BG task not ending

    I am experiencing memory leaks in the following scenario. I am using an HTV camera in 2 different classes .

    Here is my code.

    //Launch Camera in class A //HTVVideo mode

    • (void)launchCamera {

      self.camera = [HVTCamera new];

      [self.camera setCaptureDevice:[self getCaptureDeviceForcameraType:AVCaptureDeviceTypeBuiltInTelephotoCamera] error:nil];

      [self.camera setLevelerFlexSpeed: HVTLevelerFlexSpeedResponsive];

      [self.camera setDelegate:self];

      [self.preview setFillMode:HVTViewFillModeAspectFill];

      [self.camera addView:self.preview];

      if(![self.camera isRunning]) {

        [self.camera startRunning];
      
        return;
      

      }

    }

    //Launch Camera in class B //HVTCaptureModePhoto

    • (void)launchCamera {

      self.camera = [HVTCamera new];

      [self.camera setLevelerFlexSpeed: HVTLevelerFlexSpeedResponsive];

      [self.camera setDelegate:self];

      [self.preview setFillMode:HVTViewFillModeAspectFill];

      [self.camera setCaptureMode:HVTCaptureModePhoto cameraPosition:AVCaptureDevicePositionBack];

      [self.camera setCaptureDevice:[self getCaptureDeviceForcameraType:AVCaptureDeviceTypeBuiltInTelephotoCamera] error:nil];

      [self.camera setInterfaceOrientation:UIInterfaceOrientationPortrait];

      [self.camera addView:self.preview];

      if(![self.camera isRunning]) {

        [self.camera startRunning];
      
        return;
      

      }

    }

    The memory leaks when try to launch camera for class A after camera launch for class B (Launching Video camera after Capture camera).

    Logs. : testVideos[44586:12022901] [BackgroundTask] Background Task 4 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:19:53.187075+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 5 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:20:47.975246+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 6 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:20:49.976846+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 7 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:21:57.910423+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 8 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:22:00.911954+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 9 ("Called by HorizonSDK, from -[HVTPipeline videoPipelineWillStartRunning]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. 2022-01-04 23:22:08.913345+0530 testVideos[44586:12022901] [BackgroundTask] Background Task 10 ("Called by HorizonSDK, from -[HVTCamera recordingStarting]"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this

    opened by navrozhuda 1
  • Sample App

    Sample App

    Is there any instructions for using the sample apps? I can't change Bundle ID without a crash, and can't create a provisioning profile for that bundle ID

    opened by ncwarren 1
Releases(2.8)
Owner
Horizon Video Technologies
Creator of Horizon Camera app and Horizon SDK
Horizon Video Technologies
NextLevel is a Swift camera system designed for easy integration, customized media capture, and image streaming in iOS

NextLevel is a Swift camera system designed for easy integration, customized media capture, and image streaming in iOS. Integration can optionally leverage AVFoundation or ARKit.

NextLevel 2k Jan 2, 2023
Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS projects.

?? Warning This repository is DEPRECATED and not maintained anymore. Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS

Tudo Gostoso Internet 1.4k Dec 16, 2022
📸 iOS Media Capture – features touch-to-record video, slow motion, and photography

PBJVision PBJVision is a camera library for iOS that enables easy integration of special capture features and camera interface customizations in your

patrick piemonte 1.9k Dec 26, 2022
A fully customisable and modern camera implementation for iOS made with AVFoundation.

Features Extremely simple and easy to use Controls autofocus & exposure Customizable interface Code-made UI assets that do not lose resolution quality

Gabriel Alvarado 1.3k Nov 30, 2022
iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing

SCRecorder A Vine/Instagram like audio/video recorder and filter framework in Objective-C. In short, here is a short list of the cool things you can d

Simon Corsin 3.1k Dec 25, 2022
1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift.

RSBarcodes, now in Swift. RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate

R0CKSTAR 685 Jan 2, 2023
A simple, customizable camera control - video recorder for iOS.

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video recorder sc

Ömer Faruk Gül 1.2k Dec 12, 2022
Fasttt and easy camera framework for iOS with customizable filters

FastttCamera is a wrapper around AVFoundation that allows you to build your own powerful custom camera app without all the headaches of using AVFounda

IFTTT 1.8k Dec 10, 2022
A light weight & simple & easy camera for iOS by Swift.

DKCamera Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so the screen-

Bannings 86 Aug 18, 2022
Camera engine for iOS, written in Swift, above AVFoundation. :monkey:

?? The most advanced Camera framework in Swift ?? CameraEngine is an iOS camera engine library that allows easy integration of special capture feature

Remi ROBERT 575 Dec 25, 2022