Comments (3)
Hi! Sorry for the delayed response. A few questions to understand your main use case:
- Are your media files hosted locally in your PC or within a network drive?
- Are you looking to play the files one after another or do you want the ability to change the media at any pre-determined condition via script?
- Are you open to using javascript or are you bent on using php (more complicated to accomplish) ?
from xjs.
from xjs.
Not sure if this is what you're looking for, but XBC has the Macros extension, which helps automate streaming and other functions, please see https://www.xsplit.com/blog/how-to-use-macros-in-xsplit-broadcaster.
From the looks of it, these may be some things to note:
- need to have a way to open XBC itself. The Macros extension automatically opens along with it, as long as you don't close it the last time you used XBC.
- The Macros extension needs events to trigger its functions. Either by scheduled date/time, hotkeys, etc. Or even scripts, albeit quite complicated. (More on this later)
- The Macros extension does not have a builtin way to dynamically change a video, though we have a Video Playlist plugin where you pre-add videos into it and videos will be played in succession. You can still use scripts to change the video file dynamically but as previously mentioned, is quite complicated.
If using scripts cannot be avoided:
- Unfortunately, the XBC core API can only be accessed thru javascript, which is being utilized by the XJS framework. If a php script is needed, the only way for it to function is by connecting the script to a running javascript script that will interpret your commands via websocket (You may have to construct the javascript
receiver
script and the websocket server yourself)
from xjs.
Related Issues (20)
- Issues with case sensitive matching HOT 1
- Allow `duplicate` item calls to return UIDs of newly added sources
- Expose method to refresh source on show and on scene enter
- Fix documentation
- OnAsyncCallback should handle more than two parameters
- Typescript type definitions HOT 1
- Ability to copy presets
- Provide event callbacks for presets
- How to get source id for item HOT 5
- Set 'play on source show' on media items HOT 1
- Bug ActionAfterPlayback; wrong constants HOT 1
- Bug: isVideo returns false on looping videos
- getPlaybackDuration only works for active scene HOT 1
- Race condition for isVisible (and possibly more checks) HOT 1
- Apply new audio changes to XJS HOT 2
- Xsplit Broadcaster extension store
- Stream and recording start/stop event notification HOT 4
- Unable to get name of Scenes HOT 5
- Which kind of format must be? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xjs.