Skip to content

Build a web based duet app. Sing along with your favorite movie! Built with api.video (https://api.video)

License

Notifications You must be signed in to change notification settings

apivideo/duetavideo

Repository files navigation

badge

badge

badge

api.video duet a video

api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

Duet a video

Try it yourself at duet.a.video.

NodeJS

This application has a Node JS backend, but really does not need one. (It does simplify launching on Heroku).

Make sure you have NodeJS installed, and run

npm init

to install all the required modules.

JavaScript

The first 3 lines of /public/index.js have the variables you must change to get your own version of duet a video up and running. The RTMP and live URLS are generated when you create a livestream, and the delegated_token is created from the Generate an uplaod token endpoint at api.video. (There are links to tutorials in the documentation for each endpoint).

Once you update these, you can run the Node server (NPM start), and the app will be up and running!

For more details on how we built this, please read the blog post. It is also heavily based on record.a.video - links to Github and a tutorial can be found there.

Questions or comments?

Hop on over to the api.video community