• 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 /
  • Performance and Tuning /
avatar image
Question by Alexey Drakunov · Mar 24, 2017 at 05:23 AM · live stream delay in player

Lowest possible delivery timings?/ Separate incoming stream recording

We have TRMP uplink from vidiu in 540p then transcode to 360p and 340p and pack it to HLS ABR SMIL(540,360,240)

Please help to solve some questions:

1) I know about option "Low-latency stream (ideal for chat applications)" - But is there any options to make latency even lower?
2) Can we assume that delivery time from vidiu to wowza transcoder is constant and permanent in time? 3) Have option to automatically record separate incoming stream have been implemented?

4) I have set 6s HLS chunk -- that have decreased latency by 20%, but What is the duration of the live playlist? I.e. how many segments by 6 seconds are in the playlist?

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

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Kevin Moore · Mar 25, 2017 at 08:27 PM

There will always be some latency between the encoder and the live video. This is the nature of streaming media. A few things can help.

A) The protocol you choose for playback can add a fair amount of latency. RTSP playback and RTMP playback have lower latency than segmented HTTP delivered content like Apple HLS, MPEG-DASH, Adobe HDS, and Microsoft Smooth Streaming. The reason for this is that the player will not play a segment until the three entire segments are finished downloading to the client to help smooth out networking issues. Content is segmented into chunks based upon the keyframe distance and time specified in Wowza Streaming Engine. Apple strongly recommends ten second segments, however that increases latency dramatically.

https://developer.apple.com/library/ios/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-MEDIASTREAMSEGMENTATION-USE_10_SECOND_TARGET_DURATIONS

B) Make sure that your keyframe distance, also known as a "Group of Pictures" or GOP, is two seconds and is consistent. Your encoder should be using the H.264 video codec and have an option to make sure that keyframes are created at that exact distance every time. If you can, please force the keyframe distance using whichever option your encoder documentation specifies.

C) We have a guide that may help provide insight in lowering your latency for RTMP playback for desktop players.


https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming

More on low latency can be found at the following link.

https://www.wowza.com/blog/what-is-low-latency-and-who-needs-it

D) If you are delivering content using Apple HLS, Adobe HDS, Microsoft Smooth Streaming, or MPEG-DASH you will want to modify your ChunkDurationTarget as shown in the following articles:

Apple HLS:
https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming

Adobe HDS:
https://www.wowza.com/docs/how-to-configure-adobe-hds-packetization-sanjosestreaming

Microsoft Smooth Streaming:
https://www.wowza.com/docs/how-to-configure-microsoft-smooth-streaming-packetization-smoothstreaming

MPEG-DASH:
https://www.wowza.com/docs/how-to-configure-mpeg-dash-packetization-mpegdashstreaming

I hope that this helps to address your latency concerns.

Comment
Alexey Drakunov

People who like this

1 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

streaming at 6 mega bitrate 0 Answers

Near zero latency track switching with identical HLS streams 0 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