SplitmediaLabsLimited / xjs

XSplit JS Framework. Make plugins for XSplit Broadcaster, quickly and easily.
Other
39 stars 11 forks source link

stream start event #5

Closed paul-lrr closed 8 years ago

paul-lrr commented 9 years ago

Something that wasn't available in the old plugin system, but would be extremely useful, is to have an event emitted when a channel goes online or offline. Ideally the event would include the channel object for the stream.

If I understand the new Channel class correctly, currently the only way to tell if a stream is online is to poll getActiveStreamChannels.

As a simple example use case, I would like to make a timer that shows how long a stream has been active. At the moment, I have to continually poll to see if the stream is online and then getStreamTime to see how long, but if there was an event emitted when going online and offline, I could have the timer start and stop with the stream and avoid polling all together.

SML-MeSo commented 9 years ago

Hi! Adding certain helpful events such as these are definitely on our to-do list. Unfortunately, these needs some changes to be implemented in XSplit Broadcaster itself in order to be supported.

Will check on this with the core developers and hopefully will be included in the next XBC developer build so we can add it into the framework

mikeybanez commented 8 years ago

@SML-MeSo can we confirm if we already have the necessary changes in XBC to implement this? If so, we can schedule this in the next milestone.

ghost commented 8 years ago

This is similar to #88. This should be available on the latest 'internal' build. We might opt to release one of the internal build as a developer build later on when we're done with #85

Turns out that we do not still have this in the latest internal build for XBC (I just confirmed if this already exists, which turns out that it was not yet implemented. It's already planned to be developed for the next version of XSplit Broadcaster though)

hlevring commented 8 years ago

I suggest we have a quick discussion on this one..

On Thu, Mar 31, 2016 at 4:13 PM, Michael Ybanez notifications@github.com wrote:

@SML-MeSo https://github.com/SML-MeSo can we confirm if we already have the necessary changes in XBC to implement this? If so, we can schedule this in the next milestone.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/xjsframework/xjs/issues/5#issuecomment-203811048

ghost commented 8 years ago

Looks good to me, how about on your end @virn?