public TCPliuclient(string ip, int port, int tongdao, IntPtr Handle) { _tongdao = tongdao; receiveServerEvent += Tcp_receiveServerEvent;; start(ip, port); dhplay.DHPlayControl(PLAY_COMMAND.Start, tongdao, IntPtr.Zero, 0, (UInt32)900 * 1024); //播放的部分 bool b2 = dhplay.DHPlayControl(PLAY_COMMAND.OpenStream, tongdao, IntPtr.Zero, 0, 900 * 1024); dhplay.DHSetStreamOpenMode(tongdao, PLAY_MODE.STREAME_REALTIME); dhplay.DHPlayControl(0, tongdao, Handle); }