Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1135 Discussions

Create LocalStream Failed on running p2p 3.5.1 sample

Chen__Eric
Beginner
195 Views

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!

0 Kudos
2 Replies
YanbinZ_Intel
Employee
195 Views

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

})

 

Chen__Eric
Beginner
195 Views

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

 

Reply