← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1461600] Re: Refinements to media permissions API

 

** Changed in: oxide/1.8
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1461600

Title:
  Refinements to media permissions API

Status in Oxide Webview:
  Fix Released
Status in Oxide 1.8 series:
  Fix Released

Bug description:
  The current API allows setting the camera / microphone per permission
  request. This implies that we need to persist the choice of media
  devices when we have content settings.

  Whilst this is quite flexible, it will make it difficult to implement
  a simple settings UI in the browser to select the camera / microphone
  for websites to use (see Chrome's Preferences -> Content Settings ->
  Media).

  I'm proposing the following changes:

  - Remove OxideQMediaAccessPermissionRequest::allow(const QString&, const QString&)
  - Add WebContext.videoCaptureDeviceId and WebContext.audioCaptureDeviceId, or something like that

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1461600/+subscriptions


References