OvenMediaEngine Enterprise
한국어
한국어
  • About
    • Introduction
    • Release Notes
      • 0.18.2
      • 0.18.1
      • 0.18.0
      • 0.17.3
      • 0.17.2
      • 0.17.1
      • 0.17.0
      • 0.16.8
      • 0.16.7
      • 0.16.6
      • 0.16.5
      • 0.16.4
  • Installation
    • Getting Started
      • Getting Started with Ubuntu
      • Getting Started with RHEL
      • Getting Started with Docker
    • Configuration Structure Overview
  • Web Console
    • Getting Started with Web Console
    • Web Console Overview
      • Sign In
      • Change Password
      • Web Console Home
      • Stream List
        • Managed and Instant Streams
        • Scheduled Channels | 0.16.4.0+
        • Multiplex Channels | 0.16.5.0+
      • Event Monitoring | 0.18.1.0+
        • Event Configuration
        • Event Specification
      • Web Console Publishing | 0.18.1.2+
      • Logs
      • Configuration Files
      • Restart
  • Web Console Settings
    • Server Settings
    • Live Sources (Ingress Protocols) Settings
    • ABR and Transcoding Settings
    • Streaming (Egress Protocols) Settings
    • TLS Encryption Settings | 0.14.0.0+
    • Access Control Settings
    • Thumbnail Settings | 0.15.7.0+
    • Recording Settings | 0.16.5.0+
    • Push Publishing Settings | 0.15.14.0+
    • REST API Settings | 0.11.0.0+
    • Alert Settings | 0.15.11.0+
  • CDN Compatibility
    • Origin Server Redundancy
    • Origin Cache Control
  • Protection
    • RTMP Authentication | 0.17.2.0+
    • Proxy Protocol Integration | 0.16.6.2+
    • Digital Rights Management (DRM)
      • OvenMediaEngine Configuration for DRM | 0.16.0.0+
      • PallyCon DRM Configuration | 0.16.4.0+
  • Performance
    • Hardware-Accelerated Video Encoding | 0.16.4.0+
  • Event Insertion
    • Insert SEI into H.264 (AVC) Streams | v0.18.0.0+
    • Insert AMF0 messages in RTMP Push Publisher | 0.17.3.0+
  • Monetization
    • Insert Ad Markers (EXT-X-CUE-OUT/EXT-X-CUE-IN) | v0.17.3.0+
    • Insert onCuePoint messages into YouTube Live | 0.17.3.0+
  • Advanced Management
    • Generate Audio PTS | 0.17.2.3+
    • API Storage | 0.17.0.0+
    • Restart Application | 0.17.0.0+
    • Record Delivery | 0.16.5.0+
    • Add Delay to the Stream
    • Control Default Playlist Creation
  • REST API
    • v2
      • Statistics
        • Current
Powered by GitBook
On this page
  • Configuration 단계
  • DRM Info 파일 지정하기
  • DRM Info 파일 구성하기
  1. Protection
  2. Digital Rights Management (DRM)

OvenMediaEngine Configuration for DRM | 0.16.0.0+

OvenMediaEngine Enterprise 0.16.0.0-1 버전부터 간단한 설정을 통해 LLHLS 스트림에 Widevine 및 Fairplay DRM을 적용할 수 있습니다.

Configuration 단계

DRM Info 파일 지정하기

Server.xml이 위치한 디렉토리를 기준으로 DRM 정보를 가지는 파일 (.xml)의 상대 경로 또는 절대 경로를 설정 할 수 있습니다.

<LLHLS>
    <ChunkDuration>0.5</ChunkDuration>
    <PartHoldBack>1.5</PartHoldBack>
    <SegmentDuration>6</SegmentDuration>
    <SegmentCount>10</SegmentCount>
    <DRM>
        <Enable>false</Enable>
        <InfoFile>path/to/file.xml</InfoFile>
    </DRM>
    <CrossDomains>
        <Url>*</Url>
    </CrossDomains>
</LLHLS>

DRM Info 파일 구성하기

DRM Info 파일 (.xml)을 분리시켜 파일에 동적 변경을 적용할 수 있습니다. 새로운 Stream이 생성될 때마다 변경 사항이 적용됩니다.

DRM Info 파일을 다음과 같이 구성할 수 있습니다:

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

<DRMInfo>
    <DRM>
        <Name>MultiDRM</Name>
        <VirtualHostName>default</VirtualHostName>
        <ApplicationName>app</ApplicationName>
        <StreamName>stream*</StreamName> <!-- Can be a wildcard regular expression -->
        <CencProtectScheme>cbcs</CencProtectScheme> <!-- Currently supports cbcs only -->
        <KeyId>572543f964e34dc68ba9ba9ef91d4xxx</KeyId> <!-- Hexadecimal -->
        <Key>16cf4232a86364b519e1982a27d90xxx</Key> <!-- Hexadecimal -->
        <Iv>572547f914e34dc68ba9ba9ef91d4xxx</Iv> <!-- Hexadecimal -->
        <Pssh>0000003f7073736800000000edef8ba979d64acea3c827dcd51d21ed0000001f1210572547f964e34dc68ba9ba9ef91d4c4a1a05657a64726d48f3c6899xxx</Pssh> <!-- Hexadecimal, for Widevine -->
        <!-- Add Pssh for FairPlay if needed -->
        <FairPlayKeyUrl>skd://fiarplay_key_url</FairPlayKeyUrl> <!-- FairPlay only -->
    </DRM>
    <DRM>
        <Name>MultiDRM2</Name>
        <VirtualHostName>default</VirtualHostName>
        <ApplicationName>app2</ApplicationName>
        <StreamName>stream*</StreamName> <!-- Can be a wildcard regular expression -->
         ...........
    </DRM>
</DRMInfo>

DRM이 적용될 <VirtualHostName>, <ApplicationName>, <StreamName>을 지정하여, Multiple <DRM> 설정이 가능합니다. 이때, <StreamName>은 와일드카드 정규 표현식 *을 지원합니다.

현재 <CencProtectScheme>은 "cbcs"만 지원합니다. 이는 FairPlay가 "cbcs"만 지원하기 때문입니다. 다른 Schemes 추가 가능성은 제한적입니다.

<KeyId>, <Key>, <Iv>, <Pssh> 값은 필수이며, DRM Provider가 제공해야 합니다. <FairPlayKeyUrl>은 FairPlay에만 필요하며, 스트림에 FairPlay를 활성화하려면 필수로 설정해야 합니다. 이 값 또한 DRM provider가 제공해야합니다.

현재, DRM은 H.264 및 AAC 코덱만 지원하며, H.265에 대한 지원은 곧 추가될 예정입니다.

세부 가이드: https://airensoft.gitbook.io/ovenmediaengine/streaming/low-latency-hls#drm-beta

PreviousDigital Rights Management (DRM)NextPallyCon DRM Configuration | 0.16.4.0+