dust63 / startdust.casparcg.net Goto Github PK
View Code? Open in Web Editor NEWThis a library to allow C# developers to interact with CasparCG Server
License: MIT License
This a library to allow C# developers to interact with CasparCG Server
License: MIT License
Info response for INFO 1 or INFO 1-1 returns different XML in latest Casparcg 2.2 or higher:
So it is not compatible with your model when parsing channel or layer info.
<?xml version="1.0" encoding="utf-8"?>
<channel>
<framerate>50</framerate>
<framerate>1</framerate>
<mixer>
<audio>
<volume>225050624</volume>
<volume>217513984</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
<volume>0</volume>
</audio>
</mixer>
<stage>
<layer>
<layer_1>
<background>
<producer>empty</producer>
</background>
<foreground>
<file>
<clip>0</clip>
<clip>30.960000000000001</clip>
<name>demo.mpg</name>
<path>G:/ONAIR/VIDEA/demo.mpg</path>
<streams>
<file>
<streams_0>
<fps>25</fps>
<fps>1</fps>
</streams_0>
<streams_1>
<fps>0</fps>
<fps>0</fps>
</streams_1>
</file>
</streams>
<time>7.7000000000000002</time>
<time>30.960000000000001</time>
</file>
<loop>true</loop>
<paused>false</paused>
<producer>ffmpeg</producer>
</foreground>
</layer_1>
</layer>
</stage>
</channel>
While using the dataCollection to send templateData to my server I noticed that the XML is formatted using whitespace which is not properly parsed by caspar when using DOMparser in js. It would be great if it was somehow possible to set "SaveOptions.DisableFormatting" in the "XElement.ToString()" at the end of the "ToXml()" function.
CasparCG Version (to get version send command VERSION)
Version: 2.3.0 6497e78f5 RC
Describe the bug
Using latest alpha versions of nuget packages:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void StarDust.CasparCG.net.OSC.IOscListener.add_ListenerStarted(System.EventHandler)'.
at StarDust.CasparCG.net.OSC.EventHub.CasparCGOscEventsHub..ctor(IOscListener casparCgOscListener)
To Reproduce
Steps to reproduce the behavior:
CasparCG Version (to get version send command VERSION)
Version: 2.1, 2.07
Describe the bug
var channelInfo = device.Channels.FirstOrDefault()?.GetInfo(1);
Gives Document XML error
<layer xmlns=''>
not expected
In order to follow the .NET6 platform, need to create extension to easily add CasparCG on .net project.
CasparCG Version (to get version send command VERSION)
Version: 2.3.0 7829b13b Dev
Describe the bug
ActiveClip property is always null
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ActiveClip is populated with information from the playing clip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.