Wowza Community

Help - Config Live HTTP Origin nDVR

Hi all,

please help me config Origin & Edge on wowza 4 with Live HTTP Origin Application.

i had try but not work.

thanks.

Hello there.

Be sure to follow this guide very carefully:

How to configure a Wowza server as an HTTP caching origin

Note: If you want to use Wowza nDVR as an HTTP caching origin, you must also add this property to the Root/Application/DVR path (/Properties container) to your live application that has Wowza nDVR enabled.

<Property>
    <Name>httpRandomizeMediaName</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
</Property>

If you still need help I would suggest posting a request to the find a consultant forum

Kind regards,

Salvadore

Hi,

thank for your reply, i had tried but not run on Edge repeater.

my Application.xml ong Edge Repeater

[PHP]

<?xml version="1.0" encoding="UTF-8"?>

dvr01

LiveEdge

true

liverepeater-edge

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingrepeater, sanjosestreamingrepeater, smoothstreamingrepeater, dvrstreamingrepeater

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

/mnt/dvr

append

httpRandomizeMediaName

true

Boolean

cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}</StorageDir

-1

*

*

*

digest

block

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

true

true

20000

12000

0

0

0

0

false

3000

-500

false

3000

-500

false

3000

-500

false

1500

false

httpRandomizeMediaName

true

Boolean

cupertinoChunkDurationTarget

10000

Integer

cupertinoMaxChunkCount

10

Integer

cupertinoPlaylistChunkCount

3

Integer

cupertinoEnableDataEvents

false

Boolean

httpOriginMode

on

String

cupertinoOnChunkStartResetCounter

false

Boolean

cupertinoCacheControlPlaylist

max-age=1

String

cupertinoCacheControlMediaChunk

max-age=3600

String

smoothCacheControlPlaylist

max-age=1

String

smoothCacheControlMediaChunk

max-age=3600

String

smoothCacheControlDataChunk

max-age=3600

String

smoothStreamingEncryptionRandomIV

false

Boolean

sanjoseCacheControlPlaylist

max-age=1

String

sanjoseCacheControlMediaChunk

max-age=3600

String

mpegdashCacheControlPlaylist

max-age=1

String

mpegdashCacheControlMediaChunk

max-age=3600

String

wowz://127.0.0.1:1938/dvr01

base

Base

com.wowza.wms.module.ModuleCore

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

ModuleCoreSecurity

Core Security Module for Applications

com.wowza.wms.security.ModuleCoreSecurity

securityPublishRequirePassword

true

Boolean

secureTokenOriginSharedSecret

abc123456

String

[/PHP]

Application.xml on Origin Server

[PHP]

<?xml version="1.0" encoding="UTF-8"?>

dvr01

Live

true

live

${com.wowza.wms.context.VHostConfigHome}/content/dvr01

${com.wowza.wms.context.VHostConfigHome}/keys/dvr01

cupertinostreamingpacketizer, dvrstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

dvrrecorder

dvrfilestorage

0

/mnt/dvr

append

httpRandomizeMediaName

true

Boolean

cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}</StorageDir

-1

*

*

*

*

digest

block

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

true

true

20000

12000

0

0

0

0

false

3000

-500

false

3000

-500

false

3000

-500

false

1500

false

httpRandomizeMediaName

true

Boolean

cupertinoMaxChunkCount

10

Integer

cupertinoPlaylistChunkCount

3

Integer

cupertinoEnableDataEvents

false

Boolean

cupertinoChunkDurationTarget

10000

Integer

httpOriginMode

on

String

cupertinoOnChunkStartResetCounter

false

Boolean

cupertinoCacheControlPlaylist

max-age=1

String

cupertinoCacheControlMediaChunk

max-age=3600

String

smoothCacheControlPlaylist

max-age=1

String

smoothCacheControlMediaChunk

max-age=3600

String

smoothCacheControlDataChunk

max-age=3600

String

smoothStreamingEncryptionRandomIV

false

Boolean

sanjoseCacheControlPlaylist

max-age=1

String

sanjoseCacheControlMediaChunk

max-age=3600

String

mpegdashCacheControlPlaylist

max-age=1

String

mpegdashCacheControlMediaChunk

max-age=3600

String

DVREnable

true

Boolean

base

Base

com.wowza.wms.module.ModuleCore

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

ModuleCoreSecurity

Core Security Module for Applications

com.wowza.wms.security.ModuleCoreSecurity

ModuleStreamPublisher

ModuleStreamPublisher

com.wowza.wms.plugin.collection.module.ModuleStreamPublisher

ModuleLoopUntilLive

Loops filler video until live video is available.

com.wowza.wms.plugin.collection.module.ModuleLoopUntilLive

streamPublisherSmilFile

streamschedule.smil

streamPublisherPassMetaData

true

streamPublisherSwitchLog

true

securitySecureTokenSharedSecret

abc123456

String

loopUntilLiveSourceStreams

xonefm

String

loopUntilLiveOutputStreams

xonefmlive

String

loopUntilLiveReloadEntirePlaylist

true

Boolean

[/PHP]

[PHP]2014-12-13 22:03:33 ICT comment server INFO 200 - MediaCasterStreamValidator.init[dvr01/definst]: Started - - - 220808.088 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - ModuleCoreSecurity.onAppStart[dvr01/definst]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/|Wowza GoCoder* - - - 220808.094 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - ModuleCoreSecurity.onAppStart[dvr01/definst]: Publish: block duplicate stream names : false - - - 220808.094 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - ModuleCoreSecurity.onAppStart[dvr01/definst]: Publish: RTMP Authorization: password file:/usr/local/WowzaStreamingEngineEdge1/conf/publish.password - - - 220808.094 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - ModuleCoreSecurity.onAppStart[dvr01/definst]: Play: SecureConnection: securityPlayRequireSecureConnection:false - - - 220808.094 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - ModuleCoreSecurity.onAppStart[dvr01/definst]: Play: securitySecureTokenVersion property is missing, using SecureToken Version 1, play security enabled for RTMP only - - - 220808.094 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT app-start application INFO 200 definst dvr01/definst - - - 220808.098 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - HTTPStreamerApplicationContextBase.init[dvr01/definst]: HTTP Streamer is in origin mode: HTTPStreamerApplicationContextCupertinoStreamer - - - 220808.098 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - MediaStreamHTTPStreamerRepeaterBuffer.initLiveStreamRepeating[dvr01/definst/[dvrstreamingpacketizer|dvrstreamingrepeater]wowz://127.0.0.1:1938/dvr01/definst/live_1000.stream]: receiverClass: com.wowza.wms.httpstreamer.dvrrepeater.DvrLiveRepeaterReceiver - - - 0.028 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - LiveMediaStreamReceiver.connect: SSL:false url:wowz://127.0.0.1:1938/dvr01/definst/live_1000.stream - - - 0.028 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - DvrLiveRepeaterReceiver.close[dvr01/definst/live_1000.stream] - - - 220808.099 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - DvrLiveRepeaterReceiver.resetStream[dvr01/definst/live_1000.stream:dvrstreamingpacketizer] - - - 220808.099 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - DvrStreamManagerBase.initProperties[dvr01/definst/live_1000.stream] : {Properties: cupertinoChunkDurationTarget: 10000, cupertinoMaxChunkCount: 10, cupertinoPlaylistChunkCount: 3, cupertinoEnableDataEvents: false, httpRandomizeMediaName: true, isDvrPacketizer: true} - - - 0.029 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - DvrStreamManagerBase.initStorage[dvr01/definst/live_1000.stream] : storeName: isRecorder:false hasStorage:false - - - 0.029 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:33 ICT comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer[dvr01/definst/live_1000.stream]: Create live stream packetizer: dvrstreamingpacketizer:live_1000.stream - - - 0.029 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server WARN 200 - LiveMediaStreamReceiver.doWatchdog: streamTimeout[dvr01/definst/live_1000.stream]: Resetting connection: wowz://127.0.0.1:1938/dvr01/definst/live_1000.stream - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - LiveMediaStreamReceiver.resetConnection: SSL:false url:wowz://127.0.0.1:1938/dvr01/definst/live_1000.stream - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - DvrLiveRepeaterReceiver.resetTimecodes[dvr01/definst/live_1000.stream] - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - LiveMediaStreamReceiver.sessionClosed[dvr01/definst/live_1000.stream] - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - LiveMediaStreamReceiver.sessionClosed[dvr01/definst/live_1000.stream]: reconnect: isCurrentSession:false tryConnect:true - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - DvrLiveRepeaterReceiver.close[dvr01/definst/live_1000.stream] - - - 220820.67 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - DvrStreamManagerBase.shutdown[dvr01/definst/live_1000.stream] - - - 220820.671 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - MediaStreamMap.removeLiveStreamPacketizer[dvr01/definst/live_1000.stream]: Destroy live stream packetizer: dvrstreamingpacketizer - - - 220820.68 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:46 ICT comment server INFO 200 - DvrLiveRepeaterReceiver.resetStream[dvr01/definst/live_1000.stream:dvrstreamingpacketizer] - - - 220820.681 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-12-13 22:03:49 ICT comment server INFO 200 - HTTPStreamerSessions.removeHTTPOriginSession[defaultVHost:dvr01/definst/live_1000.stream[cupertinostreaming|dvr]:2032280270]: remove [/PHP]