Skip to main content
Participant
March 5, 2012
Question

Activating PHDS from Application.xml and event.xml causing the server error

  • March 5, 2012
  • 1 reply
  • 780 views

Dear community, i am searching for 6 days for a solution but i couldnt find. I installed the trial version of Adobe Media Server 4.5. I am trying to host live stream and it is working without error. but when i activate protection (PHDS), server gives en error code: 20... here is the server log...

Mon 07:28:15 PM: Core (2524) connection to admin accepted.

Mon 07:28:16 PM: Listener started ( _defaultRoot_ ) : 192.168.7.35:19351 (rtmfp-core)/v4

Mon 07:28:16 PM: Listener started ( _defaultRoot_ ) : 127.0.0.1:19351 (rtmfp-core)/v4

Mon 07:28:16 PM: Public rtmfp-core addresses for listener _defaultRoot_ are: 192.168.7.35:19351;127.0.0.1:19351

Mon 07:28:16 PM: Core (2524) sending register cmd to edge.

Mon 07:28:16 PM: Connect : rtmp://192.168.7.35/livepkgr

Mon 07:28:19 PM: Error from libf4f.dll: F4V error: 20.

After i could take the Live HDS, i made these settings as described at http://help.adobe.com/en_US/flashmediaserver/devguide/WS47c0525fe440307e-685173b213221ed709a-8000.html#WSa14020e912d5027b77f49e0c130902d8132-8000

my application.xml and event.xml files are

<Application>

    <StreamManager>

        <Live>

            <AssumeAbsoluteTime>true</AssumeAbsoluteTime>

        </Live>

    </StreamManager>

    

    <HDS>

        <Recording>

            <ContentProtection enabled="allow">

                <ProtectionScheme>PHDS</ProtectionScheme>

            </ContentProtection>

        </Recording>

    </HDS>

    

</Application>

<Event>

    <EventID>liveevent</EventID>

    <Recording>

        <FragmentDuration>4000</FragmentDuration>

        <SegmentDuration>360000</SegmentDuration>

        <ContentProtection enabled="true">

            <ProtectionScheme>PHDS</ProtectionScheme>

            <PHDS>

                <CommonKeyFile>common-key.bin</CommonKeyFile>

                <VideoEncryptionLevel>2</VideoEncryptionLevel>

            </PHDS>

        </ContentProtection>

    </Recording>

</Event>

This topic has been closed for replies.

1 reply

Adobe Employee
March 7, 2012

Have you followed this step:

In this case, copy the common-key.bin file from the rootinstall/phds directory to the rootinstall/applications/livepkgr/events/_definst_/liveevent directory.

??