Wowza Community

How can i tuning live streaming service that just concurrent client was 100 ?

Hi…

I have a problem that just supported little concurrent client for live streaming service.

[0] My problem is that live stream(RTMP base) is delay or buffering when over 100 concurrent clients are connected.

(a) Live input streaming is Video (H.264) (1280*720) (1 Mbps) Audio (aac) (128 kbps)

(b) RTMP publishing

© Wowza Origin + Edge (1 Gbps network + encoder + Load test tool(Wowza’s it) + Wowza sample Flash player are runing each server) or

Wowza Stand alone (encoder + wowza engine + Load test tool(rtmp client tool) + wowza sample Flash player are runing at localhost)

=> This issue was occurred all of that case.

[1] System conditions is…

CPU: Intel xeon® E5-2609 v2 2.5GHz, (2 process)

RAM: 32 GB

System: 64 bit

OS: Windows server 2008 (R2)

Wowza streaming Engine 4.0.1: 1 licensed

TranscoderAddOn: 2 licensed

Network interface: Giga bit

Network bandwidth: 1 Gbps

[2] Construcution of Wowza Live application

1 Live Origin + 1 Live Edge

(Origin application name is LIVE11 and it’s application.xml is )

[PHP]

<?xml version="1.0" encoding="UTF-8"?>

LIVE11

Live

Default application for live streaming created when Wowza Streaming Engine is installed. Use this application with its default configuration or modify the configuration as needed. You can also copy it to create another live application.

true

live

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer

sortPackets

true

Boolean

sortBufferSize

750

Integer

transcoder

${SourceStreamName}.xml,transcode.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

${com.wowza.wms.context.VHostConfigHome}/dvr

append

cupertinostreaming, smoothstreaming, sanjosestreaming

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}

-1

*

*

*

*

none

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

true

true

20000

12000

0

0

0

0

false

3000

-500

false

3000

-500

false

3000

-500

false

1500

false

streamTimeout

12000

Integer

base

Base

com.wowza.wms.module.ModuleCore

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

ModuleCoreSecurity

Core Security Module for Applications

com.wowza.wms.security.ModuleCoreSecurity

securityPublishBlockDuplicateStreamNames

true

Boolean

[/PHP]

(Edge application name is same and it’s application.xml is …)

[PHP]

<?xml version="1.0" encoding="UTF-8"?>

LIVE11

LiveEdge

true

liverepeater-edge

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingrepeater, sanjosestreamingrepeater, smoothstreamingrepeater

sortPackets

true

Boolean

sortBufferSize

750

Integer

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

${com.wowza.wms.context.VHostConfigHome}/dvr

append

cupertinostreaming, smoothstreaming, sanjosestreaming

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}

-1

*

*

*

*

none

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

true

true

20000

12000

0

0

0

0

false

3000

-500

false

3000

-500

false

3000

-500

false

1500

false

streamTimeout

12000

Integer

wowz://110.10.122.106:1935/LIVE11

base

Base

com.wowza.wms.module.ModuleCore

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

ModuleCoreSecurity

Core Security Module for Applications

com.wowza.wms.security.ModuleCoreSecurity

[/PHP]

[3] My testing was run based 1 Gbps network or localhost.

(In stream : 1 Mbps)------> Wowza Engine(Origin) ---- 1 Gbps network------> Player 1,2,…90 : OK, 100, 101,…more : Video slow/ Enter Buffering (Periodically)

(In stream : 1 Mbps)------> Wowza Engine(Origin) ---- 1 Gbps network------> Wowza Engine (Edge) ----1 Gbps—> Player 1,2,…100

How can i solve this issue?

Thanks regard.

hi micro002, did you do any performance tuning ? If not please follow this step

https://www.wowza.com/docs/how-to-do-performance-tuning

In addition, some of flash player version has a problem with h264 playback when buffer time less then 1 , please check that.

can you run the test with another player ?

Kind Regards,

Emre Karatasoglu

emre.karatasoglu@hotmail.com

LetheaSoftware

http://letheasoftware.com

http://emrekaratasoglu.com

Hi,

I recommend that you open a ticket by sending an email to support@wowza.com

When opening a ticket please include a ZIP file containing the following directories:

[Wowza-Install]/conf/

[Wowza-Install]/logs/

[Wowza-Install]/transcoder/

[Wowza-Install]/manager/logs/

Please make sure you provide logs which show Wowza server starting.

If you are not sure how to get this information please see the following tutorial.

How to create a compressed zip file in Windows, OS X, and Linux

  • If you have a live stream please outline the type of encoder in use along with the encoding settings for the stream.

  • If you are using a .stream file to start re-streaming please provide this.

  • If you are using multiple bitrates (ABR) then please provide the SMIL file associated with your configuration.

Regards,

Jason

Hi,

That’s great news, thanks for the update.

Regards,

Jason

Hi…

[1] Performance tuning

Yes, i had performance tuning following guide

[2] Player

I run the test with variable player, Wowza example player and ffplayer and VLC player and etc.

Also, load testing by Wowza’s it.

[3] RTMP connection

I was found that RTMP connection no more accept from over 500 count by Wowza load test tool.

Also, player was droped.

[4] I was testing VOD service with same network condition.

It was good performance due to 1800 counts with load test tool.

if you need more information then request me.

What can i do more testing or verify setting or etc…?

Thanks,

Hello…

I found special activity…

(Live source RTMP)-----1 Mbps Sent—>(Origin)----RTMP(Band: 1 Gbps)---->(Edge)----1 Gbps(Band: 1Gbps)—>player

at this situation, each server’s network parameters

(Origin) -----> (Edge : connected 100 client)

inByte : 1 Mbps inByte : 530 kbps ========> Edge inByte is a half of Origin’s outByte.

OutByte : 1 Mbps outByte : 50 Mbps

What is the reason?

Hi…

I had retry tuning for Wowza server with Windows network layer.

Wow… That’s nice to performance…

so. i have solved this issue…

thanks…