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

Screen share failure V2.8.1

donna_l_
Beginner
667 Views


My screen sharing step is as following:
1. make server.pfx
openssl genrsa -out server-key.pem 2048
openssl req -new -sha256 -key server-key.pem -out server-csr.pem
openssl x509 -req -in server-csr.pem -signkey server-key.pem -out server-cert.pem
openssl pkcs12 -export -in server-cert.pem -inkey server-key.pem -out server.pfx

2. modify etc/woogeen_config.js
config.erizoController.ssl = true; //default value: false
config.erizoController.keystorePath = '../../cert/server.pfx';

3. run bin/initcert.sh erizoController, and set password

4. vi /etc/hosts
127.0.0.1       www.test.com

5. modify windows file
add 192.168.8.222 www.test.com to C:\Windows\System32\drivers\etc\hosts

6. bin/start-all.sh  return ok

7. install chrome plug-in
modify manifest.json
   "externally_connectable": {
      "matches": ["*://*.test.com/*", "*://192.168.8.84/*", "*://192.168.8.222/*", "*://192.168.8.12/*"]
   },
  chrome://extensions/ -> upload extend program

8. chrome visit: https://www.test.com:3004/?screen=true

This appears to be Chrome
woogeen.sdk.js:8 INFO: stream in conference: 568c7d3c43ca4d8b01388f68
woogeen.sdk.js:8 INFO: subscribing: 568c7d3c43ca4d8b01388f68
woogeen.sdk.js:8 INFO: user in conference: Object {name: "user", role: "presenter", id: "qnhnCwaFnux4v1WjAAAA", permissions: Object}
woogeen.sdk.js:8 ERROR: share screen failed: Object {code: 1103, msg: "screen sharing plugin inaccessible"}
woogeen.sdk.js:8 INFO: subscribed: 568c7d3c43ca4d8b01388f68
woogeen.sdk.js:8 ERROR: share screen failed: Object {code: 1103, msg: "screen sharing plugin inaccessible"}

what is the problem?

0 Kudos
9 Replies
donna_l_
Beginner
667 Views

extension.png

0 Kudos
Chunbo_H_Intel1
Employee
667 Views

Have you published your extension to Chrome App Store?

0 Kudos
donna_l_
Beginner
667 Views

hi, CHUNBO H. 

     I do not publish to chrome app store. Can this plugin be used in develop mode? 

0 Kudos
donna_l_
Beginner
667 Views

hi, CHUNBO H:

    what does the following ip address mean?

    "externally_connectable": {
      "matches": ["*://*.test.com/*", "*://192.168.8.84/*", "*://192.168.8.222/*", "*://192.168.8.12/*"]
   },

0 Kudos
Chunbo_H_Intel1
Employee
667 Views

You have to publish your extension to the app store before using it for screen sharing.

The ip list you showed is actually the white list for you published extension.

Thanks!

0 Kudos
donna_l_
Beginner
667 Views

 

hi, CHUNBO H:

   I have publish the extension to Chrome APP Store, every thing is OK. then I visit https://xxxx:3004/?screen=true, the plug-in pop-up a dialog to choose the sharing content. After i choose a content to share, a black video appear, two chrome clients are same with each other, the log is as following:

This appears to be Chrome
woogeen.sdk.js:8 INFO: stream in conference: 56973a4aea4c246e09063e37
woogeen.sdk.js:8 INFO: subscribing: 56973a4aea4c246e09063e37
woogeen.sdk.js:8 INFO: user in conference: Object {name: "user", role: "presenter", id: "5P-vcaUlGukr3BQ0AAAB", permissions: Object}
woogeen.sdk.js:8 INFO: subscribed: 56973a4aea4c246e09063e37
woogeen.sdk.js:8 INFO: stream added: 5P-vcaUlGukr_SCREEN_
woogeen.sdk.js:8 INFO: subscribing: 5P-vcaUlGukr_SCREEN_
woogeen.sdk.js:8 INFO: user joined: Object {name: "user", role: "presenter", id: "iNo48_Jkjuo91vCvAAAC", permissions: Object}

0 Kudos
Chunbo_H_Intel1
Employee
667 Views

Hi Donna,

Are you using Chrome 47 to do the screen sharing?

If yes, please refer to the topic https://software.intel.com/en-us/forums/intel-collaboration-suite-for-webrtc/topic/604007.

This is a known issue of audio-only or video-only stream operations in v2.8.x.

Thanks!

0 Kudos
donna_l_
Beginner
667 Views

hi, CHUNBO H:

        thank you very much, the patch fix my problem.

0 Kudos
Chunbo_H_Intel1
Employee
667 Views

Great to hear that!

0 Kudos
Reply