Background color

Media Stream Composer from api.video

With this handy TypeScript library, easily upload videos to api.video using progressive upload from a composition of several media streams.

TypeScript & api.video

About TypeScript

TypeScript is an open-source programming language developed by Microsoft. It's a superset of JavaScript, meaning that it builds on top of JavaScript by adding static typing and other features to help developers write more robust and scalable code.

TypeScript compiles down to plain JavaScript, allowing it to run on any browser or JavaScript engine. It's particularly popular for large-scale JavaScript applications, as it helps catch errors early in the development process and provides better tooling support for complex projects.

About api.video and the Media Stream Composer

Thanks to the Media Stream Composer, easily upload videos to api.video using progressive upload from a composition of several media streams.

The library available on Github lets you easily record and upload videos to api.video from a composition of several media streams. The position and size of each stream can be set in a flexible and easy way.

This allows for example, with only a few lines of code, to create a video composed of: "entire screen capture in the left half, window #1 capture in the right half, and the webcam in a circular shape in the bottom left of the video.

To go along with the TypeScript Media Stream Composer, check out our:

 

For more information, check the links below.

Build your own with api.video

Create your own example, tool or integration and submit to our catalog.