Webrtc screen sharing not working

2,113 views
Skip to first unread message

Amit Dhara

unread,
Sep 13, 2018, 11:35:09 PM9/13/18
to BigBlueButton-dev
We have created a chrome extension for webrtc screen sharing 

When we are trying to share screen, it is showing screen is being shared but other person is not able to see my screen. 

The BBB server is deployed into AWS

Here is the output for bbb-conf --check

BigBlueButton Server 2.0.0-beta (1261)
Kernel version: 4.4.0-1066-aws
                      Distribution: Ubuntu 16.04.4 LTS (64-bit)
                            Memory: 15657 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
  Port test (tunnel): rtmp://meet.example.com
                              red5: live.learnmet.com
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                         websocket: :7443
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: meet.example.com
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: meet.example.com

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: meet.example.com

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: meet.example.com

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento)
                        kurentoUrl: ws://zz.197.12x.xx:8888/kurento
                         kurentoIp: xx.100.2.yy
                    localIpAddress: xx.100.2.yy
               recordScreenSharing: true
                     recordWebcams: true



Where zz.197.12x.xx is public IP 
and xx.100.2.yy private IP
Presenter.PNG

Fred Dixon

unread,
Sep 14, 2018, 6:44:07 AM9/14/18
to BigBlueButton-dev
Hi Amit,

> BigBlueButton Server 2.0.0-beta (1261)

Your running a old version of BigBlueButton.  Recommend you update to the latest build.  You can try out the latest build on 


Regards,... Fred


  

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.


--
BigBlueButton Developer
@bigbluebutton

Amit Dhara

unread,
Sep 14, 2018, 10:00:18 AM9/14/18
to BigBlueButton-dev
Hi Fred,

I have upgraded to latest version. Now getting the following error after sharing the screen. The message is popping up after 10 to 20 sec of screen sharing. 

Error 1108: ICE connection failed when sharing screen

Thanks
Amit 

Paulo R. Lanzarin

unread,
Sep 14, 2018, 10:07:12 AM9/14/18
to bigblueb...@googlegroups.com
Since your server in on AWS, did you setup a STUN
server in Kurento? If not, do as described in http://docs.bigbluebutton.org/html/html5-install.html#2-install-html5-client
and let us know how it goes.

Amit Dhara

unread,
Sep 14, 2018, 10:47:25 AM9/14/18
to BigBlueButton-dev
Hi Paulo,

Our server is not behind NAT so I guess STUN is not needed ... right?
BBB server is in public subnet

Thanks
Amit 

Paulo R. Lanzarin

unread,
Sep 14, 2018, 10:54:17 AM9/14/18
to bigblueb...@googlegroups.com
You mentioned
and xx.100.2.yy private IP
If this is the local IP address for the server, you'll need to set up a STUN server.
AFAIK, AWS EC2 instances come behind NAT (with a provided public IP address mapping).
Those need STUN servers; not sure if it's you case, but try it nonetheless. It's easy
and I guess it'll probably solve your issue.

Amit Dhara

unread,
Sep 14, 2018, 11:26:33 AM9/14/18
to BigBlueButton-dev
Before we configure that, can you please give a sample how kurento Url and IP should look like in    /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml


Thanks
Amit 
Presenter.PNG

Amit Dhara

unread,
Sep 16, 2018, 4:00:46 AM9/16/18
to BigBlueButton-dev
Can anybody provide content of default.yml file (/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml) for aws ec2?

Paulo R. Lanzarin

unread,
Sep 16, 2018, 7:30:35 AM9/16/18
to bigblueb...@googlegroups.com
Your config seemed right on check. Packaging already provided adequate configuration for that environment. You shouldn't need to change that.

EC2 needs a STUN server. Please try to set it up.

On Sun, Sep 16, 2018, 05:00 Amit Dhara <amit....@gmail.com> wrote:
Can anybody provide content of default.yml file (/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml) for aws ec2?

Reply all
Reply to author
Forward
0 new messages