I have tried to add “ModuleAutoRecordAdvancedExample” from www.wowza.com/forums/content.php?576.
I am trying to receive a notification listener with the module. But when i am running i am getting the following error:
live/_definst_]StreamRecorderParameters: Er
ror creating NotifyListener: com.wowza.wms.livestreamrecord.model.LiveStreamRecordModuleAutoRecordAdvancedExample.MyStreamRecorderListener : java.lang.ClassNotFoundException: com.wowza.wms.livestreamrecord.model.
LiveStreamRecordModuleAutoRecordAdvancedExample.MyStreamRecorderListener|at java.net.URLClassLoader$1.run(URLClassLoader.java:217)|at java.security.AccessController.doPrivileged(Native Method)|at java.net.URLClas
sLoader.findClass(URLClassLoader.java:205)|at java.lang.ClassLoader.loadClass(ClassLoader.java:321)|at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
What is wrong here? Appeneded below is my settings what i have configured.
My lib folder contains:
-rwxrwxr-x 1 root root 34101 Feb 20 03:53 wms-stream-publish.jar
-rwxrwxr-x 1 root root 44116 Feb 20 03:53 wms-stream-file.jar
-rwxrwxr-x 1 root root 11030 Feb 20 03:53 wms-restlet-2.1.6.org.restlet.ext.simple.jar
-rwxrwxr-x 1 root root 71741 Feb 20 03:53 wms-mediawriter-h264.jar
-rwxrwxr-x 1 root root 21110 Feb 20 03:53 wms-mediareader-mp3.jar
-rwxrwxr-x 1 root root 12462 Feb 20 03:53 wms-license-rest.jar
-rwxrwxr-x 1 root root 219607 Feb 20 03:53 wms-httpstreamer-smoothstreaming.jar
-rwxrwxr-x 1 root root 192652 Feb 20 03:53 wms-httpstreamer-mpegdashstreaming.jar
-rwxrwxr-x 1 root root 9199 Feb 20 03:53 wms-httpstreamer-directstreaming.jar
-rwxrwxr-x 1 root root 348055 Feb 20 03:53 wms-core.jar
-rwxrwxr-x 1 root root 28248 Feb 20 03:53 wms-bootstrap.jar
-rwxrwxr-x 1 root root 37114 Feb 20 03:53 wms-amazonutil.jar
-rwxrwxr-x 1 root root 236920 Feb 20 03:53 jid3lib-0.5.4.jar
-rwxrwxr-x 1 root root 325110 Feb 20 03:53 wms-transcoder.jar
-rwxrwxr-x 1 root root 10318 Feb 20 03:53 wms-stream-shoutcast.jar
-rwxrwxr-x 1 root root 14836 Feb 20 03:53 wms-stream-rtp.jar
-rwxrwxr-x 1 root root 19139 Feb 20 03:53 wms-stream-record.jar
-rwxrwxr-x 1 root root 165127 Feb 20 03:53 wms-mediacache.jar
-rwxrwxr-x 1 root root 270233 Feb 20 03:53 wms-jax.validation.jar
-rwxrwxr-x 1 root root 114204 Feb 20 03:53 wms-drm.jar
-rwxrwxr-x 1 root root 2662745 Feb 20 03:53 wms-restlet-2.1.6.jar
-rwxrwxr-x 1 root root 8401 Feb 20 03:53 wms-mediawriter-flv.jar
-rwxrwxr-x 1 root root 181478 Feb 20 03:53 wms-httpstreamer-sanjosestreaming.jar
-rwxrwxr-x 1 root root 303230 Feb 20 03:53 wms-httpstreamer-cupertinostreaming.jar
-rwxrwxr-x 1 root root 1437 Feb 20 03:53 wms-ant.jar
-rwxrwxr-x 1 root root 283921 Feb 20 03:53 commons-lang-2.6.jar
-rwxrwxr-x 1 root root 101434 Feb 20 03:53 wms-stream-live.jar
-rwxrwxr-x 1 root root 55056 Feb 20 03:53 wms-stats.jar
-rwxrwxr-x 1 root root 32636 Feb 20 03:53 wms-mediareader-flv.jar
-rwxrwxr-x 1 root root 919717 Feb 20 03:53 jackson-databind-2.1.1.jar
-rwxrwxr-x 1 root root 5638218 Feb 20 03:53 wms-server.jar
-rwxrwxr-x 1 root root 483663 Feb 20 03:53 log4j-1.2.17.jar
-rwxrwxr-x 1 root root 205734 Feb 20 03:53 jackson-core-2.1.1.jar
-rwxrwxr-x 1 root root 580860 Feb 20 03:53 joda-time-2.3.jar
-rwxrwxr-x 1 root root 2434121 Feb 20 03:53 bcprov-jdk15on-149.jar
-rwxrwxr-x 1 root root 447105 Feb 20 03:53 wms-rest.jar
-rwxrwxr-x 1 root root 4473 Feb 20 03:53 wms-release-tools.jar
-rwxrwxr-x 1 root root 178472 Feb 20 03:53 wms-pushpublish.jar
-rwxrwxr-x 1 root root 128658 Feb 20 03:53 wms-mediareader-h264.jar
-rwxrwxr-x 1 root root 19642 Feb 20 03:53 wms-jlayer.jar
-rwxrwxr-x 1 root root 93713 Feb 20 03:53 wms-dvr.jar
-rwxrwxr-x 1 root root 87221 Feb 20 03:53 wms-commons-modeler.jar
-rwxrwxr-x 1 root root 9744 Feb 20 03:53 slf4j-log4j12-1.6.4.jar
-rwxrwxr-x 1 root root 25942 Feb 20 03:53 slf4j-api-1.6.4.jar
-rwxrwxr-x 1 root root 34464 Feb 20 03:53 jackson-annotations-2.1.1.jar
-rwxrwxr-x 1 root root 536216 Feb 20 03:53 wms-xstream-1.4.5.jar
-rwxrwxr-x 1 root root 11476 Feb 20 03:53 wms-mediareader-smil.jar
-rwxrwxrwx 1 root root 6437 Mar 31 11:01 wms-plugin-livestreamrecordautorecord_4.0.jar
-rwxrwxrwx 1 root root 345 Mar 31 12:26 wms-plugin-livestreamrecordexamplemodule_4.0.jar
My application.xml is
<?xml version="1.0" encoding="UTF-8"?>
<Root version="1">
<Application>
<Name>live</Name>
<AppType>Live</AppType>
<Description>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.</Description>
<!-- Uncomment to set application level timeout values
<ApplicationTimeout>60000</ApplicationTimeout>
<PingTimeout>12000</PingTimeout>
<ValidationFrequency>8000</ValidationFrequency>
<MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
<MaximumSetBufferTime>60000</MaximumSetBufferTime>
<MaximumStorageDirDepth>25</MaximumStorageDirDepth>
-->
<Connections>
<AutoAccept>true</AutoAccept>
<AllowDomains></AllowDomains>
</Connections>
<!--
StorageDir path variables
${com.wowza.wms.AppHome} - Application home directory
${com.wowza.wms.ConfigHome} - Configuration home directory
${com.wowza.wms.context.VHost} - Virtual host name
${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
${com.wowza.wms.context.Application} - Application name
${com.wowza.wms.context.ApplicationInstance} - Application instance name
-->
<Streams>
<StreamType>rtp-live-lowlatency</StreamType>
<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, mpegdashstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, mpegdashstreamingrepeater -->
<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer,mpegdashstreamingpacketizer</LiveStreamPacketizers>
<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
<Properties>
</Properties>
</Streams>
<Transcoder>
<!-- To turn on transcoder set to: transcoder -->
<LiveStreamTranscoder></LiveStreamTranscoder>
<!-- [templatename].xml or ${SourceStreamName}.xml -->
<Templates>${SourceStreamName}.xml,transrate.xml</Templates>
<ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
<TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
<Properties>
</Properties>
</Transcoder>
<DVR>
<!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
<!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
<!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->
<!-- If this is a dvrstreamingrepeater, define Application/Repeater/OriginURL to point back to the origin -->
<!-- To turn on DVR recording set Recorders to dvrrecorder. This works with dvrstreamingpacketizer -->
<Recorders></Recorders>
<!-- As a single server or as an origin, set the Store to dvrfilestorage-->
<!-- edges should have this empty -->
<Store></Store>
<!-- Window Duration is length of live DVR window in seconds. 0 means the window is never trimmed. -->
<WindowDuration>0</WindowDuration>
<!-- Storage Directory is top level location where dvr is stored. e.g. c:/temp/dvr -->
<StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>
<!-- valid ArchiveStrategy values are append, version, delete -->
<ArchiveStrategy>append</ArchiveStrategy>
<!-- Properties for DVR -->
<Properties>
</Properties>
</DVR>
<TimedText>
<!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc -->
<VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>
<!-- Properties for TimedText -->
<Properties>
</Properties>
</TimedText>
<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, mpegdashstreaming, dvrchunkstreaming -->
<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming,mpegdashstreaming</HTTPStreamers>
<MediaCache>
<MediaCacheSourceList></MediaCacheSourceList>
</MediaCache>
<SharedObjects>
<StorageDir>${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}</StorageDir>
</SharedObjects>
<Client>
<IdleFrequency>-1</IdleFrequency>
<Access>
<StreamReadAccess>*</StreamReadAccess>
<StreamWriteAccess>*</StreamWriteAccess>
<StreamAudioSampleAccess></StreamAudioSampleAccess>
<StreamVideoSampleAccess></StreamVideoSampleAccess>
<SharedObjectReadAccess>*</SharedObjectReadAccess>
<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
</Access>
</Client>
<RTP>
<!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
<Authentication>
<PublishMethod>digest</PublishMethod>
<PlayMethod>none</PlayMethod>
</Authentication>
<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
<AVSyncMethod>senderreport</AVSyncMethod>
<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
<IdleFrequency>75</IdleFrequency>
<RTSPSessionTimeout>90000</RTSPSessionTimeout>
<RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
<RTSPBindIpAddress></RTSPBindIpAddress>
<RTSPConnectionIpAddress>0.0.0.0</RTSPConnectionIpAddress>
<RTSPOriginIpAddress>127.0.0.1</RTSPOriginIpAddress>
<IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
<Properties>
</Properties>
</RTP>
<MediaCaster>
<RTP>
<RTSP>
<!-- udp, interleave -->
<RTPTransportMode>interleave</RTPTransportMode>
</RTSP>
</RTP>
<StreamValidator>
<Enable>true</Enable>
<ResetNameGroups>true</ResetNameGroups>
<StreamStartTimeout>20000</StreamStartTimeout>
<StreamTimeout>12000</StreamTimeout>
<VideoStartTimeout>0</VideoStartTimeout>
<VideoTimeout>0</VideoTimeout>
<AudioStartTimeout>0</AudioStartTimeout>
<AudioTimeout>0</AudioTimeout>
<VideoTCToleranceEnable>false</VideoTCToleranceEnable>
<VideoTCPosTolerance>3000</VideoTCPosTolerance>
<VideoTCNegTolerance>-500</VideoTCNegTolerance>
<AudioTCToleranceEnable>false</AudioTCToleranceEnable>
<AudioTCPosTolerance>3000</AudioTCPosTolerance>
<AudioTCNegTolerance>-500</AudioTCNegTolerance>
<DataTCToleranceEnable>false</DataTCToleranceEnable>
<DataTCPosTolerance>3000</DataTCPosTolerance>
<DataTCNegTolerance>-500</DataTCNegTolerance>
<AVSyncToleranceEnable>false</AVSyncToleranceEnable>
<AVSyncTolerance>1500</AVSyncTolerance>
<DebugLog>false</DebugLog>
</StreamValidator>
<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
<Properties>
</Properties>
</MediaCaster>
<MediaReader>
<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
<Properties>
</Properties>
</MediaReader>
<MediaWriter>
<!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
<Properties>
</Properties>
</MediaWriter>
<LiveStreamPacketizer>
<!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
<Properties>
<Property>
<Name>cupertinoChunkDurationTarget</Name>
<Value>10000</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>cupertinoMaxChunkCount</Name>
<Value>10</Value>
<Type>Integer</Type>
</Property>
<Property>
<Name>cupertinoPlaylistChunkCount</Name>
<Value>3</Value>
<Type>Integer</Type>
</Property>
</Properties>
</LiveStreamPacketizer>
<HTTPStreamer>
<!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
<Properties>
</Properties>
</HTTPStreamer>
<Manager>
<!-- Properties defined are used by the Manager -->
<Properties>
</Properties>
</Manager>
<Repeater>
<OriginURL></OriginURL>
<QueryString><![CDATA[]]></QueryString>
</Repeater>
<StreamRecorder>
<Properties>
<Property>
<Name>streamRecorderDebugEnable</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
<Property>
<Name>streamRecorderNotifyListener</Name>
<Value>com.wowza.wms.livestreamrecord.model.LiveStreamRecordModuleAutoRecordAdvancedExample.MyStreamRecorderListener</Value>
<Type>String</Type>
</Property>
</Properties>
</StreamRecorder>
<Modules>
<Module>
<Name>base</Name>
<Description>Base</Description>
<Class>com.wowza.wms.module.ModuleCore</Class>
</Module>
<Module>
<Name>logging</Name>
<Description>Client Logging</Description>
<Class>com.wowza.wms.module.ModuleClientLogging</Class>
</Module>
<Module>
<Name>flvplayback</Name>
<Description>FLVPlayback</Description>
<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
</Module>
<Module>
<Name>ModuleCoreSecurity</Name>
<Description>Core Security Module for Applications</Description>
<Class>com.wowza.wms.security.ModuleCoreSecurity</Class>
</Module>
<Module>
<Name>ModuleLiveStreamRecord</Name>
<Description>ModuleLiveStreamRecord</Description>
<Class>com.wowza.wms.plugin.livestreamrecord.ModuleLiveStreamRecord</Class>
</Module>
<Module>
<Name>ModuleAutoRecordAdvancedExample</Name>
<Description>ModuleAutoRecordAdvancedExample</Description>
<Class>com.wowza.wms.plugin.livestreamrecord.module.ModuleAutoRecordAdvancedExample</Class>
</Module>
</Modules>
<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
<Properties>
<Property>
<Name>securityPublishRequirePassword</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
</Properties>
</Application>
</Root>
Please help