stream-m icon indicating copy to clipboard operation
stream-m copied to clipboard

Is it possible to dynamically create streams?

Open leon-wbr opened this issue 9 years ago • 2 comments

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

leon-wbr avatar Jun 26 '15 10:06 leon-wbr

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).

nefilskyl avatar Jan 04 '21 12:01 nefilskyl

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.

vbence avatar Jan 04 '21 18:01 vbence