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 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 (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); }