# Camera::open() never returns when connecting to an invalid stream IP (Windows, Receiver sample)

**URL:** <https://community.stereolabs.com/t/camera-open-never-returns-when-connecting-to-an-invalid-stream-ip-windows-receiver-sample/11449>\
**Category:** C++\
**Tags:** sdk, windows\
**Created:** [June 17, 2026, 9:27am UTC](https://community.stereolabs.com/t/camera-open-never-returns-when-connecting-to-an-invalid-stream-ip-windows-receiver-sample/11449 "2026-06-17T09:27:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![LUP](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/l/6f9a4e/32.png) [@LUP](https://community.stereolabs.com/u/LUP)\
**Post date:** [June 17, 2026, 12:58pm UTC](https://community.stereolabs.com/t/camera-open-never-returns-when-connecting-to-an-invalid-stream-ip-windows-receiver-sample/11449/2 "2026-06-17T12:58:06Z")

</div>

I also noticed that @sherod reported what appears to be the same issue in another thread:  
[https://community.stereolabs.com/t/camera-open-seems-to-ignore-open-timeout-seconds-if-set-from-stream/11441](https://community.stereolabs.com/t/camera-open-seems-to-ignore-open-timeout-seconds-if-set-from-stream/11441)

In `InitParameters`, setting `open_timeout_sec` doesn’t seem to have any effect when connecting to a streaming camera using `setFromStream()`. Even with `open_timeout_sec` set, `Camera::open()` never returns if the stream is unreachable.

Could someone from the [Stereolabs](https://www.stereolabs.com/) team confirm whether `open_timeout_sec` is expected to apply to `setFromStream()` connections? If not, is there currently a recommended way to prevent `Camera::open()` from blocking indefinitely when the remote stream is unreachable?

Thank you!

---

_[View the full topic](https://community.stereolabs.com/t/camera-open-never-returns-when-connecting-to-an-invalid-stream-ip-windows-receiver-sample/11449)._
