Browse Source

Binat TRF3

AGP
Evgeny Gagua 2 years ago
parent
commit
3e4892f434
  1. 5
      lib/data/ponvif/ponvif.cpp

5
lib/data/ponvif/ponvif.cpp

@ -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;
};

Loading…
Cancel
Save