Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: disable recording on content folder

  1. #1

    Default disable recording on content folder

    Hi, I'm newbie, I have create application with Live Streaming Source from FMLE, I know that Streamtype "live" will not record any file to content folder, but when I used smil for Adaptive Bitrate than I found growing file on content folder, how to disable this recording. Thanks before.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    If the application we are talking about is called live the Application.xml would be found here,
    [Wowza-Install]/conf/live/Application.xml
    If you have edited this Application.xml making the StreamType "live" be sure that you have restarted Wowza after making any changes so that they take effect.

    If you don't have the Application.xml in the above place Wowza will use the default which is located here,
    [Wowza-Install]/conf/Application.xml
    If this is the case be sure to create create a new one making the StreamType "live" and making sure it goes in the location shown at the top or edit the one in the /conf/ directory however this will effect any other application that do not have their own Application.xml file.

    Jason

  3. #3

    Default

    Hi Jason, thanks for quick reply

    Actually I have did it, but this is not about it:

    please see this comment on

    http://www.wowza.com/forums/showthre...live-streaming


    rrlanham told that : "If your live stream is being recorded in the content folder, then your /conf/[app-name]/Application.xml /StreamType is "live-record" (or other *record StreamType). Change the StreamType to "live", then the stream will not record."

    used StreamType to "live" will not record, but it not work while using smil for Adaptive Bitrate live streaming, I found growing file on the content folder, so the question is how to disable recording / the growing file on the content folder while using smil for adaptive bitrate live streaming. Thanks alot

  4. #4

    Default

    Hi.

    I'm confused what you mean about using an .smil. Do you have an smil in your content folder that you are referencing to playback a multibitrate stream from Wowza? Or maybe you are saying that you are publishing multiple aligned streams to that application and they are getting recorded?

    If so, then what is happening is similar to what Jason was saying. You have a malformed Application.xml, or you need to create the folder: /[Wowza-Install-Dir]/applications/<appname>. If one of these things are not setup correctly, then Wowza will not use your Application.xml, it will use the default one in /conf/. That one has StreamType "default" which records streams that are published to it.

    You should see a warning message in your logs if this is the case.

    It's a little confusing, because it's not obvious that "default" records, since it is supposed to be used for VOD applications.
    Last edited by randall; 08-06-2012 at 05:32 AM. Reason: fixed wrong path

  5. #5

    Default

    Hi Randall,

    yes I have put .smil in content folder according to http://www.wowza.com/forums/content.php?36#ABR

    this is my .smil file

    <smil>
        <head>
        </head>
        <body>
            <switch>
                <video src="mystream1" system-bitrate="200000"/>
                <video src="mystream2" system-bitrate="800000"/>
            </switch>
        </body>
    </smil>
    and I have put the Application.xml on my application [install-dir]/conf/live , this my 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 -->        
                <!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
                <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
                <Properties>
                    <Property>
                        <Name>enableDynamicStreamMarkers</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>none</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>
                </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>
            <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
            <HTTPStreamer>
                <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
                <Properties>
                    <Property>
                        <Name>smoothStreamingUseSMILBitrates</Name>
                        <Value>true</Value>
                        <Type>Boolean</Type>
                    </Property>
                </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>
                <!-- limiting maximum concurrent connection per application -->
                <Module> 
                    <Name>ModuleLimitStreamViewers</Name> 
                    <Description>Limit connects to an Application</Description> 
                    <Class>com.wowza.wms.plugin.collection.module.ModuleLimitConnectionsToApplication</Class> 
                </Module>
    
                <!-- giving password in publish.password for connection within FLME -->
                <Module>
                    <Name>ModuleRTMPAuthenticate</Name>
                    <Description>ModuleRTMPAuthenticate</Description>
                    <Class>com.wowza.wms.plugin.security.ModuleRTMPAuthenticate</Class>
                </Module>
                
                <!-- get connection count from client -->
                <Module>
                    <Name>ModuleGetConnectionCount</Name>
                    <Description>ModuleGetConnectionCount</Description>
                    <Class>com.wowza.wms.plugin.collection.module.ModuleGetConnectionCount</Class>
                </Module> 
            </Modules>
            <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
            <Properties>
                <Property>
                    <Name>maxApplicationConnections</Name>
                    <Value>1000</Value>
                    <Type>Integer</Type>
                </Property>            
                <Property>
                    <Name>rtmpEncoderAuthenticateFile</Name>
                    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/${com.wowza.wms.context.Application}/publish.password</Value>
                </Property>
    
                <!--
                <Property>
                    <Name>secureTokenSharedSecret</Name>
                    <Value>#ed%h0#w@1</Value>
                </Property>
                <Property>
                    <Name>requireSecureConnection</Name>
                    <Value>true</Value>
                    <Type>Boolean</Type>
                </Property>
                -->
            </Properties>
        </Application>
    </Root>
    please correct me if I'm doing wrong, because I still found growing file on my Content Folder, and I don't want this to record. Thanks alot.

  6. #6

    Default

    Sorry, there was a typo in my previous post. Did you create the folder: /[Wowza-Install-Dir]/applications/live ?

  7. #7

    Default

    Hi Randall,

    Quote Originally Posted by randall View Post
    Sorry, there was a typo in my previous post. Did you create the folder: /[Wowza-Install-Dir]/applications/live ?
    Yes of course I created the folder : /[Wowza-Install-Dir]/applications/live, the FMLE will not recognize without this folder isn't it.

  8. #8

    Default

    Narrow down the problem by creating a new application, without your custom changes. Call it "mytest" or some such.

    Copy the stock Application.xml from /conf/ and change only StreamType to "live" and the Cupertinto LiveStreamPacketizer and HTTPStreamer. Verify publishing 1 stream and playback with RTMP does not record a file. Then publish 2 streams and playback with your smil.

  9. #9

    Default

    Quote Originally Posted by randall View Post
    Narrow down the problem by creating a new application, without your custom changes. Call it "mytest" or some such.

    Copy the stock Application.xml from /conf/ and change only StreamType to "live" and the Cupertinto LiveStreamPacketizer and HTTPStreamer. Verify publishing 1 stream and playback with RTMP does not record a file. Then publish 2 streams and playback with your smil.
    Thanks Randall, Problem Solved. This recording caused by module limit connection, I followed this :

    http://www.wowza.com/forums/content....an-application

    I have removed this module from [Wowza-Install]/conf/myapplication/Application.xml , and I found nothing record on my content folder.

    But any way, is there any solution for adding limit connection?

  10. #10

    Default

    That is the correct module to use. That module does not record. Somehow your Application.xml, or perhaps the module iteslf, has something wrong with it, which caused Wowza to use the Application.xml in /conf/ instead of the Application.xml for your application. You can test this somehow... Make some change in one of the Application.xml files to see which one is loading... for example, turn one of the LiveStreamPacketizers on/off, restart Wowza, and see if the change is reflected in the logs. Does that make sense?
    Last edited by randall; 08-08-2012 at 06:32 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Video Feeds in Content Folder When Recording
    By sunjoe in forum General Forum
    Replies: 4
    Last Post: 03-13-2014, 05:36 AM
  2. Content folder for VoD
    By Lelik1985 in forum General Forum
    Replies: 2
    Last Post: 04-11-2012, 03:50 AM

Posting Permissions

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