CDahuaChannel::CDahuaChannel(J_Obj *pOwner, j_int32_t nChannel) { m_pHost = pOwner; m_nChannel = nChannel; m_llStreamHandle = 0; ANA_CreateStream(2 * 1024 * 1024, &m_parser); }
virtual EnumErrno Init(BOOL bOutFactorStream) { CStPkDdBase::Init(bOutFactorStream); int iRet = ANA_CreateStream(0,(PANA_HANDLE) &m_hANA); if( iRet ) { GS_ASSERT(0); m_hANA = NULL; return eERRNO_EUNKNOWN; } return eERRNO_SUCCESS; }