Results 1 to 2 of 2

Thread: How to have a username and password authentication on the client side for live video

  1. #1

    Default How to have a username and password authentication on the client side for live video

    Can anyone help me for how to have a pop up username and password authentication technique before playing the video from the wowza server on the client side.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi,
    This is possible but would only be supported with RTSP clients by default. To get this working RTMP or HTTP clients, it would require writing a custom player or plugin and some custom code in Wowza to trigger this authentication.
    First you will need to add a new <Method> to the <Methods> container in the [Wowza-Install]/conf/Authentication.xml file, an example can be found below called digestplay.
    			<Method>
    				<Name>digestplay</Name>
    				<Description>Digest Authentication</Description>
    				<Class>com.wowza.wms.authentication.AuthenticateDigest</Class>
    				<Properties>
    					<Property>
    						<Name>passwordFile</Name>
    						<Value>${com.wowza.wms.context.VHostConfigHome}/conf/play.password</Value>
    					</Property>
    					<Property>
    						<Name>realm</Name>
    						<Value>Streaming Server</Value>
    					</Property>
    				</Properties>
    			</Method>
    You based on the above, you will need to create a password file called play.password in the [Wowza-Install]/conf/ directory.

    In the Application.xml file you will need to change the RTP/Authentication/PlayMethod from none to digestplay.
    <PlayMethod>digestplay</PlayMethod>
    After editing these files you will need to restart Wowza for the changes to take effect.
    This can be tested with VLC player and should work assuming that the password file defined in the Method called digestplay exists.


    Jason

Similar Threads

  1. Wowza User Authentication with Username, Password and MAC-Adress
    By Mister29 in forum Wowza Streaming Engine functionality
    Replies: 2
    Last Post: 05-23-2014, 01:09 AM
  2. Replies: 3
    Last Post: 07-23-2012, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •