Skip to content

navigator.mediaDevices is undefined #24

@0ctopirate

Description

@0ctopirate

Describe the bug
navigator.mediaDevices is undefined when running neutralinojs on macOS: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)

To Reproduce
Steps to reproduce the behavior:

  1. Run a neutralino with an html that prints navigator.mediaDevices. On the browser, (in my case Safari) this returns the mediaDevices object. In neutralino, it is undefined

Specifications

  • OS: macOS Monterey 12.3.1
  • Neutralinojs version: v4.5.0
  • Neutralinojs client library version: v3.4.0
  • Neutralinojs CLI version: v9.3.0

Additional context
I think this may be a permissions problem. I don't have access to testing on windows but I would believe it may not happen there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions