# Disconnect ipcam stream

**URL:** <https://community.wowza.com/t/disconnect-ipcam-stream/37441>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [February 23, 2015, 1:18am UTC](https://community.wowza.com/t/disconnect-ipcam-stream/37441 "2015-02-23T01:18:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![burak\_guder](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@burak\_guder](https://community.wowza.com/u/burak_guder)\
**Post date:** [February 23, 2015, 1:18am UTC](https://community.wowza.com/t/disconnect-ipcam-stream/37441/1 "2015-02-23T01:18:32Z")

</div>

Hi

appInstance.getStreams().getStream(“streamname”).close();

but trying to get video

How can I completely broken ipcam connection

```auto
ERROR server comment - MediaCasterConnection.connect: Failed to connect[88.248.50.1xx:554] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:70)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect(RTPSessionDescriptionDataProviderBasicRTSPWorker.java:2074)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:336)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:206)|
WARN server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://admin:12345@88.248.50.1xx:554/ch1/main/av_stream3
INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: rtsp://88.248.50.1xx:554/ch1/main/av_stream3

```

Thank you Wowza Team

---

<div class="post-metadata">

**Author:** ![burak\_guder](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@burak\_guder](https://community.wowza.com/u/burak_guder)\
**Post date:** [February 23, 2015, 1:27am UTC](https://community.wowza.com/t/disconnect-ipcam-stream/37441/2 "2015-02-23T01:27:23Z")

</div>

appInstance.stopMediaCasterStream(“streamname”);

Thanks it works 🙂
