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
  • RTMP Authentication 설정하기
  • Auth Info 파일 구성하기
  • OBS에서 RTMP Authentication 사용하기
  1. Protection

RTMP Authentication | 0.17.2.0+

OvenMediaEngine Enterprise 0.17.2.0-1 버전부터 RTMP Authentication 기능을 지원합니다.

OvenMediaEngine Enterprise가 RTMP Provider를 통해 Media Source를 입력 받을 때 Username/Password Authentication을 사용 할 수 있습니다. 이를 통해 인증되지 않은 사용자의 무분별한 접근을 제한 할 수 있습니다.

RTMP Authentication 설정하기

Server.xml의<VirtualHosts><VirtalHost><Applications><Application><Providers><RTMP> 내 <AuthFile>을 지정하여 사용할 수 있습니다. 아래와 같이 설정하여 사용할 수 있습니다:

<?xml version="1.0" encoding="UTF-8"?>
<Server version="8">
  ...
  <VirtualHosts>
    <VirtualHost>
      <Applications>
        <Application>
          <Providers>
            ...
            <RTMP>
              <AuthFile>AuthInfo.xml</AuthFile>
            </LLHLS>
          </Publishers>
        </Application>
      </Applications>
    </VirtualHost>
  </VirtualHosts>
</Server>

해당 AuthFile은 <Application><Provider><RTMP>에 설정하기 때문에 인증에 필요한 계정 목록을 Application 단위로 관리가 가능하여 사용이 편리합니다.

<AuthFile>을 지정하지 않거나, AuthFile로 참조될 .xml 파일 (AuthInfo.xml)에 <Auth><Enabled>가 false로 설정되어 있다면, OvenMediaEngine Enterprise는 기존과 동일하게 인증을 진행하지 않고 RTMP 스트림을 수신합니다.

Auth Info 파일 구성하기

AuthInfo.xml 파일 규격은 <AuthInfo><Auth>에 <ID>, <Password>, <Enabled>가 있는 형태이며, 아래와 같이 구성하여 사용할 수 있습니다:

<AuthInfo>
    <Auth>
        <ID>username</ID>
        <Password>password</Password>
        <Enabled>true</Enabled>
    </Auth>
</AuthInfo>
  • ID: 인증을 진행할 사용자 ID를 지정합니다. 해당 부분은 OBS 기준 Username에 해당됩니다.

  • Password: 인증 시 필요한 사용자 Password를 지정합니다. 해당 부분은 OBS 기준 Password에 해당됩니다.

  • Enabled: <Enabled>를 false로 설정하면, OvenMediaEngine Enterprise는 기존과 동일하게 인증을 진행하지 않고 RTMP 스트림을 수신합니다.

OBS에서 RTMP Authentication 사용하기

OBS를 이용하여 RTMP를 전송할 때, Use autentication 기능을 활성화하여 RTMP Autentication 기능을 사용할 수 있습니다:

위 가이드대로 AuthInfo.xml 파일을 만들어 OvenMediaEngine Enterprise에 <AuthFile>을 지정했다면 AuthInfo.xml 파일에 기입한 <ID>를 OBS의 Username에, <Password>를 OBS의 Password에 기입한 후 Start Streaming을 진행하십시오. OvenMediaEngine Enterprise는 해당 인증 정보가 일치하는 경우, RTMP 미디어 소스를 수신할 것입니다.

PreviousOrigin Cache ControlNextProxy Protocol Integration | 0.16.6.2+