Updated "Svt.caspar.dll"

#1
Hello,

I would like to share a partially-updated :) version of "Svt.Caspar" dll file, I added new parameters to LoadBG command like: [ Transition Direction / Seek / Length ] , Now LoadBG command has 6 overloads:

Code: Select all

* bool LoadBG(CasparItem item)
* bool LoadBG(string clipname, bool loop)
* bool LoadBG(string clipname, bool loop, TransitionType transition, uint transitionDuration, TransitionDirection   direction)
* bool LoadBG(string clipname, bool loop, uint seek, uint length)
* bool LoadBG(string clipname, bool loop, TransitionType transition, uint transitionDuration, TransitionDirection direction, uint seek, uint length)
* bool LoadBG(int videoLayer, string clipname, bool loop, TransitionType transition, uint transitionDuration,   TransitionDirection direction, uint seek, uint length)

Also I modified "clipname" parameter in LoadBG to :

Code: Select all

 clipname = '"' + clipname.Replace("\\", "\\\\") + '"' ;
In order to be able to load clips with file name containing space characters and files in directories whether (SubDirectory\File) or (SubDirectory/File)

Source code:https://rapidshare.com/files/2034098890/DLL_Source.rar
Mohamed Hefny
DVB Engineer
m.hefny@nilesat.com.eg
Attachments
Updated Dll Files.rar
(25.07 KiB) Downloaded 319 times

Re: Updated "Svt.caspar.dll"

#5
leonardwestermeyer wrote:Just like to know if I can use the .dll files uploaded by Mohamed Hefny directly in VB.Net client playout projects for CasparCG 2.0 without compiling CasparCG 2.1?
Yes, the AMCP protocol is backwards compatible, so if you happen to send a command that is not supported by the version of CasparCG Server, it will just be ignored.

There is sadly one exception to this: STATUS has been replaced by INFO.
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests