• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Ory Drilon · Nov 04, 2013 at 12:52 PM ·

Increasing RTMP Timeout Period

I've been playing around with VHost.xml's values for Application/PingTimeout, Application/ValidationFrequency and Client/ClientTimeout and blocking off the RTMP port using IPSec on the Wowza machine. With values of 90000 everywhere, I'm still getting Wowza disconnection events around 30 secs after blocking the port. Are there any other settings I should check or is my port-blocking test flawed?

My end goal is to increase the timeout period to cater for unstable mobile connections.
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 Ory Drilon · Nov 04, 2013 at 04:39 PM

I'm getting the same behavior by simply pulling out the LAN cable from the client machine, so I don't think the IPSec method is causing problems.
Comment

People who like this

0 Show 4 · 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 Richard Lanham · Nov 04, 2013 at 05:44 PM 0
Share
Your VHost.xml changes might not be having any effect because the Application.xml settings override the VHost.xml settings for an application.

Rihcared
avatar image Ory Drilon Richard Lanham · Nov 05, 2013 at 08:55 AM 0
Share
Checked my Application.xml settings and there aren't any overrides. I've also tried placing higher timeout settings in Application.xml (I based it on the commented-out section in the vod sample's Application.xml) but I'm still getting disconnect events about 20 seconds after a plug pull.
avatar image Ory Drilon Ory Drilon · Nov 06, 2013 at 12:51 PM 0
Share
Could it be that I'm just misusing the events? Should I be catching some sort of timeout event instead of this disconnect event that may be fired multiple times before a timeout?
avatar image Ory Drilon Ory Drilon · Nov 11, 2013 at 08:41 AM 0
Share
Could I get confirmation that things are working as intended and I'm not hitting some misconfiguration or event misuse? If this is how things are, I'll go on ahead and hand-code a solution to simulate a longer "timeout" period.
avatar image

Answer by Richard Lanham · Nov 11, 2013 at 06:03 PM

There are PingTimeout and ValidationFreqency settings in the Application.xml. If these are set to the default, that is what your application is going to be using.

<Root>
	<Application>
		<!-- Uncomment to set application level timeout values
		<ApplicationTimeout>60000</ApplicationTimeout>
		<PingTimeout>12000</PingTimeout>
		<ValidationFrequency>8000</ValidationFrequency>


PingTimeout and ValidationFrequency are only relevant to RTMP connections. That might be the problem, if you are looking for effect in other client types.

Richard
Comment

People who like this

0 Show 2 · 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 Ory Drilon · Nov 12, 2013 at 12:26 PM 0
Share
Already tried editing Application.xml a few posts back (retried it just now as a sanity check, too) and I'm still getting the disconnect event after 20ish seconds. And, yes, I'm using RTMP as the protocol. Does it matter if I'm using the RTMPe flavor?
avatar image Ory Drilon Ory Drilon · Nov 13, 2013 at 05:28 PM 0
Share
Well, I'll see if I can get this working on some other servers. If not, I guess I'm left with hand-coding a solution that persists behavior across multiple disconnect events.

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

2 People are following this question.

avatar image avatar image

Related Questions

no stream in smil playlist file 1 Answer

ndvr sart position 1 Answer

Live streaming to an Android browser? 1 Answer

https and http live on same port 1 Answer

Video Streaming Management System 3 Answers

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • 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
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 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 Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges