# PallyCon DRM Configuration

## PallyCon DRM 설정하기 <a href="#pallycon-drm" id="pallycon-drm"></a>

### DRM Info 파일 구성하기 <a href="#pallycon-drm" id="pallycon-drm"></a>

OvenMediaEngine Enterprise는 [PallyCon DRM](https://pallycon.com/)과의 통합을 지원하여 LLHLS 스트림에 쉽게 DRM을 적용할 수 있습니다. DRM Info 파일 (`.xml`)을 다음과 같이 구성하십시오:

```xml
<?xml version="1.0" encoding="UTF-8"?>

<DRMInfo>
    <DRM>
        <Name>Pallycon</Name>
        <VirtualHostName>default</VirtualHostName>
        <ApplicationName>app</ApplicationName>
        <StreamName>stream*</StreamName> <!-- Can be wildcard regular expression -->

        <DRMProvider>Pallycon</DRMProvider> <!-- Manual(default), Pallycon -->
        <DRMSystem>Widevine,Fairplay</DRMSystem> <!-- Widevine, Fairplay -->
        <CencProtectScheme>cbcs</CencProtectScheme> <!-- cbcs -->
        <ContentId>${VHostName}_${AppName}_${StreamName}</ContentId>
        <KMSUrl>https://kms.pallycon.com/v2/cpix/pallycon/getKey/</KMSUrl>
        <KMSToken>xxxx</KMSToken>
    </DRM>
</DRMInfo>
```

`<DRMProvider>`를 `Pallycon`으로 설정하고, 예시와 같이 필요한 정보를 구성하십시오. `<KMSUrl>`과 `<KMSToken>` 값은 PallyCon console에서 제공됩니다. `<ContentId>`는 `VHostName`, `AppName`, `StreamName` 매크로를 사용하여 생성할 수 있습니다.

## 적용된 DRM 확인

### Settings에서 DRM 적용 여부 확인

적용된 DRM을 확인하려면, Web Console 우측 상단의 Settings 아이콘을 클릭하십시오. 표시된 화면에서 [Streaming](/guide/ko-kr/exclusive/web-console/web-console-settings/streaming-egress-settings.md) 탭을 선택하고, [LLHLS 하위 항목을 눌러 DRM 구성](https://ovenmediaengine-enterprise.gitbook.io/guide/ko-kr/features/access-control-and-security/digital-rights-management-drm/pages/pFBTz7ts8tn3BndrSTGE#llhls-drm-or-0.16.0.0)을 확인할 수 있습니다.

### OvenPlayer에서 DRM 적용 여부 확인

<figure><img src="/files/B5fYs9Zi3Irm0i0zHXQZ" alt=""><figcaption><p>OvenPlayer Demo</p></figcaption></figure>

[OvenPlayer Demo](https://demo.ovenplayer.com/)에 DRM 관련 옵션이 추가되었습니다. OvenMediaEngine Enterprise가 제공하는 Egress URL을 통해 DRM 적용 여부를 테스트할 수 있습니다.&#x20;

Egress URL을 확인하기 위해  Web Console 내 [Stream List](/guide/ko-kr/exclusive/web-console/web-console-overview/stream-list.md)에서 생성된 Stream Box를 눌러 Monitoring 화면으로 진입 후 [URLs 탭을 눌러 Egress URL을 확인](/guide/ko-kr/exclusive/web-console/web-console-overview/stream-list/managed-and-instant-streams.md#url) 할 수 있습니다. 해당 Egress URL과 License URL, Key, 및 Value 등 필요한 값을 [OvenPlayer Demo](https://demo.ovenplayer.com/)에 함께 입력하여 DRM 적용 여부를 테스트해보십시오.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ovenmediaengine-enterprise.gitbook.io/guide/ko-kr/features/access-control-and-security/digital-rights-management-drm/pallycon-drm-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
