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

A strategy-pattern architecture #38

Open
defvol opened this issue Feb 4, 2015 · 0 comments
Open

A strategy-pattern architecture #38

defvol opened this issue Feb 4, 2015 · 0 comments

Comments

@defvol
Copy link
Owner

defvol commented Feb 4, 2015

It's not scalable to think of a one regexp to fit for all the camera-stream scenarios. IMHO a strategy design pattern could ease the implementation of new parsers for different vendors and specs. Contributors could do PRs for new snippets of code that adhere to a common strategy or base class, and add new functionality for new types of cameras, kind of a "device driver".

For inspiration take a look at https://github.com/intridea/omniauth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant