예제 #1
0
 public void Show(bool visible)
 {
     if (!this.Initialized)
     {
         this.Initialize(1);
     }
     VideoPlugin.SetVisible(visible);
 }
예제 #2
0
 public void StopConference()
 {
     if (this.Initialized)
     {
         VideoPlugin.Disconnect();
         this.Connected = false;
         VideoPlugin.SetVisible(false);
     }
 }
예제 #3
0
 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;
 }
예제 #4
0
        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);
        }