Results 1 to 10 of 10

Thread: Wowza DVR & Playlist Request

  1. #1

    Question Wowza DVR & Playlist Request

    Please help, I have trouble with Wowza DVR & Playlist Request
    My system: Wowza 4

    I can play recording like http://10.10.10.10:10000/live/exsamp...uration=600000

    But can't play http://10.10.10.10:10000/live/exsamp...playliststart=2014-02-11-08:30:00&wowzadvrplaylistduration=300000

  2. #2
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    Hi,
    Be sure that you added the properties mentioned here.

    If you already have, then try adding the following debug property to help track the issue down:
    Add the following property to your Application.xml under Application/DVR/Properties:

    <Properties>
    <Property>
    <Name>dvrPlaylistDebugRequests</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    </Properties>

    Then run through your scenario again and provide a piece of the access log output here.

    Daren

  3. #3

    Default

    Hello Daren
    I dont have Application.xml under Application/DVR/Properties

  4. #4
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    Hi,
    Sorry about the confusion.
    I meant the DVR/Properties section in the file Application.xml, which is located in [install-dir]/conf/[ApplicationName]

    We now recommend not using a time format with any dashes or colons, in fact, just use a numerical time format.
    The Wowza nDVR Playlist Request API article has now been updated to reflect this:

    if you look at the URL examples for UTC they now resemble this:
       http://[wowza-ip-address]:1935/dvr/myStream/manifest.f4m?DVR&wowzadvrplayliststart=20140211083000&wowzadvrplaylistduration=300000
    To do this you need to set the format with this property (again in the DVR/Properties section of your Application.xml file:

    <Property> 
      <Name>dvrPlaylistUTCFormat</Name> 
      <Value>yyyyMMddHHmmss</Value> 
    </Property>
    Daren

  5. #5

    Default

    Thank you Daren for quick answer
    Please look, here is my /usr/local/WowzaStreamingEngine-4.0.3/conf/dvr/Application.xml file. There is no <Name>dvrPlaylistUTCFormat</Name> row




    <?xml version="1.0" encoding="UTF-8"?>
    <Root version="1">
    <Application>
    <Name>dvr</Name>
    <AppType>Live</AppType>
    <Description>This is the example dvr application that shipped with Wowza Streaming Engine.</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>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, mpegdashstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
    <LiveStreamPacketizers>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 -->

    <!-- 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>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>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>
    </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>
    </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>
    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    </Properties>
    </Application>
    </Root>

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

    Default

    You have to add it. Copy what Daren has provided into that file. It goes inside the <Properties> tags. Make sure it is well formed.

    Richard

  7. #7

    Default

    Thank you, Richard

  8. #8

    Default

    Guys i am using nDVR plugin
    Here is my directories contents:

    /WowzaStreamingEngine-4.0.3/dvr
    /dvr
    /_definst_
    /live

    /live
    /DVR
    /_definst
    exsample_live.0
    /0000_00_00
    /0000_10_00
    /dvr

    ------------------------------------------------------------
    My config :

    <!-- Properties for DVR -->^M
    <------><------><------><Properties>
    <------><------><------> <Property>.
    <------><------><------> <Name>dvrPlaylistUTCFormat</Name>.
    <------><------><------><------><Value>yyyyMMddHHmmss</Value>.
    <------><------><------> </Property>
    <------><------><------>....
    <------><------><------></Properties>^M
    <------><------></DVR>^M
    -------------------------------------------------------------
    I still unable to play: manifest.f4m?DVR&wowzadvrplayliststart=20140211083000 format


    Finaly my dvrManifest_0000_00_00.txt contains:
    <dvrEntry index="0" type="0" start="0" packetTime="0" utcTime="1400872320734" stop="0" size="458" artifact="M-0000_00_00_000.m4fm

  9. #9

    Default

    I still unable to play: manifest.f4m?DVR&wowzadvrplayliststart=20140211083000 format

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

    Default

    If still an issue, please zip up /conf and /logs folders and send to support@wowza.com. Include a link to this thread for reference

    Richard

Similar Threads

  1. Wowza DVR & Playlist Request (UTC Time)
    By lee2510 in forum AddOn: Wowza nDVR
    Replies: 12
    Last Post: 09-27-2013, 06:41 AM
  2. Wowza nDVR UTC Time based Playlist Request API
    By shashikant.kadam in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 02-11-2013, 05:50 PM
  3. jwplayer& DVR
    By optics in forum AddOn: Wowza nDVR
    Replies: 9
    Last Post: 08-08-2012, 01:55 PM
  4. Wowza nDVR Playlist Request API
    By divyabhargov in forum AddOn: Wowza nDVR
    Replies: 8
    Last Post: 11-23-2011, 10:27 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
  •