Hongmu Notes

Microphone HTTPS access

Ordinary HTTP pages cannot access the microphone. This is a rigid rule of the browser.
100% Browser local processing 0 Data upload

🎙️ Detection settings

Unauthorizedinput device
0current level
0peak
Waiting to beginStatus

💡 Instructions for use

  • The level is displayed in percentage, 0 is mute, 100 is close to clipping; normal speaking is between 30-70.
  • The peak value will be retained as the maximum value within a period of time, making it easy to determine whether there are occasional popping sounds.
  • This tool does not record, save or upload, it only performs real-time level analysis.
  • An HTTPS or local address is required to request microphone permissions.

Ordinary HTTP pages cannot access the microphone. This is a rigid rule of the browser.

Why limit

Microphone is a sensitive permission, and the browser only allows calling it in the security context.

HTTPS with local loopback addresses are considered secure, plain HTTP is not.

Error reporting performance

Calls on the HTTP page will be directly rejected, usually no authorization window will pop up, and the console will give a prompt.

It may also appear that the button is unresponsive or that the current environment does not support it.

local debugging

When developing locally, access using localhost or 127.0.0.1 will suffice.

Access using LAN IP is still an insecure context and will fail.

Intranet deployment

You also cannot get the microphone when accessing via IP within the intranet. You need to use a domain name instead and configure a certificate.

Self-signed certificates need to be trusted by the browser, otherwise they may still be judged as unsafe.

Online check

Verify that the address bar displays a lock icon and that the page does not have mixed-load HTTP resources.

Mixed content will be blocked, which may also affect permission calls.

Relationship with permissions

Meeting HTTPS is only a prerequisite, and explicit authorization from the user is still required.

Only when both pass, the page can get the audio stream.

Use localhost or HTTPS to access; the intranet IP is an insecure context and you will not be able to get the microphone directly.

📖 Glossary

RMS
The effective value of the audio signal can better reflect the subjective loudness.
peak
Maximum instantaneous level over a period of time.
Cut off the top
Signals exceeding the upper limit are truncated and distorted.
acoustic feedback
A loop in which the speaker sound is picked up again by the microphone.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Can you record??
No, only real-time level analysis.
Why no response?
Permission denied or device occupied.
What to do when howling?
Wear headphones or turn down the volume.
Can I choose equipment??
The browser will automatically select the default device.
Can mobile phone be used??
Yes, requires HTTPS.
Will the data be uploaded??
No.