speaker-calibration 2.2.229 → 2.2.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/example/i18n.js +1399 -1412
- package/dist/listener.js +2 -2
- package/dist/phonePeer.js +3 -3
- package/package.json +1 -1
- package/src/listener-app/PhonePeer.js +4 -0
- package/src/peer-connection/listener.js +1 -2
package/package.json
CHANGED
|
@@ -421,11 +421,14 @@ export class PhonePeer {
|
|
|
421
421
|
const display = document.getElementById('display');
|
|
422
422
|
if (display) {
|
|
423
423
|
display.style.textAlign = 'left';
|
|
424
|
+
display.style.fontSize = '11px';
|
|
424
425
|
}
|
|
425
426
|
|
|
426
427
|
// set the text of the html elements
|
|
427
428
|
recordingInProgressElement.innerText = recordingInProgress;
|
|
428
429
|
allowMicrophoneElement.innerText = allowMicrophone;
|
|
430
|
+
allowMicrophoneElement.style.marginBottom = '0.5rem';
|
|
431
|
+
allowMicrophoneElement.style.fontSize = '17px';
|
|
429
432
|
|
|
430
433
|
recordingInProgressElement.style.whiteSpace = 'nowrap';
|
|
431
434
|
recordingInProgressElement.style.fontWeight = 'bold';
|
|
@@ -444,6 +447,7 @@ export class PhonePeer {
|
|
|
444
447
|
message.style.lineHeight = '2.5rem';
|
|
445
448
|
const p = document.createElement('p');
|
|
446
449
|
p.innerText = backToExperimentWindow;
|
|
450
|
+
p.style.fontSize = '17px';
|
|
447
451
|
message.appendChild(p);
|
|
448
452
|
|
|
449
453
|
await this.listener.startCalibration();
|
|
@@ -85,7 +85,6 @@ class Listener extends AudioPeer {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
sendPermissionStatus = status => {
|
|
88
|
-
// this.displayUpdate('Listener - sendPermissionStatus');
|
|
89
88
|
this.connectionManager.send({
|
|
90
89
|
name: 'SoundCalibration',
|
|
91
90
|
payload: {
|
|
@@ -230,7 +229,7 @@ class Listener extends AudioPeer {
|
|
|
230
229
|
};
|
|
231
230
|
|
|
232
231
|
openAudioStream = async () => {
|
|
233
|
-
this.displayUpdate('Listener - openAudioStream');
|
|
232
|
+
this.displayUpdate('Listener - openAudioStream', false);
|
|
234
233
|
const mobileOS = this.getMobileOS();
|
|
235
234
|
if (process.env.NODE_ENV !== 'development' && mobileOS !== 'iOS') {
|
|
236
235
|
const err = new UnsupportedDeviceError(`${mobileOS} is not supported`);
|