Page 7 of 7 FirstFirst ... 567
Results 61 to 67 of 67

Thread: file name control

  1. #61
    Join Date
    Sep 2010
    Posts
    6

    Default

    Please give ready-made module. I have great difficulty in compiling.
    Thank you.
    wowza 2.2.4, windows 2k8 r2

  2. #62
    Join Date
    Sep 2010
    Posts
    6

    Default

    Sorry for my english.

    Stream from IP-Camera Axis (RTSP). Start Stream is available on request from the JW Player from site.
    Module is compiled as:




    Copypaste original code from 2nd post this topic and click "save"

    In Wowza 2.2.4:
    List lib folder:
    Code:
    bcprov-ext-jdk15-145.jar
    commons-lang-2.5.jar
    jid3lib-0.5.4.jar
    log4j-1.2.16.jar
    ModuleStreamRecord.jar //compiled module - 9.3 KB
    wms-ant.jar
    wms-bootstrap.jar
    wms-commons-modeler.jar
    wms-core.jar
    wms-httpstreamer-cupertinostreaming.jar
    wms-httpstreamer-sanjosestreaming.jar
    wms-httpstreamer-smoothstreaming.jar
    wms-jlayer.jar
    wms-mediareader-flv.jar
    wms-mediareader-h264.jar
    wms-mediareader-mp3.jar
    wms-mediawriter-flv.jar
    wms-mediawriter-h264.jar
    wms-plugin-integrationrecord.jar
    wms-plugin-livestreamrecord.jar
    wms-server.jar
    wms-stream-file.jar
    wms-stream-live.jar
    wms-stream-publish.jar
    wms-stream-record.jar
    wms-stream-rtp.jar
    wms-stream-shoutcast.jar
    wms-transport-security.jar
    \conf\rtplive\Application.xml:
    Code:
    <Root>
    	<Application>
    		<!-- 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</StreamType>
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
    			<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>			
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
    				<Property>
    					<Name>fixH264VideoNALLenStartcodeMix</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    			</Properties>
    		</Streams>
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming -->
    		<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>			
    		<SharedObjects>
    			<StorageDir></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>
    			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    			<Properties>
    				<Property>
    				    <Name>forceInterleaved</Name>
    				    <Value>true</Value>
    				    <Type>Boolean</Type>
    				</Property>
    				<Property>
    					<Name>rtspFilterUnknownTracks</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    				<Property>
    					<Name>debugRTSPSession</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    			</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>
    			</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>
    		<Repeater>
    			<OriginURL></OriginURL>
    			<QueryString><![CDATA[]]></QueryString>
    		</Repeater> 
    		<Modules>
    			<Module>
    				<Name>base</Name>
    				<Description>Base</Description>
    				<Class>com.wowza.wms.module.ModuleCore</Class>
    			</Module>
    			<Module>
    				<Name>properties</Name>
    				<Description>Properties</Description>
    				<Class>com.wowza.wms.module.ModuleProperties</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>ModuleMediaWriterFileMover</Name>
    				<Description>ModuleMediaWriterFileMover</Description>
    				<Class>com.wowza.wms.module.ModuleMediaWriterFileMover</Class>
    			</Module>
                            <Module> 
                                    <Name>ModuleStreamRecord</Name> 
                                    <Description>File Management</Description> 
                                    <Class>streamrecord.hourly.monthlyrollover.ModuleStreamRecord</Class> 
                            </Module>
    		</Modules>
    		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
    			<Property>
    				<Name>fileMoverDestinationPath</Name>
    				<Value>${com.wowza.wms.context.VHostConfigHome}/content/acopy</Value>
    			</Property>
    			<Property>
    				<Name>fileMoverDeleteOriginal</Name>
    				<Value>false</Value>
    				<Type>Boolean</Type>
    			</Property>
    			<Property>
    				<Name>starHour</Name>
    				<Value>00</Value>
    				<Type>Integer</Type>
    			</Property>
    			<Property>
    				<Name>endHour</Name>
    				<Value>24</Value>
    				<Type>Integer</Type>
    			</Property>
    			<Property>
    				<Name>timezone</Name>
    				<Value>GMT-08:00</Value>
    				<Type>String</Type>
    			</Property>
    		</Properties>
    	</Application>
    </Root>
    wowza starts without errors, but there is no record Stream. I tried to switch the time in windows at the XX hours and 59 minutes during the transition to the next hour, nothing happens. I tried to run the stream by hand (with the jw player) - a record still is not happening.
    Tell me what could be the problem.

    P.S. My timezone GMT+4, but the change in the aplications.xml not yet become.

  3. #63
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    Did you start your stream in StreamManager before trying to record with LiveStreamRecord?

    I suggest you change the StreamType to "live", then start the stream in StreamManager, then test playback in Flash. Then test LiveStreamRecord with the included Flash client in the package:
    http://www.wowzamedia.com/downloads/...Record_3.0.zip

    If that works, then return to this module.

    Richard

  4. #64

    Default

    Hello,

    What button I need to click on Wowza IDE to compile a .jar file? I copied the code but I do not know how to generate the .jar file.

  5. #65

    Default

    Take a look at post #10 in this thread: http://www.wowza.com/forums/showthre...rding-Instance

  6. #66

    Default

    Hi randall,

    Thank you a lot.

  7. #67

    Default

    so does anyone have a working compiled version for wowza 3 and wants to share with us?

Page 7 of 7 FirstFirst ... 567

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •