mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-22 00:03:52 +08:00
Encoderd: give every camera stream list of encoder streams (#28480)
* Compiles * fixed something * CLEANUP * todo * More cleanup * Add TODO * Update loggerd.cc * remove write here too
This commit is contained in:
@@ -5,9 +5,7 @@ VideoEncoder::~VideoEncoder() {}
|
||||
|
||||
void VideoEncoder::publisher_init() {
|
||||
// publish
|
||||
service_name = this->type == DriverCam ? "driverEncodeData" :
|
||||
(this->type == WideRoadCam ? "wideRoadEncodeData" :
|
||||
(this->in_width == this->out_width ? "roadEncodeData" : "qRoadEncodeData"));
|
||||
service_name = this->publish_name;
|
||||
pm.reset(new PubMaster({service_name}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user