# Multicast publisher dont work correctly!

**URL:** <https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187>\
**Category:** Wowza Streaming Engine\
**Created:** [January 28, 2012, 5:53pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187 "2012-01-28T17:53:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [January 28, 2012, 5:53pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/1 "2012-01-28T17:53:36Z")

</div>

Hi i have install Multicast publisher, it work, but some time stream is freeze!

in my multicastmap i have that one

my1.stream={name:my1.stream,stream:239.1.1.1:1234,isRTPWrapped:true}

i have record that multicast over dumprtp and in file i can see freeze, i have look that stream over UDPXY, the same!

If i stream multicast over VLC, it work perfect

Can some one help me what i am doing wrong?

---

<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:** [January 28, 2012, 7:55am UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/2 "2012-01-28T07:55:49Z")

</div>

Hi Lelik,

Is there any other information you can provide to help narrow down the problem? Start with the basics: encoder, settings, load, CPU/mem usage, software versions, modules, error messages, etc…

---

<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:** [March 12, 2012, 12:16am UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/3 "2012-03-12T00:16:18Z")

</div>

Lelik1985,

You said:

“i have record multicast over dumprtp localy (on the Wowza) multicast not freezing, no cubes in the picture”

and

“i conected wowza directly to network card of another server, the same problem”

Can you explain a little more? What is different about the second scenario? Are you recording in the second case? Can you go back to the first working case? Maybe if you specify the exact steps to replicate the problem it will help.

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [January 28, 2012, 10:17pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/4 "2012-01-28T22:17:19Z")

</div>

Ok! Sory! I will try explain it

I have transcoders based on vlc, after vlc that streams going to erlyvideo

I am receiving 110 rtmp streams on Wowza from erlyvideo, that streams are h264/aac

after Wowza over http and rtmp streams playing well, but i need muticast also, thats why i have setup multicast publisher

My Wowza is on Ubuntu 11.10 Server edition, on Intel XEON 5620 X 2 (used 30%), RAM 32GB (used 16GB)

Outgoing trafic is 1.9Gb, i have agregate interfaces in bound

Incoming trafic is around 225Mb

Wowza Media Server 3.0.4 build1127

java version “1.6.0\_26”

Java™ SE Runtime Environment (build 1.6.0\_26-b03)

Java HotSpot™ 64-Bit Server VM (build 20.1-b02, mixed mode)

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [January 31, 2012, 2:35pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/5 "2012-01-31T14:35:07Z")

</div>

What information you need more?

And i have test, if i stream 20 strams, multicast workingperfect, if i stream 110 streams, multicast is freezing

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [February 2, 2012, 12:58pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/6 "2012-02-02T12:58:13Z")

</div>

I have done what is on this tuning guide [https://www.wowza.com/forums/content…ormance-Tuning](https://www.wowza.com/forums/content....ormance-Tuning)

after that i start to publish 10 mlticast streams

On Wowza Server i start

dumprtp 239.1.1.1 1234 1\> /dev/null

after i see that message

RTP: NETWORK CONGESTION - expected 30048, received 30049

In HEX This one (30049) is 7561

At the same time on second console of Wowza i start tcpdump to look what Wowza sending over multicast

tcpdump -x -i eth0 host 239.1.1.1 |grep “0x0010:”

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7537

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 754c

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7561

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7562

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7563

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7564

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7565

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7566

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7567

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7568

0x0010: ef01 012f 8fd4 04d2 0538 007c 8021 7569

So my qestion is:

Where packets from 7537 to 754c, and 754c to 7561

Wowza dont send them

May be there is some special tunnig for multicast?

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [February 2, 2012, 2:36pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/7 "2012-02-02T14:36:42Z")

</div>

“20 streams was fine before and now you can’t stream 10…”

I mean that erors in rtpdump, if i stream 110 channels was each 10 seconds, if i stream 20 channels, it was errors in rtpdump maybe one time in 3 minutes

“I think you have some other issues with the server”

But if i stream multicast on Wowza Server over VLC, it work, without freeze in the picture, without errors in rtpdump

I have one custom module for temporary links for http, now i disable it, anyway, the same problem

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [February 2, 2012, 3:05pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/8 "2012-02-02T15:05:45Z")

</div>

Ok! I will try

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [March 11, 2012, 8:18pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/9 "2012-03-11T20:18:06Z")

</div>

Hi! I have split my 110 streams on two instances of Wowza and it help, i have record multicast over dumprtp localy (on the Wowza) multicast not freezing, no cubes in the picture, but if i try to record stream on network pc (thru switch), then i have problem, picture is freezing, cubes,…! First i thought that it is problem on the switch, i conected wowza directly to network card of another server, the same problem

I have tested on two instances of Wowza and 4 another servers, the same problem

What it can be?

May be on wowza is some bufer for outgoing multicast, or somethink else?

Thank for help!

---

<div class="post-metadata">

**Author:** ![Alexsey\_Kasianenko](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@Alexsey\_Kasianenko](https://community.wowza.com/u/Alexsey_Kasianenko)\
**Post date:** [March 16, 2012, 2:54am UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/10 "2012-03-16T02:54:26Z")

</div>

I an using WowzaMediaServer-3.0.5 pacth2

on server: 2xXEON E5620, RAM-32GB, 2x1G Network Interfaces, Linux Ubuntu 64bit Server Edition,

java version “1.7.0”

Java™ SE Runtime Environment (build 1.7.0-b147)

Java HotSpot™ 64-Bit Server VM (build 21.0-b17, mixed mode)

I am receiving 60 rtmp streams on this server, streams is 1,5Mb bitrait

Everythink working well, but i need multicast

i have setup multicast publish module

if i am trying to record one of 60 multicast streams localy on Wowza via dumprtp, no problem

If i a trying record one of 60 multicast streams thru network, picture is freezing

i have connected lan card of Wowza server (where is multicast) directly to lan card of one of my servers, then i tried to record one of multicast on this server, picture is freezing

I have changed patch cords 3 times, i tried to connect via crossover cable, same result

I also tried to stream only 20 multicast groups, it work well, but if i am streaming 30,40,50 streams, picture became freezing

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [January 31, 2012, 12:55pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/11 "2012-01-31T12:55:05Z")

</div>

Hi

With that many streams you are better running two instances of Wowza on the server, (50 streams) and (60 streams) for example.

Take a look at the tuning guide here,

[https://www.wowza.com/docs/how-to-do-performance-tuning](https://www.wowza.com/docs/how-to-do-performance-tuning)

The maximum threads is 480/320 and you have a Duel Quad core processor which makes you (loose out) on some of your machines potential.

If you had two instances of Wowza running then you can tune each to have the maximum threads, being more efficient (as far an machine potential in concerned).

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [February 2, 2012, 11:45am UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/12 "2012-02-02T11:45:41Z")

</div>

Hi

Do you have the same problem when streaming only one stream on each?

20 streams was fine before and now you can’t stream 10…

If you tune a server you should be getting better performance not worse!, I think you have some other issues with the server.

Have you got any custom modules or written any code for fixing anything on the Wowza server? (old or new)

More info on Multicast can be found here,

[https://www.wowza.com/docs/how-to-get-rtppusher-addon-multicast-and-unicast-streams-to-udp-and-rtsp](https://www.wowza.com/docs/how-to-get-rtppusher-addon-multicast-and-unicast-streams-to-udp-and-rtsp)

[https://www.wowza.com/docs/how-to-get-multicastpublish-addon-multicast-and-unicast-streams-to-udp-and-rtsp](https://www.wowza.com/docs/how-to-get-multicastpublish-addon-multicast-and-unicast-streams-to-udp-and-rtsp)

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [February 2, 2012, 12:59pm UTC](https://community.wowza.com/t/multicast-publisher-dont-work-correctly/37187/13 "2012-02-02T12:59:48Z")

</div>

Hi

Are you running to instances of Wowza like I mentioned above?

It sounds like Wowza is just too busy, splitting the 110 streams into two instances (50)/(60) will boost performance for you in this scenario.

Jason
