livepeer / tutorial-app

Tutorial For Creating A Video App On Livepeer
MIT License
0 stars 1 forks source link

JS SDK Spec #1

Open ericxtang opened 6 years ago

ericxtang commented 6 years ago

Is your feature request related to a problem? Please describe. Create a Spec for the js sdk we talked about in the design session. This sdk will be run as a daemon, and is used to interact with Livepeer nodes. Features include:

Describe the solution you'd like An easy-to-use SDK for a javascript developer to create a serious video live streaming app with Livepeer.

Additional context @jozanza, @ericxtang and @RaffiSapire had a discussion about this on 6/18/2018.

dob commented 6 years ago

If we do not have the "value add feature" of capturing camera video into RTMP in JS in the SDK, then are the other steps such as job management even worth it? What's the scenario that someone would create the job but not also stream video in the same stack? VOD where they have a pre-existing file?

ericxtang commented 6 years ago

@dob good point. Our discussion was around creating an web application in js that will use Livepeer as the backend. We thought it needed some logic to manage the jobs, token/eth balance, and the LP nodes it talks to, which can all fit into a js sdk (or client).

I agree that separately, we should also make sure the RESTFUL API for go-livepeer is well-structured. I'll create a separate issue for it.