Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: remove rtsp security digest

  1. #1

    Default remove rtsp security digest

    Hello, I have a secured rtsp application on wowza server, when I tries to connect by VLC it asks for a username and password (I don't know where they are stored or how to connect to a secured rtsp using VLC) , I tried to remove the authentication but it did not work. Please advice.

    <Authentication>
    <PublishMethod>digest</PublishMethod>
    <PlayMethod>digest</PlayMethod>
    </Authentication>
    Thank you

  2. #2

    Default

    By default, usernames and passwords are stored in the [install-dir]/conf/publish.password file.
    This file using the following format:
    # Publish password file (format [username][space][password])
    # username password
    myuser mypassword
    You can disable authentication by setting PublishMethod to "none".

    Salvadore

  3. #3

    Default

    Thank you

    publish.password has not username or password
    I sat up PublishMethod to "none", but VLC kept prompting for credentials , so I I sat up PlayMethod to "none" and got error from VLC (VLC is unable to open the MRL 'rtsp://url ). Please advice

  4. #4

    Default

    Can you explain what you mean by a "secured rtsp application"?

    How did you go about setting this up?

    Salvadore

  5. #5

    Default

    I meant VLC prompting for username and password
    Someone else set-up the server before the company hires me

    This is my Application.XML
    <Root>
    <Application>
    <!-- Uncomment to set application level timeout values
    <ApplicationTimeout>60000</ApplicationTimeout>
    <PingTimeout>12000</PingTimeout>
    <ValidationFrequency>8000</ValidationFrequency>
    <MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
    <MaximumSetBufferTime>60000</MaximumSetBufferTime>
    <MaximumStorageDirDepth>25</MaximumStorageDirDepth>
    -->
    <Connections>
    <AutoAccept>true</AutoAccept>
    <AllowDomains/>
    </Connections>
    <!--
    StorageDir path variables

    ${com.wowza.wms.AppHome} - Application home directory
    ${com.wowza.wms.ConfigHome} - Configuration home directory
    ${com.wowza.wms.context.VHost} - Virtual host name
    ${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
    ${com.wowza.wms.context.Application} - Application name
    ${com.wowza.wms.context.ApplicationInstance} - Application instance name

    -->
    <Streams>
    <StreamType>default</StreamType>
    <StorageDir>d:\mp3-previews</StorageDir>
    <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater -->
    <LiveStreamPacketizers></LiveStreamPacketizers>
    <!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    <Properties>
    </Properties>
    </Streams>
    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming -->
    <HTTPStreamers>cupertinostreaming,smoothstreaming</HTTPStreamers>
    <SharedObjects>
    <StorageDir></StorageDir>
    </SharedObjects>
    <Client>
    <IdleFrequency>-1</IdleFrequency>
    <Access>
    <StreamReadAccess>*</StreamReadAccess>
    <StreamWriteAccess>*</StreamWriteAccess>
    <StreamAudioSampleAccess></StreamAudioSampleAccess>
    <StreamVideoSampleAccess></StreamVideoSampleAccess>
    <SharedObjectReadAccess>*</SharedObjectReadAccess>
    <SharedObjectWriteAccess>*</SharedObjectWriteAccess>
    </Access>
    </Client>
    <RTP>
    <!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
    <Authentication>
    <PublishMethod>none</PublishMethod>
    <PlayMethod>none</PlayMethod>
    </Authentication>
    <!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
    <AVSyncMethod>senderreport</AVSyncMethod>
    <MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
    <IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
    <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    <Properties>
    </Properties>
    </RTP>
    <MediaCaster>
    <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    <Properties>
    </Properties>
    </MediaCaster>
    <MediaReader>
    <!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
    <Properties>
    </Properties>
    </MediaReader>
    <LiveStreamPacketizer>
    <!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
    <Properties>
    </Properties>
    </LiveStreamPacketizer>
    <HTTPStreamer>
    <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
    <Properties>
    </Properties>
    </HTTPStreamer>
    <Repeater>
    <OriginURL></OriginURL>
    <QueryString><![CDATA[]]></QueryString>
    </Repeater>
    <Modules>
    <Module>
    <Name>base</Name>
    <Description>Base</Description>
    <Class>com.wowza.wms.module.ModuleCore</Class>
    </Module>
    <Module>
    <Name>properties</Name>
    <Description>Properties</Description>
    <Class>com.wowza.wms.module.ModuleProperties</Class>
    </Module>
    <Module>
    <Name>logging</Name>
    <Description>Client Logging</Description>
    <Class>com.wowza.wms.module.ModuleClientLogging</Class>
    </Module>
    <Module>
    <Name>flvplayback</Name>
    <Description>FLVPlayback</Description>
    <Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
    </Module>
    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    </Properties>
    </Application>
    </Root>

  6. #6

    Default

    I see no other modules enabled in your application.xml file. Are you sure you are making your changes and saving to [install-dir]/conf/[app]
    Sometimes the Application.xml file is saved in [install-dir]/applications/[app] which is the wrong location for this file.

    You could set up a user name and password in the [install-dir]/conf/publish.password file.

    [code[# Publish password file (format [username][space][password])
    # username password
    myuser mypassword[/code]

    Salvadore

  7. #7

    Default

    Thank you for your help, but I still cannot stream rtsp using VLC, I got this error "VLC is unable to open the MRL 'http://myurl'. Check the log for details." I tink it has nothing to do with the username and password. Please advice

  8. #8

    Default

    It is possible that your firewall is blocking VLC from connecting to the internet. Check your firewall settings and allow VLC to connect to all networks.

    Can you play this file back?
    rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov
    Salvadore

  9. #9

    Default

    I just noticed you are using http and not rtsp. So try adding /playlist.m3u8 to the end of your stream URL

    Salvadore

  10. #10

    Default

    I tried the link you gave to me and it worked fine, thanks.
    I'm using rtsp not http I just typed it wrong.

Page 1 of 2 12 LastLast

Similar Threads

  1. RTSP Security
    By stream4life in forum General Forum
    Replies: 1
    Last Post: 12-23-2013, 09:48 AM
  2. rtsp restream security
    By dubnik in forum General Forum
    Replies: 5
    Last Post: 05-23-2013, 05:05 AM
  3. remove RTSP possibility ?
    By nvanhaute1 in forum Server Administration Discussion
    Replies: 1
    Last Post: 11-14-2011, 11:00 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
  •