When ever a web page uses the camera it only has access to the selfie cam

  • bleistift2@feddit.de
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    10 months ago

    The website developer can configure which camera to use. Instead of

    
    

    it is

    
    

    This doesn’t help you, but it’s cool for a web dev.

    • rbn@feddit.ch
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Does it work to change that on-the-fly by manipulating the HTML source via the browser’s inbuilt dev tools?

      • bleistift2@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        10 months ago

        It should, but I’m not going to test it because debugging for a smartphone is annoying as fuck.

    • Possibly linux@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Actually it doesn’t even help the dev as it is a qr code scanner that polls the camera continuously

      • jmcs@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        Even in that case the developer can get the list of all MediaDevices and switch between them. That’s how videocall web apps allow you to change cameras both on desktop and mobile.