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

Is it possible to dynamically create streams? #14

Open
leon-wbr opened this issue Jun 26, 2015 · 2 comments
Open

Is it possible to dynamically create streams? #14

leon-wbr opened this issue Jun 26, 2015 · 2 comments

Comments

@leon-wbr
Copy link

For example, let a user have his own channel once he created his account and it's in our MySQL database?

@nefilskyl
Copy link

nefilskyl commented Jan 4, 2021

I achieved something similar using java RMI (remote method invocation). That required several modifications of stream-m code (mostly synchronization, single point of properties modification, RMI initialization). Then, an interface for RMI had to be created (and a class implementing this interface of course).

Next to stream-m, there is running a web application based on Spring framework with RMI interface included. When a user needs to start a stream, web-app remotely invokes a stream-m method, which creates all properties needed for stream registration and after that, web app starts ffmpeg (and serves a page with html5 <video> tag).

@vbence
Copy link
Owner

vbence commented Jan 4, 2021

I am thinking about adding Nashorn to the project with some explicit extension points, so some Javascript code can be added at key points to add some logic.

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

3 participants