Giter VIP home page Giter VIP logo

Comments (9)

roman-yerin avatar roman-yerin commented on May 22, 2024

Confirmed at Chrome 34.0.1847.132 @ Linux (Fedora 19)

from sip.js.

roman-yerin avatar roman-yerin commented on May 22, 2024

And it seems, that's happening only with video calls

from sip.js.

wpp avatar wpp commented on May 22, 2024

Just a heads up: If you are trying to get a screen stream

navigator.webkitGetUserMedia({
    audio: false,
    video: {
      mandatory: {
        chromeMediaSource: 'desktop',
        chromeMediaSourceId: streamId,
        maxWidth: window.screen.width,
        maxHeight: window.screen.height
        //,   maxFrameRate: 3
      }
    }
  },

you need an SSL connection (otherwise you get {constraintName: "", message: "", name: "PermissionDeniedError"}).

from sip.js.

jwoertink avatar jwoertink commented on May 22, 2024

I'm getting this same error using Windows 7 and Chrome 37. Also using latest SIP.js build from master (as of this posting). I'm just running this locally, is there a way to ignore the SSL requirement?

EDIT: ok, so I figured out my scenario. Apparently at some point my media was set to block localhost from video. >_< Is there an event to listen to for this?

from sip.js.

josephfrazier avatar josephfrazier commented on May 22, 2024

is there a way to ignore the SSL requirement?

If you're testing screen/window capture locally, --allow-http-screen-capture might help.

Is there an event to listen to for this?

If getUserMedia fails, session.mediaHandler should propagate a 'userMediaFailed' event emitted by its MediaStreamManager.

from sip.js.

wakamoleguy avatar wakamoleguy commented on May 22, 2024

Have there been reports of this recently? Either way, I will leave this open, as we can do much better notifying the application when getUserMedia goes wrong in unexpected ways.

from sip.js.

jwoertink avatar jwoertink commented on May 22, 2024

I haven't had any more errors. Just gotta keep looking for the allow/deny dialog box.

from sip.js.

wpp avatar wpp commented on May 22, 2024

I noticed this a couple of times. But like @wakamoleguy suggested it only happens when the "JS Console is open". I think it happens more often when I set breakpoints in Chrome (perhaps be a timing issue). But thats as far as "reproducing" it goes.

from sip.js.

james-criscuolo avatar james-criscuolo commented on May 22, 2024

We haven't seen this in a while, but if anybody sees it again, feel free to re-open or open a new issue.

Thanks,
James

from sip.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.