|
|
|
@ -492,7 +492,7 @@ bool pOnvif::create( void ) { |
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
if( !core_GetCapabilities() ){ |
|
|
|
LOG_ERROR("Error Getting Caps!"); |
|
|
|
@ -502,13 +502,14 @@ bool pOnvif::create( void ) { |
|
|
|
// Update some Vars Online!
|
|
|
|
//preg_match("/^http(.*)onvif\//",$this->mediauri,$matches);
|
|
|
|
//m_pBaseURI = $matches[0];
|
|
|
|
*/ |
|
|
|
|
|
|
|
if( media_GetVideoSources() ){ |
|
|
|
if( media_GetProfiles() ) { |
|
|
|
//_getActiveSources( m_vVideoSources, m_vVideoProfiles);
|
|
|
|
return true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
LOG_ERROR("Error Profiles!"); |
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
|