|
|
|
@ -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())
|
|
|
|
|
{
|
|
|
|
|