# RTSP TCP Only

**URL:** <https://community.wowza.com/t/rtsp-tcp-only/34759>\
**Category:** Wowza Streaming Engine\
**Created:** [October 21, 2011, 9:38pm UTC](https://community.wowza.com/t/rtsp-tcp-only/34759 "2011-10-21T21:38:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexey\_Misyurenko](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Alexey\_Misyurenko](https://community.wowza.com/u/Alexey_Misyurenko)\
**Post date:** [October 21, 2011, 9:38pm UTC](https://community.wowza.com/t/rtsp-tcp-only/34759/1 "2011-10-21T21:38:36Z")

</div>

Hello!

Is it posiable to configure Wowza Media Server to answer to DESCRIBE request from RTSP client with RTP/AVP/TCP capatibilities only? not a RTP/AVP?

This will instruct RTSP client to use TCP (RTSP interleaved mode) from the start, to avoid initial UDP fail if RTSP client is behind NAT.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 21, 2011, 11:50am UTC](https://community.wowza.com/t/rtsp-tcp-only/34759/2 "2011-10-21T11:50:02Z")

</div>

You can force RTSP/TCP by adding the forceInterleaved Property to /conf/[app-name]/Application.xml /MediaCaster /Properties.

---

<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:** [October 22, 2011, 1:22pm UTC](https://community.wowza.com/t/rtsp-tcp-only/34759/3 "2011-10-22T13:22:53Z")

</div>

Actually, forceInterleaved doesn’t affect playback of RTSP. It is for re-streaming from a MediaCaster source over TCP instead of UDP

Richard

---

<div class="post-metadata">

**Author:** ![Alexey\_Misyurenko](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Alexey\_Misyurenko](https://community.wowza.com/u/Alexey_Misyurenko)\
**Post date:** [October 22, 2011, 12:35pm UTC](https://community.wowza.com/t/rtsp-tcp-only/34759/4 "2011-10-22T12:35:41Z")

</div>

I change Mediacaster at my /conf/live/Application.xml to

```auto
<MediaCaster>
<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
<Properties>
       <Property>
             <Name>forceInterleaved</Name>
              <Value>true</Value>
              <Type>Boolean</Type>
       </Property>
</Properties>
</MediaCaster>

```

ad restart WMS.

But WMS still answer just RTP/AVP to DESCRIBE rtsp request and player try RTP/AVP/UDP and only afrter this type of RTSP fail player try to get stream by RTP/AVP/TCP

I use

Wowza Media Server 3 Monthly Edition 3.0.2 build866

---

<div class="post-metadata">

**Author:** ![Alexey\_Misyurenko](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Alexey\_Misyurenko](https://community.wowza.com/u/Alexey_Misyurenko)\
**Post date:** [October 22, 2011, 5:12pm UTC](https://community.wowza.com/t/rtsp-tcp-only/34759/5 "2011-10-22T17:12:53Z")

</div>

If WMS with forceInterleaved will answer to RTSP DESCRIBE request with RTP/AVP/TCP - this will be real ‘FORCE’, because this option tell

to RTSP playback to use TCP.

As I know RTP/AVP - inform RTSP playback that UDP and TCP can be uses as a transport. And UDP is a preffer.
