Dear Salvadore,
Thank you for your suggestion!
I am facing the problem on redirect client from origin to edges, I followed the manual to add an redirect application from the manager and edit Application.xml file to add Module. But seems it is not working, I have an application “live” and “redirect” in origin server, “edge” in edges server.
Encoder FMS URL is: rtmp:///live
StreamName: teststream
Flash player is: rtmp:///redirect/live
StreamName: teststream
No problem on pushing streaming from encder to wowza, but flash player cannot play the rtmp I set.
If:
Flash player is: rtmp:///redirect
StreamName: teststream
Error from Origin:
ERROR server comment 2014-10-30 16:25:38 - - - - - 5051.2 - - MediaStream.onUnPublish[redirect/hennessyOrigin/teststream] : java.lang.NullPointerException|at com.wowza.wms.plugin.loadbalancer.redirect.ClientConnections$StreamListener.onUnPublish(ClientConnections.java:329)|at com.wowza.wms.stream.MediaStream.notifyActionUnPublish(MediaStream.java:2386)|at com.wowza.wms.client.Client.closeOpenStream(Client.java:1718)|at com.wowza.wms.module.ModuleCore.closeStream(ModuleCore.java:785)|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|
Am I correct on the setting?
Attached the settings below for reference:
Server.xml at Origin
<?xml version="1.0" encoding="UTF-8"?>
Wowza Streaming Engine
Wowza Streaming Engine is robust, customizable, and scalable server software that powers reliable streaming of high-quality video and audio to any device, anywhere.
true
*
8087
digest
true
false
JKS
TLS
SunX509
127.0.0.1
false
false
8089
digest
${com.wowza.wms.TuningAuto}
*
8083
Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker
true
false
localhost
localhost
8084
8085
true
${com.wowza.wms.ConfigHome}/conf/jmxremote.password
${com.wowza.wms.ConfigHome}/conf/jmxremote.access
false
Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh)
mp4
com.wowza.wms.mediacache.impl.MediaCacheServerListener
com.wowza.wms.plugin.loadbalancer.general.LoadBalancerServer
${com.wowza.wms.TuningAuto}
${com.wowza.wms.TuningAuto}
6970
false
loadbalanceType
Server,Client
String
loadbalanceIgnoreClients
FMLE
String
loadbalanceKey
xxxxxxxx
String
loadbalanceServerIP
xxx.xxx.xxx.xxx
String
loadbalanceServerPort
1935
String
loadbalanceDecisionOrder
Connection
String
loadbalanceDebugServerDecision
On
String
redirect Application.xml
<?xml version="1.0" encoding="UTF-8"?>
redirect
Live
true
live
${com.wowza.wms.context.VHostConfigHome}/content
${com.wowza.wms.context.VHostConfigHome}/keys
cupertinostreamingpacketizer, mpegdashstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer
${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, mpegdashstreaming
${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}
-1
*
*
*
*
digest
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
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
Redirect
Redirect
com.wowza.wms.plugin.loadbalancer.redirect.ClientConnections
securityPublishRequirePassword
true
Boolean
live Application.xml
<?xml version="1.0" encoding="UTF-8"?>
hennessyOrigin
Live
true
live
${com.wowza.wms.context.VHostConfigHome}/content
${com.wowza.wms.context.VHostConfigHome}/keys
cupertinostreamingpacketizer, mpegdashstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer
${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, mpegdashstreaming
${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}
-1
*
*
*
*
digest
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
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
securityPublishRequirePassword
true
Boolean
Edges Server.xml
<?xml version="1.0" encoding="UTF-8"?>
Wowza Streaming Engine
Wowza Streaming Engine is robust, customizable, and scalable server software that powers reliable streaming of high-quality video and audio to any device, anywhere.
true
*
8087
digest
true
false
JKS
TLS
SunX509
127.0.0.1
false
false
8089
digest
${com.wowza.wms.TuningAuto}
*
8083
Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker
true
false
203.90.228.163
203.90.228.163
8084
8085
true
${com.wowza.wms.ConfigHome}/conf/jmxremote.password
${com.wowza.wms.ConfigHome}/conf/jmxremote.access
false
Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh)
mp4
com.wowza.wms.plugin.loadbalancer.general.LoadBalancerServer
com.wowza.wms.mediacache.impl.MediaCacheServerListener
${com.wowza.wms.TuningAuto}
${com.wowza.wms.TuningAuto}
6970
false
loadbalanceType
Client
String
loadbalanceBandwidthEnable
On
String
loadbalanceBandwidthLimit
800000
String
loadbalanceConnectionEnable
On
String
loadbalanceConnectionLimit
2
String
loadbalanceKey
xxxxxxxxxx
String
loadbalanceServerIP
xxx.xxx.xxx.xxx
String
loadbalanceDebugEnabled
On
String
loadbalanceServerPort
1935
String
loadbalanceDebugServerDecision
On
String
Appreciate your help!
BR,
Yung