hWnd5 = m_video5.GetSafeHwnd();// aa5.m_bRemoteChannel = 0; switch(m_linktype) { case 0: aa5.m_bSendMode = TCPMODE; break; case 1: aa5.m_bSendMode = UDPMODE; break; case 2: aa5.m_bSendMode = MULTIMODE; break; case 3: aa5.m_bSendMode = DIALING; break; case 4: aa5.m_bSendMode = AUDIODETACH; break; default: aa5.m_bSendMode = TCPMODE; break; }
aa5.m_sIPAddress = ips; //2003.12.2 //如果想只录像,而不进行解码,可以将m_hShowVideo设置成NULL //If you just want to record without decode on client side, //please set m_hShowVideo as NULL #if defined RECORD_ONLY aa5.m_hShowVideo = NULL; #else aa5.m_hShowVideo = hWnd5; #endif
// add 2003.12.2 //m_nImgFormat 指明想要获取的图像格式 //依赖服务器端的设置。如果不设置,获取的是服务器的缺省格式 //m_nImgFormat indicates the picture format you get on the client side, //It depends on the setting of Server side. aa5.m_nImgFormat = 0; // request CIF format // aa5.m_nImgFormat = 1; // request QCIF format