# wowza rtp packets over udp or tcp?

**URL:** <https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384>\
**Category:** Wowza Streaming Engine\
**Created:** [January 4, 2013, 6:59pm UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384 "2013-01-04T18:59:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiao\_dong](https://avatars.discourse-cdn.com/v4/letter/x/ce7236/32.png) [@xiao\_dong](https://community.wowza.com/u/xiao_dong)\
**Post date:** [January 4, 2013, 6:59pm UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/1 "2013-01-04T18:59:19Z")

</div>

wowza rtp packets over udp or tcp?

how can i config if to make it over udp?

---

<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 5, 2013, 2:17pm UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/2 "2013-01-05T14:17:44Z")

</div>

For incoming MediaCaster streams the switch is in the Application.xml /MediaCaster /RTP /RTSP /RTPTransportMode. Change “interleave” (TCP) to “udp”

For outgoing, you can add these Property settings to the Application.xml /RTP /Properties container:

```auto
<Property>
	<Name>forceMPEGTSOut</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>
<Property>
	<Name>rtpWrapMPEGTS</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

```

Richard

---

<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 8, 2013, 12:04am UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/3 "2013-01-08T00:04:32Z")

</div>

Make sure all udp ports are open or VLC will fail-over to tcp.

[https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

Richard

---

<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 14, 2013, 1:41pm UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/4 "2013-01-14T13:41:15Z")

</div>

You should not need those Property settings for Android. You just need to allow UDP traffic. That means opening all UDP ports in your firewall (0 - 65335) and properly mapping UDP requests to your Wowza server in your network. Android won’t work otherwise. It is not a Wowza configuration, it is a network and server configuration.

Richard

---

<div class="post-metadata">

**Author:** ![xiao\_dong](https://avatars.discourse-cdn.com/v4/letter/x/ce7236/32.png) [@xiao\_dong](https://community.wowza.com/u/xiao_dong)\
**Post date:** [January 6, 2013, 3:46am UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/5 "2013-01-06T03:46:27Z")

</div>

thanks for your reply,i tried your method. but when my VLC player behind a NAT the packets i received are still TCP packets?

and is there any other Propertys i can choose,where can i find these Propertys?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![xiao\_dong](https://avatars.discourse-cdn.com/v4/letter/x/ce7236/32.png) [@xiao\_dong](https://community.wowza.com/u/xiao_dong)\
**Post date:** [January 14, 2013, 12:58am UTC](https://community.wowza.com/t/wowza-rtp-packets-over-udp-or-tcp/39384/6 "2013-01-14T00:58:33Z")

</div>

Richard,

i tried [https://www.wowza.com/html/mobile.html](https://www.wowza.com/html/mobile.html) on my android-vlc,it seems that the packets i received still over TCP when my android-vlc behind a NAT!

i want the packats i receive are over UDP,how should do config the wowza media server?

and i tried this:

forceMPEGTSOut

true

Boolean

rtpWrapMPEGTS

true

Boolean

it still over tcp!

thank you!
