HttpCamera: Force reconnect when SetUrls() is called. (#122)

The URL often contains other information like the camera resolution,
not to mention actually changing cameras!
This commit is contained in:
Peter Johnson
2018-02-28 23:28:49 -08:00
committed by GitHub
parent 627ca6db75
commit 3ef9ffaf34

View File

@@ -319,6 +319,7 @@ bool HttpCameraImpl::SetUrls(llvm::ArrayRef<std::string> urls,
std::lock_guard<wpi::mutex> lock(m_mutex);
m_locations.swap(locations);
m_nextLocation = 0;
m_streamSettingsUpdated = true;
return true;
}