public void UnInitialize() { if (this.Initialized) { VideoPlugin.ShutdownPlugin(); } }
public void Show(bool visible) { if (!this.Initialized) { this.Initialize(1); } VideoPlugin.SetVisible(visible); }
public void StopConference() { if (this.Initialized) { VideoPlugin.Disconnect(); this.Connected = false; VideoPlugin.SetVisible(false); } }
public void StopConference() { if (mShutdown) { return; } if (this.Initialized) { VideoPlugin.PluginDisconnect(); this.Connected = false; this.UnInitialize(); } }
public void UnInitialize() { if (this.Connected) { this.StopConference(); } if (this.Initialized) { VideoPlugin.SetVisible(false); // VideoPlugin.ShutdownPlugin(); // this.Initialized = false; OnVideoPluginExit(this, new EventArgs()); } mShutdown = false; }
public void StartConference(bool bConnected, UInt32 dwNetworkUpstreamBandwidth, UInt32 dwNetworkDownstreamBandwidth, UInt32 dwReservedBandwidth, string address, bool bRemoteBehindFirewall, bool bAsymetricFlag, string conferenceID, string userID, string jabberID) { if (!this.Initialized) { this.Initialize(1); } if (this.Connected) { this.StopConference(); } VideoPlugin.Connect(bConnected, dwNetworkUpstreamBandwidth, dwNetworkDownstreamBandwidth, dwReservedBandwidth, address, bRemoteBehindFirewall, bAsymetricFlag, conferenceID, userID); this.JabberID = jabberID; this.Connected = true; }
public void StartConference(bool bConnected, UInt32 dwNetworkUpstreamBandwidth, UInt32 dwNetworkDownstreamBandwidth, UInt32 dwReservedBandwidth, string address, bool bRemoteBehindFirewall, bool bAsymetricFlag, string conferenceID, string userID, string jabberID) { if (mShutdown) { return; } if (!this.Initialized) { this.Initialize(1); } if (this.Connected) { this.StopConference(); } VideoPlugin.PluginConnect(bConnected, dwNetworkUpstreamBandwidth, dwNetworkDownstreamBandwidth, dwReservedBandwidth, address, bRemoteBehindFirewall, bAsymetricFlag, conferenceID, userID, false, false, mTitle); VideoPlugin.SetPlaying(true); this.JabberID = jabberID; this.Connected = true; VideoPlugin.SetVisible(true); }
public UInt32 BoolCallbackFunction(Int32 idNumber, VideoPlugin.EventMessage msg, IntPtr evtSenderHwnd) { mShutdown = true; ThreadStart st = new ThreadStart(ShutdownThreadFunction); mShutdownThread = new Thread(st); mShutdownThread.Start(); return 1; }