Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAN: Componentize Live Player #1

Open
maozhenyu123 opened this issue Oct 12, 2021 · 0 comments
Open

PLAN: Componentize Live Player #1

maozhenyu123 opened this issue Oct 12, 2021 · 0 comments

Comments

@maozhenyu123
Copy link
Collaborator

maozhenyu123 commented Oct 12, 2021

Here are three possible plans:

1. Pure JS library

Pro:

  • Light-weight
  • More flexible to external developer (can use any framework like React, Vue, jQuery, etc.)

Con:

  • State management?
  • HLS.js has already support most of functionalities
  • Require more workload, need to redesign

2. React Component without Internal State

Pro:

  • Light-weight (relatively), No redundant state management tool (redux, etc.) is needed
  • Relatively easy to work on

Con:

  • Need redesign (from dva/redux model to internal state management)

3. React Component with Internal State

Pro:

  • Easy to achieve at this state

Con:

  • Heavy component, performance issue
@maozhenyu123 maozhenyu123 changed the title Issue: Componentize Live Player PLAN: Componentize Live Player Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant