We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Acquire Microphone restriction from Multiple tabs

  • 3 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 WestEnd

more options

I have given allow permission for Microphone in my domain. We are using our domain in multiple tabs. I am able to acquire local media (Microphone) when I am accessing in the same tab. But I am not able to acquire local media for WebRTC in the other tab(same domain) without visiting the tab in which I was trying to acquire.

Is it intentionally done for Security & Privacy? . Is there any way to solve my problem ?

Reason: To restrict resources being used for WebRTC session. We are keeping WebRTC session in single tab for our domain and using only that resource for all the tabs to make calls.

Thanks in advance. Matt

I have given allow permission for Microphone in my domain. We are using our domain in multiple tabs. I am able to acquire local media (Microphone) when I am accessing in the same tab. But I am not able to acquire local media for WebRTC in the other tab(same domain) without visiting the tab in which I was trying to acquire. Is it intentionally done for Security & Privacy? . Is there any way to solve my problem ? Reason: To restrict resources being used for WebRTC session. We are keeping WebRTC session in single tab for our domain and using only that resource for all the tabs to make calls. Thanks in advance. Matt

所有回覆 (3)

more options

Microphone control and privileges come from the O/S settings. So unless the admin sets this option limited account users can't change this.

more options

Thanks for your response WestEnd. I guess you have wrongly understood my question.

We are trying to acquire microphone through javascript code using https://sipjs.com/download/sip-0.11.6.js for WebRTC calls.

(environment.navigator.mediaDevices.getUserMedia.bind)

Could you please look into the acquire function in above SDK and issue occurring in Firefox browser only (version (66.0.2).

In Chrome I am able to acquire local media from other tab through above SDK without visiting acquired local media tab.

Matt

more options

AFAIK from my experience using Windows 10 if you turn off microphone any other program that attempts to use it will be refused control of it. That to me would indicate every computer itself if using Window 10 must have that enabled from the Admin side for other software to use it for their actions. I know this from experience with my nephew using the headset and only noticing when enabling the Mic did he get the chat to work. So unless it is already turn on from the Admin site I doubt trying to the mic to work will not work as the O/S will block the user from using it.