LIT-Protocol / LitGrants

Apply for a Lit grant and be part of the Lit ecosystem!
25 stars 2 forks source link

Open Grant : StreamGuard - Lit x Livepeer Integration Proposal #47

Open RyadMM opened 1 year ago

RyadMM commented 1 year ago

StreamGuard: Lit x Livepeer Integration Proposal

Executive Summary

StreamGuard, a decentralized application (DApp) will offer developers a simplified approach to create and launch private, permissioned, and censorship-resistant live video streaming applications.

At the moment, video streaming applications main issues are flexibility, points of failure and censorship. By combining the decentralized streaming network of Livepeer with Lit's access control protocol, StreamGuard will enable developers a simplified approach to providing permissioned video streaming applications. Thus removing reliability on a centralized infrastructure.

The execution of the StreamGuard project is charted over an 11-week roadmap, necessitating an estimated 440 engineering hours and an overall budget allocation of $50,000.

Introduction

StreamGuard's addresses key challenges in decentralized access control, offering an all-inclusive solution for token-gated streams. It stands ready to significantly influence the future of decentralized video streaming. With its customizable access conditions, user-friendly interfaces, robust security, and scalability, StreamGuard serves diverse use cases, from education and premium content streaming to webinars, virtual art galleries, and esports.

Problem Statement

Current video streaming applications, which are often centralized, present risks such as single points of failure and censorship. They also lack the flexibility to offer varying access levels to different users. The concept of decentralized video streaming applications has been introduced to address these issues. However, creating these decentralized systems presents a significant challenge, particularly when it comes to access control.

Solution: StreamGuard

StreamGuard leverages Lit, a decentralized access control protocol, to offer developers the ability to execute complex access control schemes without the need for centralized infrastructure. By using Lit for token-gated streams in Livepeer.js, StreamGuard allows developers to create private, permissioned, and censorship-resistant video streaming applications.

Key Features of StreamGuard

StreamGuard Implementation

StreamGuard will integrate Lit for token-gated streams on Livepeer.js through the following components:

  1. Lit SDK Integration: StreamGuard will incorporate the Lit SDK into the Livepeer.js library, enabling the use of Lit for token-gated streams.
  2. Access Control Scheme Configuration: Developers will be able to configure the access control scheme using Lit's access control API. This allows for custom access control schemes tailored to specific needs.
  3. Token-Gated Streams Implementation: StreamGuard will adapt Livepeer.js's current example of token-gated streams to use Lit as the access control provider, enabling more refined and granular ACL permissions.
  4. User Interface: StreamGuard will offer a user-friendly web interface for creating, managing, and monitoring token-gated streams. Users will be able to input stream details, set access control conditions, and monitor their streams in real time. Integration with popular wallet solutions will facilitate user interaction with the streaming service.
  5. APIs and Integration: StreamGuard will expose a set of RESTful APIs for third-party applications and services. This will enable integration with other applications like decentralized marketplaces, social media platforms, or virtual event platforms, thereby extending the use cases for the streaming service.

StreamGuard Use Cases

StreamGuard, with the Lit x Livepeer integration, can be employed in various industries and applications:

These use cases underline the potential of StreamGuard in creating innovative, decentralized, and secure video streaming experiences that cater to users' specific needs and interests.

Technical Roadmap

  1. Integration of the Lit SDK with Livepeer.js (2 weeks)
  2. Configuration of the Access Control Scheme (1 week)
  3. Implementation example of Token-Gated Streams (1 week)
  4. User Interface development (3 weeks)
  5. APIs and Integration (2 weeks)
  6. Testing and Documentation (2 weeks)

Total estimated duration: 11 weeks

Estimated Engineering Hours

  1. Integration of the Lit SDK with Livepeer.js: 80 hours
  2. Configuration of the Access Control Scheme: 40 hours
  3. Implementation example of Token-Gated Streams: 40 hours
  4. User Interface development: 120 hours
  5. APIs and Integration: 80 hours
  6. Testing and Documentation: 80 hours

Total estimated engineering hours: 440 hours

Budget Allocation

  1. Integration of the Lit SDK with Livepeer.js: $8,000
  2. Configuration of the Access Control Scheme: $4,000
  3. Implementation example of Token-Gated Streams: $4,000
  4. User Interface development/design: $12,000
  5. APIs and Integration: $8,000
  6. Testing and Documentation: $8,000
  7. Project management, miscellaneous: $6,000

Total budget allocation: $50,000

Budget Breakdown

Engineering costs: $44,000

Additional expenses (project management / miscellaneous): $6,000

Total budget: $50,000

Conclusion

StreamGuard represents a significant stride forward in decentralized live streaming, harnessing the strengths of Lit and Livepeer to offer a robust, scalable, and user-centric solution. By addressing key challenges in access control and leveraging token-gated streams, StreamGuard is hoping to transform various industries, including education, premium content streaming, virtual art, and esports. With a comprehensive roadmap, a clear understanding of required resources, and a commitment to innovation, StreamGuard aims to redefine the future of decentralized video streaming. The potential impact of this project on the digital streaming landscape is profound, and we anticipate its successful deployment with enthusiasm.

For more information/team members please visit productshop.io or email james@productshop.io

debbly commented 1 year ago

Hi @RyadMM - at this current point we only fund open source tooling building with Lit Actions and Programmable Key Pairs. Thank you for the proposal, I'll close it in the next couple days if you do not have additional comments for updates.

RyadMM commented 1 year ago

Hi @debbly,

Thanks for the feedback on our proposal. We'll take this back to our team for internal discussions and get back to you soon. Appreciate your time and consideration.