How to optimize Wowza server
How to optimize Wowza server for Peer5¶
If don't already have a running Wowza server please follow one of the following guides:
- Getting started with Wowza Streaming Cloud
- Getting started with Wowza Streaming Engine (self hosted)
This guide assumes HLS is being setup. DASH integration is performed in a similar fashion.
In order for end-users to efficiently transmit segments a few configuration changes are required. The default number of segments, the segment length and the number of chunks can improve overall user experience and peer-to-peer performance.
The default Wowza HLS configuration value is to return 3 segments in each playlist - each 10 seconds long.
We’d like to configure it to 20 segments, 5 seconds long each instead.
Option 1: From the Wowza UI¶
a. playlist length
Under your live application > Properties > Cupertino stream packetizer
set cupertinoPlaylistChunkCount
to 20
b. segment sizes
Under your live application > Properties > Cupertino stream packetizer
set cupertinoChunkDurationTarget
to 5000
c. number of stored chunks
Under your live application > Properties > Cupertino stream packetizer
set cupertinoMaxChunkCount
to 30
Option 2: Application.xml¶
It is also possible to set these values directly in the application configuration file located at
Make sure to backup the configuration file in case anything goes wrong*
Open the file with a text editor, In the XML under Root/Application/LiveStreamPacketizer/Properties
add the following properties:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|