Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.24 KB

trylivepeer.near

—> near-bos-webcomponent with livepeer installed, deployed to web4, in order to provide a sandbox for builders wanting to create decentralized video apps.

trylivepeer.near

See it live: trylivepeer.near.page

Getting started

To run locally, install packages:

pnpm run init
pnpm install

Then, run the command:

pnpm run dev

This will serve the widgets from http://127.0.0.1:8080/ and start a local gateway.

Also, don't forget to add API key in .env.

Usage

You can run the local gateway with yarn run start, then open localhost:3000/trylivepeer.near/widget/index, then navigate to the sandbox.

The goal of this project is to expose the below components through the Near Social VM, so that these keywords may be used in Widgets.

Player

https://docs.livepeer.org/sdks/react/migration/migration-4.x#player

Example code: https://docs.livepeer.org/sdks/react/Player

Broadcast

https://docs.livepeer.org/sdks/react/migration/migration-4.x#broadcast

Example code: https://docs.livepeer.org/sdks/react/Broadcast