# How to listen "RTSP/RTP re-streaming timeout" event?

**URL:** <https://community.wowza.com/t/how-to-listen-rtsp-rtp-re-streaming-timeout-event/48289>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 13, 2017, 2:03pm UTC](https://community.wowza.com/t/how-to-listen-rtsp-rtp-re-streaming-timeout-event/48289 "2017-03-13T14:03:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Ilhan](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Mustafa\_Ilhan](https://community.wowza.com/u/Mustafa_Ilhan)\
**Post date:** [March 13, 2017, 2:03pm UTC](https://community.wowza.com/t/how-to-listen-rtsp-rtp-re-streaming-timeout-event/48289/1 "2017-03-13T14:03:47Z")

</div>

Hi,

In our application, sometimes we can not able to start streaming and see this comment in the logs:

```auto
RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.

```

Above comment doesn’t say anything about which streaming process is timed-out, but we think that it is related with our case. Further, we see below comment in the beginning of the start streaming process:

```auto
RTPMediaCaster.Reconnector[615222757:asd/_definst_:123456.asd]: start: 1

```

However, in the working case, above comment followed by this:

```auto
RTPMediaCaster.Reconnector[615222757:asd/_definst_:123456.asd]: done: 1

```

But, we are able to see this “done” comment sometimes, not every time.

My question is that how can we listen/catch “RTSP/RTP re-streaming timeout” comment/event and get notified when stream can not be successfully started or published?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [April 16, 2017, 8:09am UTC](https://community.wowza.com/t/how-to-listen-rtsp-rtp-re-streaming-timeout-event/48289/2 "2017-04-16T08:09:05Z")

</div>

Hello Mustafa,

The error is usually related to network connectivity problems, an inability to connect to the MediaCaster stream. Look at previous log lines for clues. This could also be caused if hitting the upper limit of the number streams that the server can handle. Another server may need to be added. Recommend installing [Advanced Stream Monitor](https://www.wowza.com/docs/How-to-enable-advanced-monitoring-and-resetting-of-MediaCaster-streams), which monitors and resets unhealthy streams and Server monitoring with JConsole.

Regards,

Alex
