question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UI: add clearBuffer option to configure

See original GitHub issue

This will allow the player to change the quality without playback blinking.

ui/controls.js:

shaka.ui.Controls.prototype.onTrackSelected_ = function(track) {
  // Disable abr manager before changing tracks.
  let config = {abr: {enabled: false}};
  this.player_.configure(config);
  let clearBuffer = this.player_.getConfiguration().clearBuffer; // <-- changed
  this.player_.selectVariantTrack(track, clearBuffer); // <-- changed
};

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ismenacommented, Dec 18, 2018

Gotcha! Spasibo, we’ll work on it.

0reactions
ismenacommented, Aug 16, 2019

Sorry this took forever 😦 uiConfig.clearBufferOnQualityChange setting is at your service!

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI: add clearBuffer option to configure · Issue #1733 - GitHub
This will allow the player to change the quality without playback blinking. ui/controls.js: shaka.ui.Controls.prototype.
Read more >
Clear Buffer - SAP Community
Hi, When we get dump error of system_no_task_storage through SE22 what we do is restart the application server to clear the buffer.
Read more >
Using applescript to clear ITerm2 buffer - Stack Overflow
Tested under macOS 10.13.5 using iTerm2 Build 3.1.7, the default keyboard shortcut for the Clear Buffer command is ⌘K, as shown in the ......
Read more >
Chapter: Configuring Packet Capture - Cisco
When you enter the capture command with the decode and display option, the Wireshark output is returned to Cisco IOS and displayed on...
Read more >
WeeChat user's guide
When you run WeeChat for the first time, the default configuration files are created in ~/.config/weechat with default options and values (see Files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found