video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-10-22 2ba74e5da86ef3eb8c5a098f3216c8cbf110480e
csrc/thirdparty/gb28181/include/PsToEs.hpp
@@ -174,16 +174,19 @@
      }
   }
   void addCamera(string &rtsp){
   long addCamera(string &rtsp){
//      long userdata = 1001;//
      printf("RTSPSTREAM_Open\n");
      handle = RTSPSTREAM_Open(rtsp.c_str(), streamCallBack, (long)this);
//      return handle;
      printf("RTSPSTREAM_Open, handle:%ld \n", handle);
      return handle;
   }
   void deleteCamera(){
      printf("RTSPSTREAM_Close\n");
      RTSPSTREAM_Close(handle);
      if(handle != -1){
         RTSPSTREAM_Close(handle);
      }
      handle = -1;
   }   
private: