Skip to main content
Participant
August 9, 2012
Question

Encrypting Live HDS with Flash Access V2

  • August 9, 2012
  • 1 reply
  • 1372 views

In order to encrypt Live HDS content with Flash Access V2, it looks like I need to reconfigure 4 files:

  1. rootinstall/applications/livepkgr/Application.xml
  2. rootinstall/applications/livepkgr/events/_definst_/liveevent/Event.xml
  3. rootinstall/applications/livepkgr/events/_definst_/liveevent/Manifest.xml
  4. rootinstall/webroot/liveevent.f4m

Here are my configuration files:
1.

<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

This topic has been closed for replies.

1 reply

August 10, 2012

Hi,

Could you tell me what version of FMS you're using? Also, could you check your application logs and core logs under <root_install>/logs.

Thanks,

Apurva

jonlew90Author
Participant
August 10, 2012

I'm using FMS 4.5.1. I think I've solved my issue(s) -- bad file paths Thanks for the quick response!

jonlew90Author
Participant
August 13, 2012

I'm able to encrypt a single stream with Flash Access V2. How do I encrypt multiple streams at the event-level? Does this need to be done at the application-level? If so, can you provide a sample Application.xml file of how to configure this? Thanks!