Skip to content

How to have smooth playback experience in playlists? #4879

Answered by USAMAWIZARD
yashtandon113 asked this question in FAQs
Discussion options

You must be logged in to vote

Let me explain the best practices for that. I hope it helps.

Improve WebRTC Playback Experience

ATTENTION: It does not make sense to play the stream with WebRTC because it’s already recorded file and there is no ultra low latency requirement. It make sense to play the stream with HLS. Just keep in mind that WebRTC playback uses more processing resources than the HLS. Even if you would like to decrease the amount of time to switch streams, please read the followings.

  1. Open the embedded player(/usr/local/antmedia/webapps/{YOUR_APP}/play.html) Find the genericCallback method and decrease the timeout value from 3000 to 1000 or even lower at the end of the genericCallback method. <https://gith…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by USAMAWIZARD
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants