Exemplo n.º 1
0
        public SktTransport(SktSkypeBase Skype, X509Certificate2 cert)
        {
            writeBuffer = new byte[writeBufferLength];
            writeBufferPos = -1;

            SocketReaderStopping = false;
            socketReentrancyBarrier = new ManualResetEvent(true);
            mainThreadBlock = new ManualResetEvent(true);

            skype = Skype;
            certificate = cert;

            tcpClient = new TcpClient(AddressFamily.InterNetwork);

            if (skype.transportLogging)
            {
                transportLogLock = new object();
                transportLogFile = new StreamWriter(transportLogFileName);
                transportLogFile.AutoFlush = true;
            }
        }
Exemplo n.º 2
0
 public VideoRenderer(SktSkypeBase skype)
     : base(skype)
 {
 }
Exemplo n.º 3
0
 /** SktVideoRenderer constructor. The skype reference is used to fire the OnVideoResolutionChanged event. */
 public SktVideoRenderer(SktSkypeBase skype)
 {
     this.skypeRef = skype;
 }
Exemplo n.º 4
0
 public SktEncoder(SktSkypeBase Skype)
 {
     skype = Skype;
     transport = skype.transport;
 }
Exemplo n.º 5
0
 public VideoRendererWithFPS(SktSkypeBase skype)
     : base(skype)
 {
 }