Encrypting Live HDS with Flash Access V2


in order encrypt live hds content flash access v2, looks need 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 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 change <contentprotection> enabled tag "true", folder rootinstall/applications/livepkgr/streams/_definst_/livestreamjdlew/ receives .control file -- .bootstrap, .meta, .f4f, , .f4x files no longer being generated -- and, therefore, no video created.

 

how can live hds streams encrypted faxs v2 working?

 

thanks in advance!

jon

hi,

 

could tell me version of fms you're using? also, check application logs , core logs under <root_install>/logs.

 

thanks,

apurva



More discussions in Adobe Media Server


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support