Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

3.1android Switch Camera failed

Somnus_Chen
Beginner
534 Views

Hello,

   With android SDK 3.1.1,Neither p2p nor conference can't switch camera.

  "Failed to switch camera.Another stream is using the same videocaptrue,switch video capture failed."

  By the way,does 3.2 give up supportting unsecure http visit?There are some errors by visiting http://xxxx:3001.

  Thanks.

0 Kudos
1 Solution
Lei_Z_Intel1
Employee
534 Views

1. We always have the limitation on switchCamera, that only one stream can be existed in context. Next release we will expose the video capture interface and the switch camera will be attached the capture. All stream derived from this video capture will be affected if switch camera action is operated.

2. Actually v3.2 stopped supporting IE browser as we posted in the forum, next version will start to support Edge browser instead.

View solution in original post

0 Kudos
3 Replies
Lei_Z_Intel1
Employee
534 Views

1.     Cannot switch capture when multiple streams are created, in Android all the streams will use the same capture video source, please close other streams first.

2.     Android 3.2 does support both secure and unsecure connections, the conference sample uses unsecure way to 3001. But the portal service of MCU server enables ssl by default, you need to set its ssl flag to false if you don't want to use SSL.

0 Kudos
Somnus_Chen
Beginner
534 Views

 

1.Before 3.1, I can use "localStrea.switchCamera()"  through the whole chat, and it just seems to confirm to the usual practice of video chat. 

2. Errors by visiting http://xxxx:3001:

   IE: 

      SCRIPT438: 对象不支持“getUserMedia”属性或方法 
woogeen.sdk.js, 行8 字符20080

   Chrome 46:

      getUserMedia() is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
woogeen.sdk.js:8 Uncaught TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': Malformed constraints object.   

   Chrome 53:

      getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
woogeen.sdk.js:8 ERROR: create LocalStream failed: Object {code: 1101, msg: "PERMISSION_DENIED"}

 

0 Kudos
Lei_Z_Intel1
Employee
535 Views

1. We always have the limitation on switchCamera, that only one stream can be existed in context. Next release we will expose the video capture interface and the switch camera will be attached the capture. All stream derived from this video capture will be affected if switch camera action is operated.

2. Actually v3.2 stopped supporting IE browser as we posted in the forum, next version will start to support Edge browser instead.

0 Kudos
Reply