yangsy
约 106 字小于 1 分钟
2024-11-08
警告
for (int nDeviceIndex = 0; nDeviceIndex < nDeviceCount; nDeviceIndex++)
{
auto itStreamOpen = g_mapDeviceOpen.find(pDeviceInfo[nDeviceIndex].m_nDeviceID);
if (itStreamOpen->second)
errorCode = Synexens::StopStreaming(pDeviceInfo[nDeviceIndex].m_nDeviceID);
if (errorCode == Synexens::SYERRORCODE_SUCCESS)
{
printf("StopStreaming Success\n");
}
else
{
PrintCodeInfo("StopStreaming", errorCode);
}
}
errorCode = Synexens::UnInitSDK();
if (errorCode != Synexens::SYERRORCODE_SUCCESS)
{
PrintCodeInfo("UnInitSDK", errorCode);
return 0;
}