- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I got the following error running p2p 3.5.1 web sample on Chrome and firefox
Create LocalStream failed: {code:1100, msg: "NotFoundError"},
It sounds like that it could not find the camera device. But I am pretty sure I have a working PC camera, and I am able to play video from camera on the web page using the following codes.
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) { navigator.mediaDevices.getUserMedia({video: true}) .then(stream => { _video.srcObject = stream; _video.play(); }) }
Any idea what I am missing? Any help will be appreciated.
Thank you!
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eric
Please confirm you audio device can be found e.g microphone is works. In our sample code , audio is set as true, you can set audio:false if your audio device can not be found.
Woogeen.LocalStream.create({
........
audio : true
})
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yanbin,
Yes, that's exactly the problem. I do not have the audio device attached. I am able to play the video after the I set the audio to false.
This post can be closed.
Thank you for your help!
Eric

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page