# Force RTSP over TCP

**URL:** <https://community.wowza.com/t/force-rtsp-over-tcp/34380>\
**Category:** Wowza Streaming Engine\
**Created:** [December 21, 2010, 1:38am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380 "2010-12-21T01:38:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksandar\_Cvetkovic](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Aleksandar\_Cvetkovic](https://community.wowza.com/u/Aleksandar_Cvetkovic)\
**Post date:** [December 21, 2010, 1:38am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/1 "2010-12-21T01:38:50Z")

</div>

Hi there…

I have noticed that when i stream over RTSP streams are working OK in my LAN… If i try to access the server from WAN side i have a problem… Then i figured out that the problem lies in UDP traffic… ☹

Is there anyway that i can force wowza to use only TCP and not UDP for streaming?

Thank you in advance…

PS: I need this for VoD use…

---

<div class="post-metadata">

**Author:** ![Aleksandar\_Cvetkovic](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Aleksandar\_Cvetkovic](https://community.wowza.com/u/Aleksandar_Cvetkovic)\
**Post date:** [December 21, 2010, 8:49am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/2 "2010-12-21T08:49:45Z")

</div>

Hmm…

Can wowza do RTSP/RTP over http? As i understand HTTP is based on TCP… Maybe this could be a solution for me… If Wowza can do this can someone point me how to do it?

Thank you in advance…

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [December 21, 2010, 4:08am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/3 "2010-12-21T04:08:47Z")

</div>

We support all the different variations of RTSP/RTP (RTSP/RTP over UDP, RTSP/RTP interleaved (RTP over TCP) and RTSP/RTP tunneling (over HTTP)). The problem is that it the player that controls the protocol selection not the server. Many players only support RTSP/RTP over UDP.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [January 14, 2011, 4:21am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/4 "2011-01-14T04:21:17Z")

</div>

> How can i do RTSP/RTP tunneling (over HTTP) ?

We do support it but I have seen it ever used by the QuickTime player. The player determines the protocol so does the player you are using support it?

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [January 25, 2011, 7:10am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/5 "2011-01-25T07:10:26Z")

</div>

Wowza supports RTSP/RTP tunneling (RTSP/RTP over HTTP ala QuickTime), RTSP/RTP interleaved (RTP over TCP) and regular RTSP/RTP over UDP.

Chalrie

---

<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:** [January 25, 2011, 12:55pm UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/6 "2011-01-25T12:55:34Z")

</div>

Wowza supports HTTP output to iOS (Cupertino), Silverlight (Smooth) and Flash HTTP (Sanjose):

Cupertino:

```auto
http://[wowza-address]:1935/live/_definst_/file.sdp/playlist.m3u8

```

Smooth:

```auto
http://[wowza-address]:1935/live/_definst_/file.sdp/Manifest

```

Sanjose:

```auto
http://[wowza-address]:1935/live/_definst_/file.sdp/manifest.f4m

```

[https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file))

Richard

---

<div class="post-metadata">

**Author:** ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)\
**Post date:** [January 13, 2011, 9:21am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/7 "2011-01-13T09:21:57Z")

</div>

You should still be able to go through NAT, that doesn’t necessarily preclude the use of UDP.

-Ian

---

<div class="post-metadata">

**Author:** ![Aleksandar\_Cvetkovic](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Aleksandar\_Cvetkovic](https://community.wowza.com/u/Aleksandar_Cvetkovic)\
**Post date:** [December 21, 2010, 7:59pm UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/8 "2010-12-21T19:59:47Z")

</div>

Hmm…

That means that if i use an STB behind a NAT router there is no way that i can watch files from my PC over Internet? is this right or wrong!?

---

<div class="post-metadata">

**Author:** ![Alex\_B](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Alex\_B](https://community.wowza.com/u/Alex_B)\
**Post date:** [January 13, 2011, 7:08am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/9 "2011-01-13T07:08:57Z")

</div>

How can i do RTSP/RTP tunneling (over HTTP) ?

---

<div class="post-metadata">

**Author:** ![Alex\_B](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Alex\_B](https://community.wowza.com/u/Alex_B)\
**Post date:** [January 25, 2011, 3:16am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/10 "2011-01-25T03:16:05Z")

</div>

Hello Charlie.

I am sending RTR live stream to wowza. I use a command:

vlc -vvv file.avi --sout

‘#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=,port=1935,sdp=rtmp:///test.sdp}’

ForceInterleaved is enabled into MediaCaster block for Wowza application. Stream is playing by VLC too. rtsp://:1935/live/file.sdp is work fine. How I can play stream over HTTP? For example: http://:1935/live/file.sdp

---

<div class="post-metadata">

**Author:** ![Alex\_B](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Alex\_B](https://community.wowza.com/u/Alex_B)\
**Post date:** [January 25, 2011, 6:24am UTC](https://community.wowza.com/t/force-rtsp-over-tcp/34380/11 "2011-01-25T06:24:10Z")

</div>

Thanks for quick answer.

Can wowza restream rtp to stb using http tunneling?
