RTMP Authentication | 0.17.2.0+
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:
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:
ID
: Specifies the user ID to authenticate. This corresponds to theUsername
in OBS Settings.Password
: Specifies the user password required for authentication. This corresponds to thePassword
in OBS Settings.Enabled
: If<Enabled>
isfalse
, 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.
Last updated