Skip to content

npm start :compiled with warnings #27

Open

Description

@sunnyzhong812

OS Ubuntu 18.04

err1
err2

Activity

  1. filahf commented on Oct 21, 2020

    @filahf

    Nevermind the warnings in the terminal. Those functions can be used as props for ObjectDetectionVideo and therefore replacing the original render function.

    What errors are you receiving in your web console?

  2. sunnyzhong812 commented on Oct 22, 2020

    @sunnyzhong812
    Author

    On localhost and else PC's web console is different, and what causes a blank screen?

    err3

    err4

  3. bourdakos1 commented on Oct 22, 2020

    @bourdakos1
    Member

    Googling the error message, seems to be a permissions issue maybe? Does your device have a webcam?

  4. bourdakos1 commented on Oct 22, 2020

    @bourdakos1
    Member

    This site seems to have some useful info on debugging the issue: https://blog.addpipe.com/common-getusermedia-errors/

  5. sunnyzhong812 commented on Oct 22, 2020

    @sunnyzhong812
    Author

    Googling the error message, seems to be a permissions issue maybe? Does your device have a webcam?

    Okay, I connect my webcam and allow .
    It's blank screen, too.

    err5

  6. bourdakos1 commented on Oct 22, 2020

    @bourdakos1
    Member

    Hmm no more webcam issue, not sure where to go from here...

  7. filahf commented on Oct 22, 2020

    @filahf

    I would recommend to make sure that Firefox is up to date and that your vm is set up correctly.

    A work around is to install ngrok and tunnel the dev server to a https endpoint. https is required for enabling camera permissions on the web, that's why it wont work on the host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions