DeepMedia logodeepmedia

Camera SDK

Version 0.8.5

Search

Choose platform

Other versions of this page

Install

Download

You should have been given credentials to access the official Maven repository - contact us if you don't. Once you have them, downloading the SDK is easy. First, register the repository in your build.gradle.kts file, settings.gradle.kts file or wherever you declare repositories in your project:

kotlin logokotlin
repositories { mavenCentral() google() maven(url = "https://api.deepmedia.io/maven") { credentials.username = "<DEEPMEDIA_REPOSITORY_USERNAME>" credentials.password = "<DEEPMEDIA_REPOSITORY_KEY>" } }

Don't forget to replace <DEEPMEDIA_REPOSITORY_USERNAME> and <DEEPMEDIA_REPOSITORY_KEY> with the actual credentials. Then, just add the SDK dependency:

kotlin logokotlin
dependencies { implementation("io.deepmedia.sdk:camera:<SDK_VERSION>") }

Replace <SDK_VERSION> with the actual version, in this case 0.8.5.

The iOS SDK is distributed in the form of a Swift package that you can install with Swift Package Manager or directly in XCode.

First of all, you should have been given the URL for the official SPM repository - contact us if you don't. Once you have the URL, downloading the SDK is easy and can be done in two ways:

Option 1. XCode

In your XCode project, you'll need to add the SDK as a package dependency. Go to File > Swift Packages > Add Package Dependency, enter the custom Git URL provided by our team and select the latest version, 0.8.5.

Option 2. Package.swift

If you have a Package.swift file that can be manually edited, add the following to your dependencies:

swift
dependencies: [ ..., .package(url: "<DEEPMEDIA_SPM_REPOSITORY_URL>", .upToNextMajor(from: "<SDK_VERSION>)) ]

Replace <DEEPMEDIA_SPM_REPOSITORY_URL> with the actual URL and <SDK_VERSION> with the latest version, 0.8.5. Once that is done, you can use "DeepMedia" as a dependency for any of your iOS targets:

swift
targets: [ .target(name: "MyApp", dependencies: ["DeepMedia"]) ]

Constraints

The Camera SDK supports all Android devices starting from API Level 24 (Android 7.0), which covers more than 97% of active devices. For some specific features, OpenGL ES version 3.1 may be required, or its availability may improve performance.

The Camera SDK supports all iOS devices running iOS version 13.0 or newer.

Initialization

No runtime initialization steps are currently required.

Subscribe to the DeepMedia Newsletter

The latest news about DeepMedia products, open source projects and software development at our company.

By clicking “Subscribe”, you agree that DeepMedia may use your email address to send you newsletters, including commercial communications, and to process your personal data for this purpose. You agree that DeepMedia may process said data using third-party services for this purpose in accordance with the DeepMedia Privacy Policy. You can revoke this consent at any time using the unsubscribe link included in each email or by writing at contact@deepmedia.io.