• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
    • Products

      • Wowza ClearCaster
      • Facebook Live appliance
      • Wowza Streaming Cloud
      • Cloud streaming services
      • Wowza Streaming Engine
      • Streaming server software
      • Wowza GoCoder & SDK
      • Mobile capture and encoding app
    • Capabilities

      • CDN
      • Ultra Low Latency
      • SRT
      • Player
      • WebRTC
      • Live Transcoding
      • See All Capabilities
  • DOCS & APIS

      Docs & APIs

      • Getting Started
      • User Guides
      • Technical Articles
      • Video Tutorials
      • API & SDK Docs
  • SOLUTIONS
    • Streaming Types

      • Live Video Streaming
      • Video on Demand
      • Audio-Only Streaming
      • IP Camera Streaming
      • VR and 360° Streaming
      • Chat
    • Industries

      • Broadcast & OTT
      • Education
      • Enterprise
      • Government
      • Live Events
      • Live Sports
      • Religious Organizations
    • Streaming Solutions

      • MediaDS—Integrated Streaming Device
      • Streaming Service Providers
      • Live Mobile Broadcasting
  • PRICING
    • Wowza ClearCaster

      • Facebook Live appliance
      • Starting at $2,995
      • Add to Cart
      • Request a Demo
    • Wowza Streaming Cloud

      • Cloud streaming services
      • Starter Plan: $49/month
      • Add to Cart
      • See All Plans
    • Wowza Streaming Engine

      • Streaming server software
      • Annual Plan: $65/month
      • Add to Cart
      • See All Plans
    • Wowza GoCoder SDK

      • SDK for mobile streaming
      • Talk to a Streaming Expert
      • Contact Us
      • Free Trial
  • RESOURCES

      Resources

      • Blog
      • Case Studies
      • Webinars
      • Videos
      • Podcasts
      • Test Players
      • Developer Tools
  • SUPPORT
    • Support

      • Forums
      • Software Updates
      • Open a Support Ticket
    • Plans & Services

      • Support Plans
      • Advisory Services
      • Live Event Support
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by keith lai · Dec 28, 2011 at 09:43 PM ·

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 -
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Randall Auriemma · Dec 28, 2011 at 04:03 AM

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).
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image keith lai · Dec 28, 2011 at 11:24 PM 0
Share
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 username:password in URL.

the performance on video start time is degrading on the twice handshaking.... :( need helps!
avatar image

Answer by Richard Lanham · Dec 29, 2011 at 04:05 PM

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

http://www.wowza.com/forums/content.php?64-How-to-configure-VLC-player-to-stream-RTSP-RTP-over-TCP-(RTSP-RTP-interleaved)

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

Richard
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

rtp/rtcp udp or tcp 3 Answers

Iptable rules for Wowza? Can some one please help with a guide? 3 Answers

Force streaming RTSP via UDP or TCP 1 Answer

Mediacache and SMIL 1 Answer

wowzasessionid expire time? 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2018 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Users
  • Badges