# RTMPT Stream stop in Player does not shutdown RTSP Input Stream from Camera

**URL:** <https://community.wowza.com/t/rtmpt-stream-stop-in-player-does-not-shutdown-rtsp-input-stream-from-camera/551>\
**Category:** Wowza Streaming Engine\
**Created:** [November 12, 2015, 1:13am UTC](https://community.wowza.com/t/rtmpt-stream-stop-in-player-does-not-shutdown-rtsp-input-stream-from-camera/551 "2015-11-12T01:13:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [November 12, 2015, 1:13am UTC](https://community.wowza.com/t/rtmpt-stream-stop-in-player-does-not-shutdown-rtsp-input-stream-from-camera/551/1 "2015-11-12T01:13:37Z")

</div>

Hi,

I have the following Setup:

IP-CAM RTSP Stream to Wowza Server =\> Stream only RTMPT to Flashplayer.

I like to have only a connection to IPCam if Player is connected to Wowza Server. Therefore I use the Wowza Application with Configuration:

rtp-live

file.stream=\> has RTSP Link included.

Works perfect with Flash Player and RTMP Protokoll. But I must use RTMPT (because i need to use tunnelung via HTTP Proxy).

My setup works with RTMPT too, but when I stop the Videoplayer the Stream to the IPCam is not shutdown! I will shutdown after a timeout period.

Question:

**- Where can I change the Timeoutperiod?**

**- How can I have the Wowzaserver behave the same fo RTMPT as for RTMP-Stream and shutdown the RTSP Link as soon as client disconnects?**

Logging while using RTMPT=\>

INFO session comment 1793706859 client connectionClosed [1793706859] watchdog

INFO server comment - MediaStreamMediaCasterPlay: close

Logging while using RTMP =\>

INFO server comment - MediaStreamMediaCasterPlay: close

---

<div class="post-metadata">

**Author:** ![Neutralo\_the\_neutral](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@Neutralo\_the\_neutral](https://community.wowza.com/u/Neutralo_the_neutral)\
**Post date:** [November 12, 2015, 1:43am UTC](https://community.wowza.com/t/rtmpt-stream-stop-in-player-does-not-shutdown-rtsp-input-stream-from-camera/551/2 "2015-11-12T01:43:40Z")

</div>

I found an answer within this thread. Thanks

[https://www.wowza.com/forums/showthread.php?5645-connectionClosed-watchdog](https://www.wowza.com/forums/showthread.php?5645-connectionClosed-watchdog)

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [November 12, 2015, 8:58am UTC](https://community.wowza.com/t/rtmpt-stream-stop-in-player-does-not-shutdown-rtsp-input-stream-from-camera/551/3 "2015-11-12T08:58:41Z")

</div>

Thanks for the update and glad you got this sorted.

Regards,

Salvadore
