mirror of
https://github.com/openharmony/distributed_camera.git
synced 2026-08-27 21:10:07 -04:00
@@ -74,7 +74,7 @@ const uint32_t DCAMERA_PRODUCER_FPS_DEFAULT = 30;
|
||||
const uint32_t DCAMERA_MAX_RECV_DATA_LEN = 104857600;
|
||||
const uint32_t DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID = 4803;
|
||||
const uint32_t DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID = 4804;
|
||||
const std::string DCAMERA_PKG_NAME = "DBinderBus_" + std::to_string(getpid());
|
||||
const std::string DCAMERA_PKG_NAME = "ohos.dhardware";
|
||||
const std::string SNAP_SHOT_SESSION_FLAG = "dataSnapshot";
|
||||
const std::string CONTINUE_SESSION_FLAG = "dataContinue";
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ private:
|
||||
std::shared_ptr<DCameraSoftbusSession> softbusSession_;
|
||||
std::string mySessionName_;
|
||||
DCameraSessionMode mode_;
|
||||
const std::string SESSION_HEAD = "DBinder.ohos.dhardware.dcamera_";
|
||||
const std::string SESSION_HEAD = "ohos.dhardware.dcamera_";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ private:
|
||||
std::vector<std::shared_ptr<DCameraSoftbusSession>> softbusSessions_;
|
||||
std::string mySessionName_;
|
||||
DCameraSessionMode mode_;
|
||||
const std::string SESSION_HEAD = "DBinder.ohos.dhardware.dcamera_";
|
||||
const std::string SESSION_HEAD = "ohos.dhardware.dcamera_";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ private:
|
||||
|
||||
private:
|
||||
std::mutex optLock_;
|
||||
const string PKG_NAME = "DBinderBus_" + std::to_string(getpid());
|
||||
const string PKG_NAME = "ohos.dhardware";
|
||||
static const uint32_t DCAMERA_SESSION_NAME_MAX_LEN = 128;
|
||||
map<DCAMERA_CHANNEL_ROLE, ISessionListener> sessListeners_;
|
||||
std::map<std::string, uint32_t> sessionTotal_;
|
||||
|
||||
Reference in New Issue
Block a user