Multicast publisher dont work correctly!

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?

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…

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.

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)

What information you need more?

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

I have done what is on this tuning guide 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?

“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

Ok! I will try

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!

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

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

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

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-multicastpublish-addon-multicast-and-unicast-streams-to-udp-and-rtsp

Jason

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