# RTP Mediacaster loses RTSP connection and players cannot connect to the stream

**URL:** <https://community.wowza.com/t/rtp-mediacaster-loses-rtsp-connection-and-players-cannot-connect-to-the-stream/96866>\
**Category:** Wowza Streaming Engine\
**Created:** [February 7, 2024, 3:44am UTC](https://community.wowza.com/t/rtp-mediacaster-loses-rtsp-connection-and-players-cannot-connect-to-the-stream/96866 "2024-02-07T03:44:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayden\_myers](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hayden\_myers](https://community.wowza.com/u/hayden_myers)\
**Post date:** [February 7, 2024, 3:44am UTC](https://community.wowza.com/t/rtp-mediacaster-loses-rtsp-connection-and-players-cannot-connect-to-the-stream/96866/1 "2024-02-07T03:44:39Z")

</div>

Seeing an extremely bizarre problem over here with long running streams over time. Initially, all is well. We use mediacasters to establish the RTSP connection and pull a multicast stream RTP stream that’s H264 encoded. After some period of time, I won’t receive video when connecting as an rtmp client or it will take minutes to get any video to display. If I’m connected to an affected stream, there’s severe degradation and a packet capture reveals I’m only receiving a trickle of P frames. At the same time, performing a packet capture on the machine running Wowza will indicate a healthy flow of RTP video data including IDR frames spread across fragmentation units. I’ve noticed when this occurs, the RTSP session for the stream is nowhere to be found. I see no RTSP packets with a capture and using a tool like netstat reveals there isn’t an established RTSP connection. I expect OPTIONS requests every 15-60 seconds depending on the keepalive value returned by the camera. Inspecting via the JMX interface shows the mediacaster for the stream is active. If I bounce the mediacaster, all is well for hours or longer. Seems to affect a large majority of the streams on this server.

Wowza version 4.8.19+4

---

<div class="post-metadata">

**Author:** ![Drumil\_Desai](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@Drumil\_Desai](https://community.wowza.com/u/Drumil_Desai)\
**Post date:** [March 15, 2024, 6:24am UTC](https://community.wowza.com/t/rtp-mediacaster-loses-rtsp-connection-and-players-cannot-connect-to-the-stream/96866/2 "2024-03-15T06:24:49Z")

</div>

Hello,

There could be multiple reasons for the issue you are observing with your RTSP connection. We would need to take a closer look at your configuration and log files to troubleshoot the issue.  
Kindly [submit a support ticket](https://www.wowza.com/support/open-ticket) and we’ll take a look at it to find the issue. Kindly provide the configuration and log directories to help troubleshoot the issue.

Best Regards,  
**Drumil Desai**  
Technical Support Engineer  
**Wowza** | The **solution** you start with, the **partner** you scale with.
