donglian5309 2015-02-11 10:09
浏览 78
已采纳

如何允许通过Chrome上的Web应用程序自动连接麦克风而不显示消息

I have recently been developing twilio web application. My application can receive calls. This feature is OK. But When answer button is clicked, message pops up "localhost want to use microphone". I want to avoid this message. I want to answer call once when answer button is clicked without any messages. Is it possible? if possible how can I do it?

  • 写回答

2条回答 默认 最新

  • douxuqiao6394 2015-02-11 10:36
    关注

    For security reasons, the browser won't allow using microphone without asking the user. Chrome can be only set to ask for permission or always deny.

    You can set an exception for these rules, but it will only affect your own browser. Other users will still have to allow microphone access when they open your site.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 关于#python#的问题:自动化测试