Results 1 to 4 of 4

Thread: problem on RTSP Authentication

  1. #1

    Default problem on RTSP Authentication

    We are trying to setup the RTSP Authentication.

    I've setup the public.password file for RTP authentication also we've configured the application RTP/Authentication/PlayMethod to digest in the application.xml. Everything goes well after configuration, the stream is protected with the username.

    Except when I am trying to use VLC to connect, it ask me twice for username and password on every request. any idea? By the way, I am using the mediacache in this application.



    The log in console shows the following, it seems that the VLC player is trying to connect twice....:-

    INFO stream stop c1/1/iphone_sample.mp4 -
    INFO stream destroy c1/1/iphone_sample.mp4 -
    INFO rtsp disconnect 1152285236 -
    INFO rtsp connect 316413612 -
    INFO stream create - -
    INFO rtsp describe 316413612 -
    INFO server comment - RTPUDPTransport.bind[bbvdoapps/_definst_]: in:0.0.0.0/0.0.0.0:6974 out:/10.10.10.8:54720
    INFO server comment - RTPUDPTransport.bind[bbvdoapps/_definst_]: in:0.0.0.0/0.0.0.0:6975 out:/10.10.10.8:54721
    INFO server comment - RTPUDPTransport.bind[bbvdoapps/_definst_]: in:0.0.0.0/0.0.0.0:6976 out:/10.10.10.8:54722
    INFO server comment - RTPUDPTransport.bind[bbvdoapps/_definst_]: in:0.0.0.0/0.0.0.0:6977 out:/10.10.10.8:54723
    INFO stream play c1/1/iphone_sample.mp4 -
    INFO rtsp play 316413612 -




    INFO server comment - RTPUDPTransport.unbind[bbvdoapps/_definst_]: 0.0.0.0/0.0.0.0:6974 sent:180 recv:0
    INFO server comment - RTPUDPTransport.unbind[bbvdoapps/_definst_]: 0.0.0.0/0.0.0.0:6975 sent:4 recv:0
    INFO server comment - RTPUDPTransport.unbind[bbvdoapps/_definst_]: 0.0.0.0/0.0.0.0:6976 sent:598 recv:0
    INFO server comment - RTPUDPTransport.unbind[bbvdoapps/_definst_]: 0.0.0.0/0.0.0.0:6977 sent:4 recv:0
    INFO stream stop c1/1/iphone_sample.mp4 -
    INFO stream destroy c1/1/iphone_sample.mp4 -
    INFO rtsp disconnect 316413612 -
    INFO rtsp connect 727524933 -
    INFO stream create - -
    INFO rtsp describe 727524933 -
    INFO stream play c1/1/iphone_sample.mp4 -
    INFO rtsp play 727524933 -
    INFO stream stop c1/1/iphone_sample.mp4 -
    INFO stream destroy c1/1/iphone_sample.mp4 -
    INFO rtsp disconnect 727524933 -
    Last edited by keithlai; 12-28-2011 at 06:45 AM.

  2. #2

    Default

    What version of Wowza and VLC? Upgrading is always a good idea. Try playing the RTSP stream in VLC from a different computer.

    I have tested this on Wowza 3.0.3.10 build995 with VLC 1.1.11 and it only asks for the password one time.

    INFO rtsp connect 975027157 -
    INFO stream create - -
    INFO rtsp describe 975027157 -
    INFO server comment - RTPUDPTransport.bind[live/_definst_]: in:0.0.0.0/0.0.0.0:6
    970 out:/127.0.0.1:58550
    INFO server comment - RTPUDPTransport.bind[live/_definst_]: in:0.0.0.0/0.0.0.0:6
    971 out:/127.0.0.1:58551
    INFO server comment - RTPUDPTransport.bind[live/_definst_]: in:0.0.0.0/0.0.0.0:6
    972 out:/127.0.0.1:58558
    INFO server comment - RTPUDPTransport.bind[live/_definst_]: in:0.0.0.0/0.0.0.0:6
    973 out:/127.0.0.1:58559
    INFO stream play myStream -
    INFO rtsp play 975027157 -
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_defi
    nst_/myStream]: Add chunk: type:video id:9 count:30 duration:3675
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:6971 msg:/1
    27.0.0.1:58551
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:6973 msg:/1
    27.0.0.1:58559
    Note: Haven't tried it with MediaCache (yet).
    Last edited by randall; 12-28-2011 at 07:11 AM.

  3. #3

    Default

    my version is Wowza Media Server 3 Perpetual Edition 3.0.3 build882 and VLC is 1.1.11. also, wowza server and vlc are different computer

    it is okay with
    rtsp://username:password@ip:port/mediacache/_definst_/mp4:http/path1/filename.mp4
    but still twice without usernameassword in URL.

    the performance on video start time is degrading on the twice handshaking.... need helps!
    Last edited by keithlai; 12-28-2011 at 08:31 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    VLC will failover to TCP if UDP is blocked. You can force it to use TCP initially:

    http://www.wowza.com/forums/content....P-interleaved)

    Or you can unblock UDP ports (0-65535) possibly in your firewall, or other point in your network.

    Richard

Similar Threads

  1. RTMP authentication, RTSP authentication => problem
    By nvanhaute1 in forum Server Administration Discussion
    Replies: 4
    Last Post: 11-09-2011, 03:01 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
  •