diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index b5d37b2d..eb207b47 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -48,7 +48,7 @@ #define CMD_SET_12V_EN_STATE 133 #if 1 #define CMD_SET_SPI_POWER 129 -#define CMD_SET_3V3_PWR_EN 132 +#define CMD_SET_3V3_PWR_EN 2 #endif #define CMD_GET_CAMERA_STATUS 310 diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index dcce7e27..e30c78e9 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1958,6 +1958,7 @@ bool CPhoneDevice::StartPushStreaming(IDevice::PHOTO_INFO& photoInfo, const std: }); #endif + XYLOG(XYLOG_SEVERITY_INFO, "Start Streaming CH=%u PR=%X PHOTOID=%u", (uint32_t)photoInfo.channel, (unsigned int)photoInfo.preset, photoInfo.photoId); // Start forwarding res = forwarder->start(); #if 0 @@ -1977,6 +1978,8 @@ bool CPhoneDevice::StartPushStreaming(IDevice::PHOTO_INFO& photoInfo, const std: } else if (photoInfo.mediaType == XY_MEDIA_TYPE_STREAM_OFF) { + XYLOG(XYLOG_SEVERITY_INFO, "Stop Streaming CH=%u PR=%X PHOTOID=%u", (uint32_t)photoInfo.channel, (unsigned int)photoInfo.preset, photoInfo.photoId); + auto it = m_streamings.find(photoInfo.channel); if (it != m_streamings.end()) {