OvenMediaEngine Enterprise
English
English
  • 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+
        • 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
    • Generating 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
Powered by GitBook
On this page
  • RTMP Authentication Settings
  • Configure the Auth Info File
  • Using RTMP Authentication in OBS
  1. Protection

RTMP Authentication | 0.17.2.0+

OvenMediaEngine Enterprise supports RTMP Authentication starting from version 0.17.2.0-1.

OvenMediaEngine Enterprise supports Username/Password Authentication when ingesting media sources through the RTMP Provider. This feature helps limit unauthorized users from accessing the stream.

RTMP Authentication Settings

You can use it by specifying <AuthFile> in <VirtualHosts><VirtalHost><Applications><Application><Providers><RTMP> of Server.xml. You can use it by setting it as follows:

<?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>

Since AuthFile is set in <Application><Provider><RTMP>, you can manage the list of accounts required for authentication for each Application, making it convenient to use.

If <AuthFile> is not specified or <Auth><Enabled> is set to false in the .xml file referenced by AuthFile (AuthInfo.xml), OvenMediaEngine Enterprise will receive RTMP streams without performing authentication as before.

Configure the Auth Info File

The content of the <AuthInfo.xml> file is in the form of <AuthInfo><Auth> with <ID>, <Password>, and <Enabled>. You can use it by configuring it as follows:

<AuthInfo>
    <Auth>
        <ID>username</ID>
        <Password>password</Password>
        <Enabled>true</Enabled>
    </Auth>
</AuthInfo>
  • ID: Specifies the user ID to authenticate. This corresponds to the Username in OBS Settings.

  • Password: Specifies the user password required for authentication. This corresponds to the Password in OBS Settings.

  • Enabled: If <Enabled> is false, OvenMediaEngine Enterprise will receive RTMP streams without authentication.

Using RTMP Authentication in OBS

When streaming RTMP using OBS, you can use the RTMP Authentication feature by enabling the Use autentication item in OBS Settings:

If you made an AuthInfo.xml file following the guide above and specified <AuthFile> in OvenMediaEngine Enterprise, enter the <ID> recorded in the AuthInfo.xml file for the OBS's Username and <Password> for the OBS's Password, then proceed to Start Streaming. If the authentication information matches, OvenMediaEngine Enterprise will receive the RTMP media source from OBS.

PreviousOrigin Cache ControlNextProxy Protocol Integration | 0.16.6.2+