# Get the connection error code from live stream

**URL:** https://community.wowza.com/t/get-the-connection-error-code-from-live-stream/34972
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [June 14, 2010, 8:14am UTC](https://community.wowza.com/t/get-the-connection-error-code-from-live-stream/34972 "2010-06-14T08:14:39Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [June 14, 2010, 8:38pm UTC](https://community.wowza.com/t/get-the-connection-error-code-from-live-stream/34972/2 "2010-06-14T20:38:24Z")

</div>

With a stream that is being "pushed from Wirecast, Wowza will just wait indefinitely for the stream to continue.

The StreamTimeout/reconnect behavior you are referring to is with streams that are “pulled”, i.e., MediaCaster streams, e.g., an rtsp stream from an IP camera or a shoutcast stream.

You can use this StreamWatchdog example to see if the stream is active, by checking packets:

[http://community.wowza.com/t/-/243](http://community.wowza.com/t/-/243)

Richard

---

_[View the full topic](https://community.wowza.com/t/get-the-connection-error-code-from-live-stream/34972)._
