Change Speed for call recording playback x3?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Change Speed for call recording playback x3?

Postby atkins513 » Fri Feb 23, 2024 3:07 pm

My question is pretty simple. I listen to all calls at 2x, but am capable of listening much faster. I watch some YouTube videos in 3x and 4x. I have custom scripts for youtube that allow me to go over the default selectable speeds.

My question, Is there a way to increase the playback speed even more than 2x, either by inspecting the element and changing, or some other trick to doing so?
Thanks










VERSION: 2.14-634c BUILD: 210421-2110
atkins513
 
Posts: 56
Joined: Fri Jul 03, 2020 12:31 pm

Re: Change Speed for call recording playback x3?

Postby njr » Thu Feb 29, 2024 11:39 am

The quick and dirty way, assuming you want this for all recordings on a page, is to open up the browser's dev tools (inspect an element or hit F12) and in the Console section paste this and hit enter:
Code: Select all
document.querySelectorAll('audio').forEach(function(audio) {
    audio.playbackRate = 3;
});

You could try 4 but it may actually mute the audio (it doesn't in Chrome, per my testing just now, but the MDN web docs note that Gecko (Firefox browser engine) would. It does accept a decimal point as well, so, 3.5 for example should work.
Vicibox 11 from .iso installed/set up by Vicidial | Vicidial 2.14-900a Build: 231115-1636 | Asterisk 16.30.0-vici | 10-server cluster (1 primary DB, 1 primary web, 8 asterisk) in Colo DC | OpenSIPS on web as LB | 10x Dell R740XD
njr
 
Posts: 16
Joined: Fri Dec 08, 2023 1:41 pm

Re: Change Speed for call recording playback x3?

Postby atkins513 » Fri Mar 01, 2024 12:34 pm

Amazing. Worked perfectly! Thank you so much!

As an additional option to this solution, I created a bookmark using the following code as the "website". All I have to do is to click this book mark while after clicking play to immediately apply the speed.
Thanks again

javascript:document.querySelectorAll('audio').forEach(function(audio) { audio.playbackRate = 3;});
atkins513
 
Posts: 56
Joined: Fri Jul 03, 2020 12:31 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 139 guests