Skip to content

Commit aaf4f5b

Browse files
committed
Log recording sample rate
1 parent f1b43ab commit aaf4f5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/angular-app/bellows/shared/audio-recorder/audio-recorder.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ export class AudioRecorderController implements angular.IController {
8888
//Stopping the media stream tracks releases the red recording indicator from browser tabs
8989
this.mediaRecorder.addEventListener("stop",
9090
() => {
91-
stream.getTracks().forEach(function(track) {
91+
stream.getTracks().forEach(function (track) {
92+
console.log('Sample rate', track.getSettings().sampleRate);
9293
track.stop();
9394
});
9495
}

0 commit comments

Comments
 (0)