Encrypting Live HDS with Flash Access V2
In order to encrypt Live HDS content with Flash Access V2, it looks like I need to reconfigure 4 files:
- rootinstall/applications/livepkgr/Application.xml
- rootinstall/applications/livepkgr/events/_definst_/liveevent/Event.xml
- rootinstall/applications/livepkgr/events/_definst_/liveevent/Manifest.xml
- rootinstall/webroot/liveevent.f4m
<Application>
<StreamManager>
<Live>
<AssumeAbsoluteTime>true</AssumeAbsoluteTime>
</Live>
</StreamManager>
<HDS>
<Recording>
<ContentProtection enabled="allow">
<ProtectionScheme>FlashAccessV2</ProtectionScheme>
</ContentProtection>
</Recording>
</HDS>
</Application>
2.
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>16000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
<ContentProtection enabled="false">
<ProtectionScheme>FlashAccessV2</ProtectionScheme>
<FlashAccessV2>
<ContentID>livestreamJDLEW</ContentID>
<CommonKeyFile>(common_key_file.bin)</CommonKeyFile>
<LicenseServerURL>(license_server_url)</LicenseServerURL>
<TransportCertFile>(transport_cert_file.der)</TransportCertFile>
<LicenseServerCertFile>(license_server_cert_file.der)</LicenseServerCertFile>
<PackagerCredentialFile>(packager_credential_file.pfx)</PackagerCredentialFile>
<PackagerCredentialPassword>(password)</PackagerCredentialPassword>
<PolicyFile>(policy_file.pol)</PolicyFile>
</FlashAccessV2>
</ContentProtection>
</Recording>
</Event>
3.
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
<media streamId="livestreamJDLEW" bitrate="100"/>
</manifest>
4.
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://<ipaddress>/hds-live/livepkgr/_definst_/liveevent/</baseURL>
<dvrInfo windowDuration="3600"></dvrInfo>
<media href="livestreamJDLEW.f4m" bitrate="100"/>
</manifest>
In (2), when I change the <ContentProtection> enabled tag to "true", the folder rootinstall/applications/livepkgr/streams/_definst_/livestreamJDLEW/ only receives the .control file -- the .bootstrap, .meta, .f4f, and .f4x files are no longer being generated -- and, therefore, no video is created.
How can I get my Live HDS streams encrypted with FAXS v2 working?
Thanks in advance!
Jon
