Results 1 to 4 of 4

Thread: error log : Unable to start recording store.

  1. #1
    Join Date
    Dec 2010
    Posts
    10

    Default error log : Unable to start recording store.

    hi wowza team!

    Configuration of the server you are using is as follows.

    encoder --> rtmp --> WOWZA1 live --> WOWZA2 nDVR --> user

    wowza1 live configuration
    http://www.wowza.com/forums/content....-based-encoder

    wowza1 live test
    rtmp://wowza1-ip/test/mystream1
    rtmp://wowza1-ip/test/mystream2
    rtmp://wowza1-ip/test/mystream3
    rtmp://wowza1-ip/test/mystream4

    wowza2 nDVR configuration

    Application.xml
    <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>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, dvrstreamingpacketizer, dvrstreamingrepeater -->
    <LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacket izer,dvrstreamingpacketizer</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 -->

    <!-- To turn on DVR recording set Recorders to dvrrecorder. This works with dvrstreamingpacketizer -->
    <Recorders>dvrrecorder</Recorders>

    <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    <!-- edges should have this empty -->
    <Store>dvrfilestorage</Store>

    <!-- Window Duration is length of live DVR window in seconds. 0 means the window is never trimmed. -->
    <WindowDuration>10800</WindowDuration>

    <!-- Storage Directory is top level location where dvr is stored. e.g. c:/temp/dvr -->
    <!-- <StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir> -->
    <StorageDir>/dvr</StorageDir>

    <!-- valid ArchiveStrategy values are append, version, delete -->
    <ArchiveStrategy>append</ArchiveStrategy>

    <!-- If this is a dvrstreamingrepeater, -->
    <!-- either define the general Application/Repeater/OriginURL below to point back to the origin -->
    <!-- or define this one (which affects only DVR origin-edge). e.g. http://localhost/dvrorigin -->
    <Repeater>
    <ChunkOriginURL></ChunkOriginURL>
    </Repeater>

    <!-- Properties for DVR -->
    <Properties>
    <Property>
    <Name>streamTimeout</Name>
    <Value>3600000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>dvrAppendDiscontinuityDelta</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>startRecordingOnStartup</Name>
    <Value>true</Value>
    <Type>boolean</Type>
    </Property>
    <Property>
    <Name>dvrAllowableAVPacketDelta</Name>
    <Value>2000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>dvrPacketSortTime</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>
    </Properties>
    </DVR>

    <TimedText>
    <!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionprovidersrt, vodcaptionproviderscc -->
    <VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>

    <!-- Properties for TimedText -->
    <Properties>
    </Properties>
    </TimedText>

    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
    <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>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <!-- 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>
    </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>
    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    </Properties>
    </Application>
    </Root>

    StartupStreams.xml
    <StartupStream>
    <Application>test/_definst_</Application>
    <MediaCasterType>liverepeater</MediaCasterType>
    <StreamName>mystream1.stream</StreamName>
    </StartupStream>
    <StartupStream>
    <Application>test/_definst_</Application>
    <MediaCasterType>liverepeater</MediaCasterType>
    <StreamName>mystream2.stream</StreamName>
    </StartupStream>
    <StartupStream>
    <Application>test/_definst_</Application>
    <MediaCasterType>liverepeater</MediaCasterType>
    <StreamName>mystream3.stream</StreamName>
    </StartupStream>
    <StartupStream>
    <Application>test/_definst_</Application>
    <MediaCasterType>liverepeater</MediaCasterType>
    <StreamName>mystream4.stream</StreamName>
    </StartupStream>

    cat content/mystream1.stream
    rtmp://wowza1-ip/test/mystream1
    cat content/mystream2.stream
    rtmp://wowza1-ip/test/mystream2
    cat content/mystream3.stream
    rtmp://wowza1-ip/test/mystream3
    cat content/mystream4.stream
    rtmp://wowza1-ip/test/mystream4

    Above, I is the configuration you are currently using.

    When you restart the wowza2, you can not record error log similar to the following occurs while.

    wowzamediaserver_error.log
    WARN server comment 2013-03-07 16:36:58 - - - - - 24.382 - - - -- - - - DvrStreamManagerBase.startRecording[test/_definst_/mystream1.stream] : Unable to start recording store.
    WARN server comment 2013-03-07 16:36:58 - - - - - 24.373 - - - -- - - - DvrStreamManagerBase.startRecording[test/_definst_/mystream3.stream] : Unable to start recording store.

    In other words, mystream1 not recording, mystream2 recording, mystream3 not recording, mystream4 recording

    When you restart the wowza2, mystream1 recording, mystream2 recording, mystream3 recording, mystream4 recording

    When you restart the wowza2, mystream1 recording, mystream2 not recording, mystream3 not recording, mystream4 recording

    How do I solve it?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Why put DVR on an edge? Take a look at this guide:

    http://www.wowza.com/forums/content....-(origin-edge)

    Richard

  3. #3
    Join Date
    Dec 2010
    Posts
    10

    Default

    origin without saving, how to save on the edge there?

    2 origin 50 edge configuration, the origin problem occurred in the session.

    Without using the cache configuration that can tell you how to?

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    If you use DVR edge servers you will need DVR licenses for each edge.

    Do you just want to record on an edge? You can record a live stream on an edge like this:
    http://www.wowza.com/forums/content....-repeater-edge

    However that will not playback as DVR, just regular vod stream.

    Are you looking for performance improvement? Maybe this will help:
    http://www.wowza.com/forums/content....wza-nDVR-AddOn

    Otherwise, I am not sure what you want to do exactly

    Richard

Similar Threads

  1. Store meta data in XML or other when recording finishes
    By chris_w in forum Server-side Modules and Code Samples Discussion
    Replies: 3
    Last Post: 03-22-2013, 04:41 AM
  2. Unable to start secondary stream
    By Catmar in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 03-07-2012, 01:01 PM

Posting Permissions

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