# Can't receive multicast UDP/RTP stream

**URL:** <https://community.wowza.com/t/cant-receive-multicast-udp-rtp-stream/45417>\
**Category:** Hire a Consultant\
**Created:** [June 9, 2015, 5:59am UTC](https://community.wowza.com/t/cant-receive-multicast-udp-rtp-stream/45417 "2015-06-09T05:59:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dejan\_Deskoski](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@Dejan\_Deskoski](https://community.wowza.com/u/Dejan_Deskoski)\
**Post date:** [June 9, 2015, 5:59am UTC](https://community.wowza.com/t/cant-receive-multicast-udp-rtp-stream/45417/1 "2015-06-09T05:59:15Z")

</div>

Hello,

I’ve been trying to set the Wowza media server for live re-destribution of 10 channels to my webapp. I’ve gone through the documentation and forum questions, but didn’t solve the problem. The problem is that i cannot receive the multicast stream.

First i created sdp file and i bind the multicast address.

```auto
v=0^M
s=Unnamed^M
c=IN IP4 234.168.214.3
m=video 5006 RTP/AVP 96^M
a=rtpmap:96 H264/90000^M
a=fmtp:96 packetization-mode=1;profile-level-id=420016;sprop-parameter-sets=Z0IAFukBQHsg,aM4BDyA=;^M

```

Wowza reads the sdp file but keeps restarting all the time. The output is:

```auto
INFO server comment - RTPMediaCaster.Reconnector[562938290:live/_definst_:teststream]: start: 1
INFO server comment - VHost.startStartupStreams: Stream successfully started [live/_definst_]: mp4:teststream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: /usr/local/WowzaStreamingEngine/content/teststream
INFO stream create - -
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/5006
INFO stream publish infel -
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/5007
INFO server comment - RTPMediaCaster.Reconnector[562938290:live/_definst_:teststream]: done: 1
INFO server comment - MediaCasterStreamValidator.addMonitor[live/_definst_/teststream]
INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[live/_definst_] Stream not healthy [stream startup timeout]: mp4:teststream
INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[live/_definst_] Reset stream [mediaCaster]: mp4:teststream
INFO server comment - RTPMediaCaster.resetConnection[562938290:live/_definst_:teststream]: 
INFO server comment - RTPMediaCaster.closeRTPSession[562938290:live/_definst_:teststream]
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/5006 sent:0 recv:0
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/5007 sent:0 recv:0

```

In the Application.xml file the AppType is live.

Next i tried with stream files. In my teststream.stream file the url address is: rtp://234.168.214.3:5006

I connect to the stream, but the status is:Waiting for the stream and doesn’t change to Active. The Wowza output is: SDP file missing: /usr/local/WowzaStreamingEngine/content/rtp://234.168.214.3:5006

But when i changed the protocol from the encoder to UDP, and the url in the teststream.stream to udp://234.168.214.3:6971, the status is Active and the output is:

```auto
INFO server comment - RTPMediaCaster.create[775949951]
INFO server comment - RTPMediaCaster.init[775949951]
INFO server comment - RTPMediaCaster.Reconnector[775949951:live/_definst_:teststream.stream]: start: 1
INFO server comment - REST API: Stream File connected: teststream.stream
INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://234.168.214.3:6971
INFO stream create - -
INFO server comment - RTPDePacketizerMPEGTS.init: Drop incomplete video frames
INFO server comment - UDPPortSharingManager.bind[live/_definst_:true]: 234.168.214.3/234.168.214.3:6971
INFO server comment - MulticastTransport.bind[live/_definst_]: 234.168.214.3/6971
INFO stream publish teststream.stream -
INFO server comment - RTPMediaCaster.Reconnector[775949951:live/_definst_:teststream.stream]: done: 1
INFO server comment - MediaCasterStreamValidator.addMonitor[live/_definst_/teststream.stream]
INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[live/_definst_] Stream not healthy [stream startup timeout]: mp4:teststream.stream
INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[live/_definst_] Reset stream [mediaCaster]: mp4:teststream.stream
INFO server comment - RTPMediaCaster.resetConnection[775949951:live/_definst_:teststream.stream]: 
INFO server comment - RTPMediaCaster.closeRTPSession[775949951:live/_definst_:teststream.stream]
INFO server comment - MulticastTransport.unbind[live/_definst_]: 234.168.214.3/6971 sent:0 recv:0
INFO server comment - UDPPortSharingManager.unbind[live/_definst_:true]: 234.168.214.3/234.168.214.3:6971

```

… and keeps restarting.

In the Application.xml file in the / tag i added the following:

rtpDePacketizerWrapper

com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperReChunkMPEGTS

… but this didn’t change anything.

I can receive the stream with vlc with no problems through RTP. I also checked with Wireshark and i can see the packets floating from source to destination address.

Please for advice,

Regards

---

<div class="post-metadata">

**Author:** ![Roman\_Shmelev](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Roman\_Shmelev](https://community.wowza.com/u/Roman_Shmelev)\
**Post date:** [June 10, 2015, 7:25am UTC](https://community.wowza.com/t/cant-receive-multicast-udp-rtp-stream/45417/2 "2015-06-10T07:25:04Z")

</div>

Hi!

the workaround may be to use ffmpeg as a proxy between your multicast streams and wowza.

if you’re interested then please contact me at roman@dynamicstreaming.net

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [June 11, 2015, 8:17am UTC](https://community.wowza.com/t/cant-receive-multicast-udp-rtp-stream/45417/3 "2015-06-11T08:17:45Z")

</div>

Hi,

As long as the codecs are supported, and the required multicast ports are open in the firewall (if applicable), Wowza should be perfectly capable of receiving the multicast stream. But it’s difficult to be certain about this before we’ve analyzed this. You may contact me by email if you want us to take a look at the configuration.

Kind Regards,

Karel Boek

karel.boek@raskenlund.com

![](https://raskenlund.com/templates/themza_j15_35/images/logo1.gif)

Raskenlund

www.raskenlund.com
