public ScreenMonitor(ClientConnectTcp ConnectTcp, string serverIP, string ipSelf, int portSelf) { this._clientConnect = ConnectTcp; this._serverIp = serverIP; this._ipSelf = ipSelf; this._portSelf = portSelf; }
public StudentInteract(ClientConnectTcp ConnectTcp, string serverIP, string ipSelf, int portSelf) { this._clientConnect = ConnectTcp; this._serverIp = serverIP; this._ipSelf = ipSelf; this._portSelf = portSelf; }
public ScreenInteract(ClientConnectTcp ConnectTcp, string serverIP, string ipSelf, int portSelf, string audioName) { this._clientConnect = ConnectTcp; this._serverIp = serverIP; this._ipSelf = ipSelf; this._portSelf = portSelf; this.audio = audioName; }
public FtpConnect(ClientConnectTcp ConnectTcp, string ftpIP, string username, string password) { this.clientConnect = ConnectTcp; this._FtpServerIP = ftpIP; this._UserName = username; this._Password = password; this.processBarValue = new FtpConnect.ProcessBarValueEventHandler(this.setBarValue); this.processBarMaxmum = new FtpConnect.ProcessBarMaxmumEventHandler(this.setBarMaxmum); }
public VideoCall(ClientConnectTcp ConnectTcp, string serverIP, string ipSelf, int portSelf, string ipReceive, int portReceive, VlcPlayer vplayer, string camera, string userRole) { this._clientConnect = ConnectTcp; this._serverIp = serverIP; this._ipMakeCall = ipSelf; this._portMakeCall = portSelf; this._ipAnswerCall = ipReceive; this._portAnswerCall = portReceive; this._player = vplayer; this._camera = camera; this._role = userRole; this._videoNameSelf = this.createNameByIpPort(ipSelf, portSelf); this._ffmpeg = new Ffmpeg(); this._param = " -f dshow -i video=\"" + this._camera + "\" -framerate 18 -g 36 -s 240*180 -threads 16 -bufsize 2000k -vcodec libx264 -x264opts bframes=3:b-adapt=0 -preset:v ultrafast -tune:v zerolatency -f rtsp rtsp://" + this._serverIp + "/" + this._videoNameSelf + ".sdp"; }