If I want to record live stream using HTTPLiveStreamRecord with a non-admin username and password, how can I do it?
Thank you.
If I want to record live stream using HTTPLiveStreamRecord with a non-admin username and password, how can I do it?
Thank you.
To enable unauthenticated access to this HTTP Provider, open the VHost.xml file in a text editor and change the AuthenticationMethod property value to none. This isn’t recommended if you’ll be accessing the web-based UI from a remote computer.
<HTTPProvider>
<BaseClass>com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord</BaseClass>
<RequestFilters>livestreamrecord*</RequestFilters>
<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
Instead of accessing the web-based UI from a remote computer you can use URL queries
Recording live streams using URL queries
I hope this answers your question.
Salvadore
You can create your own authentication method for Live Stream Record.
1: Create new file in /conf called Authentication.xml
<Method>
<Name>test-digest</Name>
<Description>Test Digest Authentication</Description>
<Class>com.wowza.wms.authentication.AuthenticateDigest</Class>
<Properties>
<Property>
<Name>passwordFile</Name>
<Value>${com.wowza.wms.ConfigHome}/conf/lsr.password</Value>
</Property>
<Property>
<Name>realm</Name>
<Value>Live Stream Record Realm</Value>
</Property>
</Properties>
</Method>
<HTTPProvider>
<BaseClass>com.wowza.wms.livestreamrecord.http.HTTPLiveStreamRecord</BaseClass>
<RequestFilters>livestreamrecord*</RequestFilters>
<AuthenticationMethod>test-digest</AuthenticationMethod>
</HTTPProvider>
You will create a file called lsr.password and add your username and password as you would normally do in the admin.password file.
Restart Wowza and test the manager and livestreamrecord module.
Regards,
Salvadore
You’re welcome. I hope it helps answer your question.
Regards,
Salvadore
That did not answer the question. The question is to record live stream using HTTPLiveStreamRecord with a non-admin username and password.
none is no username .
However, it is probably not necessary. It is probably better to make a script in the server side and control all recordings with admin account.
Thank you for your answer. It is nice to know that.