Results 1 to 5 of 5

Thread: Streaming smooth streaming content from s3

  1. #1

    Default Streaming smooth streaming content from s3

    We have smooth streaming content (ism, ismc and ismv) on a s3 bucket. We have implemented IBuyDRMStreamNameToKeyInfo and deployed to our server running wowza. However we get an exception loadModFunctions.newInstance: com.wowza.wms.server.LicensingException: Server.License and the content is played back without encryption.

    Below is the Application.xml for the vods3 application:
    <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>
    <Streams>
    <StreamType>default</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, dvrstreamingpacketizer, dvrstreamingrepeater -->
    <LiveStreamPacketizers></LiveStreamPacketizers>
    <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></Recorders>

    <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    <!-- edges should have this empty -->
    <Store></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>
    </Properties>
    </TimedText>
    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, mpegdashstreaming, 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: none, basic, digest -->
    <Authentication>
    <PublishMethod>digest</PublishMethod>
    <PlayMethod>none</PlayMethod>
    </Authentication>
    <!-- RTP/AVSyncMethod: 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>
    </Properties>
    </RTP>
    <MediaCaster>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <Properties>
    </Properties>
    </MediaCaster>
    <MediaReader>
    <Properties>
    <Property>
    <Name>randomAccessReaderClass</Name>
    <Value>com.wowza.wms.plugin.mediacache.impl.MediaCacheRandomAccessReader</Value>
    </Property>
    <Property>
    <Name>bufferSeekIO</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    </Properties>
    </MediaReader>
    <MediaWriter>
    <Properties>
    </Properties>
    </MediaWriter>
    <LiveStreamPacketizer>
    <Properties>
    </Properties>
    </LiveStreamPacketizer>
    <HTTPStreamer>
    <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>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>ModuleStreamNameAlias</Name>
    <Description>ModuleStreamNameAlias</Description>
    <Class>com.wowza.wms.plugin.streamnamealias.ModuleStreamNameAlias</Class>
    </Module>
    <Module>
    <Name>ModuleDRMBuyDRM</Name>
    <Description>ModuleDRMBuyDRM</Description>
    <Class>com.wowza.wms.drm.module.buydrm.ModuleDRMBuyDRM</Class>
    </Module>
    </Modules>
    <Properties>
    <Property>
    <Name>aliasMapFileStream</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/aliasmap.stream.txt</Value>
    </Property>
    <Property>
    <Name>aliasMapFilePlay</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/aliasmap.play.txt</Value>
    </Property>
    <Property>
    <Name>aliasMapPathDelimiter</Name>
    <Value>/</Value>
    </Property>
    <Property>
    <Name>aliasMapNameDelimiter</Name>
    <Value>=</Value>
    </Property>
    <Property>
    <Name>aliasMapDebug</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>drmBuyDRMUserKey</Name>
    <Value><our key></Value>
    </Property>
    <Property>
    <Name>drmBuyDRMStreamNameMapFile</Name>
    <Value>com.wowza.wms.plugin.dds.buydrm.BuyDRMStreamNameToKeyInfo</Value>
    </Property>
    <Property>
    <Name>drmBuyDRMProtectSmoothStreaming</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>drmBuyDRMProtectCupertinoStreaming</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>drmBuyDRMIfFailFakeKey</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>drmBuyDRMDebugLog</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>drmBuyDRMActionLog</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>cupertinoEncryptionAPIBased</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    </Properties>
    </Application>
    </Root>

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

    Default

    Did you start this server with a devpay AMI? If so, the premium addons like DRM are not supported on devpay AMIs. You have to use licKey AMI, which requires a separate Subscription or Perpetual license. The licKey AMIs are in the first table here:
    http://www.wowza.com/forums/content....achine-images)

    Richard

  3. #3

    Default

    I am using LicKey.

  4. #4

    Default

    Now I see the log saying onHttpSmoothStreamingPlayReadyVODCreate and the lookup status is unknown. I am not seeing any requests being sent to the licensing server.

  5. #5
    Join Date
    Sep 2014
    Posts
    14

    Default

    I'm facing a similar problem - what was your resolution to this? Thanks.

Similar Threads

  1. Smooth streaming question
    By Atmapuri in forum Wowza Streaming Server Java API
    Replies: 5
    Last Post: 06-15-2014, 04:09 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
  •