# Handle the case where an IP Camera goes offline and then comes back online

**URL:** <https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804>\
**Category:** Wowza Streaming Engine\
**Created:** [August 3, 2011, 5:59pm UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804 "2011-08-03T17:59:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karuna\_Pai](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@Karuna\_Pai](https://community.wowza.com/u/Karuna_Pai)\
**Post date:** [August 3, 2011, 5:59pm UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804/1 "2011-08-03T17:59:53Z")

</div>

Hi,

We stream data from IP Cameras and we use following applications:

- Live View (We use the ‘live’ application)

- Live Stream Recording (We use the HTTPProvider livestreamrecord available at [https://www.wowza.com/forums/content.php?264-HTTProvider-LiveStreamRecorder](https://www.wowza.com/forums/content.php?264-HTTProvider-LiveStreamRecorder))

- I start streaming the camera stream in stream manager for live application. I start the live view for the camera. My camera suddenly goes offline and then comes back online. Will my interrupted live view continue? If not, can this use case be handled in Wowza?

- Consider the same case when I am recording the live stream video from the camera and the camera restarts. Will my recording continue? If not, can this case be handled?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 3, 2011, 12:38pm UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804/2 "2011-08-03T12:38:57Z")

</div>

Karuna,

Yes, try it out. Test that scenario.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 3, 2011, 12:39pm UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804/3 "2011-08-03T12:39:12Z")

</div>

Karuna,

Yes, try it out. Test that scenario.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [August 4, 2011, 10:43am UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804/4 "2011-08-04T10:43:41Z")

</div>

Karuna,

How are you recording? Are you 1) using StreamType “live-record”, or are you 2) starting the stream with MediaCaster type “rtp-record”, or are you 3) using the LiveStreamRecord package.

If 1 or 2, recording should continue. If 3, you will have to start recording again, either by user or programatically.

Richard

---

<div class="post-metadata">

**Author:** ![Karuna\_Pai](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@Karuna\_Pai](https://community.wowza.com/u/Karuna_Pai)\
**Post date:** [August 4, 2011, 11:32am UTC](https://community.wowza.com/t/handle-the-case-where-an-ip-camera-goes-offline-and-then-comes-back-online/36804/5 "2011-08-04T11:32:26Z")

</div>

Hi Richard,

I tried out both the scenarios.

For live streaming, it worked. The live view continued when the camera restarted. 🙂

However, live stream record did not work. When the camera went offline, the recording stopped. When the camera came back online, the recording did not continue. Can we handle this case in the module?

Thanks,

Karuna.
