AFAIK there is not much difference in the arguments it takes. The only thing I know of is the AUTO parameter that only makes sense for LOADBG.
Of course the big difference is, were it is loaded. The standard LOAD command loads in the foreground (visible), while the LOADBG load in the background (invisible).
Thanks for your efforts. I really appreciate that.
Unfortunately it’s still not running stable.
Every now and again the connection fails when I try to connect either from a previous disconnect (reconnect) or from a freshly started application.
It throws the following error message:
System.NullReferenceException
HResult=0x80004003
Nachricht = Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Quelle = StarDust.CasparCg.net.Device
Stapelüberwachung:
bei StarDust.CasparCG.net.Device.CasparDevice.OnUpdatedChannelInfo(InfoEventArgs e)
bei StarDust.CasparCG.net.Device.CasparDevice.<GetInfoAsync>d__77.MoveNext()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\TaskAwaiter.cs: Zeile184
Diese Ausnahme wurde ursprünglich von dieser Aufrufliste ausgelöst:
StarDust.CasparCG.net.Device.CasparDevice.OnUpdatedChannelInfo(StarDust.CasparCG.net.AmcpProtocol.InfoEventArgs)
StarDust.CasparCG.net.Device.CasparDevice.GetInfoAsync()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) in TaskAwaiter.cs
Maybe you might encounter this problem with the test-app I sent previously.
It seems that there is a timeout when the server tries to answer to INFO command or THUMBNAIL LIST command that is sent automatically by your library on connect.
Hi,
No I unfortunetly could not cope with it. So I switched to server 2.11 Nrk using rrebuffos lib. This works fine for me.
However I think there is an issue in the stardust lib with that.
Thanks for keeping up with the lib and trying to fix things! I appreciate it!
I saw your latest commits, upgraded nugets and still have the same issue when using OSC event hub:
Exception thrown: 'Unity.ResolutionFailedException' in Unity.Container.dll
Unity.ResolutionFailedException: Exception has been thrown by the target of an invocation.
_____________________________________________________
Exception occurred while:
on constructor: CasparCGOscEventsHub(IOscListener casparCgOscListener)
mapped to: ICasparCGOscEventsHub
---> 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)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Unity.Processors.ConstructorDiagnostic.<>c__DisplayClass14_0.<GetResolverDelegate>b__0(BuilderContext& c) in C:\projects\unity\Container\src\Processors\Constructor\ConstructorDiagnostic.cs:line 360
at Unity.Processors.MemberProcessor`2.<>c__DisplayClass8_0.<GetResolver>b__0(BuilderContext& c) in C:\projects\unity\Container\src\Processors\Abstracts\MemberProcessor.cs:line 162
at Unity.Processors.MemberProcessor`2.<>c__DisplayClass8_0.<GetResolver>b__0(BuilderContext& c) in C:\projects\unity\Container\src\Processors\Abstracts\MemberProcessor.cs:line 162
at Unity.Processors.MemberProcessor`2.<>c__DisplayClass8_0.<GetResolver>b__0(BuilderContext& c) in C:\projects\unity\Container\src\Processors\Abstracts\MemberProcessor.cs:line 162
at Unity.UnityContainer.<>c__DisplayClass113_0.<OptimizingFactory>b__0(BuilderContext& c) in C:\projects\unity\Container\src\UnityContainer.Resolution.cs:line 288
at Unity.Strategies.BuildPlanStrategy.PreBuildUp(BuilderContext& context) in C:\projects\unity\Container\src\Strategies\BuildPlanStrategy.cs:line 80
at Unity.UnityContainer.ExecuteValidatingPlan(BuilderContext& context) in C:\projects\unity\Container\src\UnityContainer.Resolution.cs:line 399
I just add a play command with transition parameter. I just publish this addon in a new prerelease version.
Can you try to install the 2020.9.19-alpha. Don’t ommit to select prerelease option on your nuget manager
channel.Play(new CasparPlayingInfoItem
{
VideoLayer = 1,
Clipname = "EMPTY",
Transition = new Transition
{
Direction = TransitionDirection.LEFT,
Type = TransitionType.PUSH,
Duration = 100
}
});
Hello,
on your Github page, you say that your development is still in testing for server 2.3. Is the GitHub post sufficient or do you have another link? I would like to test your solution. sorry for my poor English.