VideoKit

Cross Platform, Low Code Media SDK for Unity Engine

VideoKit is a low-code media SDK for Unity Engine. With VideoKit, you can quickly empower your users to create and share viral content from your application by leveraging a full suite of media and AI features.


Extremely Easy, Extremely Quick

VideoKit is extremely easy to use, and provides components that can be used to implement camera streaming, media recording, and more extremely quickly. Features include:

  • Video recording. Record MP4 videos, animated GIF images, WEBM videos, ProRes videos, waveform audio, JPEG image sequences, and more to come!
  • Camera streaming. Stream the camera preview with fine-grained control over focus, exposure, zoom, and more.
  • Multi-camera streaming. Stream the camera preview from multiple cameras (e.g. front and rear camera) simultaneously.
  • Human texture. Remove the user's background while streaming the camera to enable viral user-generated content experiences.
  • Microphone streaming. Stream microphone audio with control over the audio format and with echo cancellation.
  • Social Sharing. Share images and videos with the native share sheet, and save to the camera roll.
  • Cross-platform. Build once, deploy on Android, iOS, macOS, WebGL, and Windows.
  • Source Available. VideoKit is distributed with its C# source code available for inspection.

Install VideoKit

To begin, import the SDK with the Unity Package Manager by adding the following lines to your Packages/manifest.json file:

{
  "scopedRegistries": [
    {
      "name": "VideoKit",
      "url": "https://registry.npmjs.com",
      "scopes": ["ai.videokit"]
    },
    {
      "name": "Function",
      "url": "https://registry.npmjs.com",
      "scopes": ["ai.fxn"]
    }
  ],
  "dependencies": {
    "ai.videokit.videokit": "0.0.22",
    ...
  }
}

Here's an exmaple:

install


Generate an API Key

Login and click on your user profile in the top-right (Manage account) to generate an API key. Then in Unity, open up Project Settings > VideoKit and add your API key in the Access Key field:

adding key


Guides

Recording Videos

Learn how to record videos with or without code.

Read more

Camera Streaming

Stream the camera preview and remove the background.

Read more

Microphone Streaming

Stream microphone audio and record it.

Read more

Media Assets

Share media, read video frames, save to the gallery, and more.

Read more


Was this page helpful?