From 3ef9ffaf346902b67ebd8f9304c4f3997661fb9f Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 28 Feb 2018 23:28:49 -0800 Subject: [PATCH] HttpCamera: Force reconnect when SetUrls() is called. (#122) The URL often contains other information like the camera resolution, not to mention actually changing cameras! --- src/main/native/cpp/HttpCameraImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/native/cpp/HttpCameraImpl.cpp b/src/main/native/cpp/HttpCameraImpl.cpp index 8805eb1e57..d0cc3852d5 100644 --- a/src/main/native/cpp/HttpCameraImpl.cpp +++ b/src/main/native/cpp/HttpCameraImpl.cpp @@ -319,6 +319,7 @@ bool HttpCameraImpl::SetUrls(llvm::ArrayRef urls, std::lock_guard lock(m_mutex); m_locations.swap(locations); m_nextLocation = 0; + m_streamSettingsUpdated = true; return true; }