16 Replies Latest reply on May 9, 2014 2:58 AM by jigneshved

    No video of the second participant

    Artem Drach

      Hi,

       

      Installed the following plugins - picture 0
      The file config.js, useWebsokets parameter set false. Get a blank page - picture 1
      The file config.js, useWebsokets parameter is set true. Get a black screen at the second participant - picture 2
      At the same time the conference created two new members are not included in the list of users - picture 3

      What am I doing wrong?

        • Re: No video of the second participant
          Dele Olajide

          paste in you google chrome console log. It seems you are not connecting via websockets or you have disabled annonymous access to your openfire server

            • Re: No video of the second participant
              Dave

              We have the same issue.  I enabled anonymous access in Openfire, but no change.  Does Script Syntax in HTTP Bind settings need to be enabled?

               

              Chrome log:

               

              his appears to be Chrome main.js:287

              status 1 main.js:100

              status 3 main.js:100

              connected main.js:82

              doJoin test undefined main.js:484

              getConstraints ["audio", "video"] 360 undefined undefined main.js:347

              getUserMedia

              Object {audio: Object, video: Object}

              main.js:327

              onPresence

              [presence, context: presence, jquery: "2.0.3", constructor: function, init: function, selector: ""…]

              muc.js:38

              entered.muc test@conference.DOMAIN.COM/9peyp4oppewpcik9 Object {show: "", status: "", affiliation: "none", role: "participant"} main.js:147

              onPresence

              [presence, context: presence, jquery: "2.0.3", constructor: function, init: function, selector: ""…]

              muc.js:38

              onMessage

              [message, context: message, jquery: "2.0.3", constructor: function, init: function, selector: ""…]

              muc.js:110

              onUserMediaSuccess main.js:332

              mediaready.rayo main.js:177

              rayo colibri register set ok main.js:884

              rayoCallback

              <presence from="jitsi.videobridge.test@DOMAIN.COM/jitsi.videobridge.test" to="k8om0szaglvaq0k9@DOMAIN.COM/k8om0szaglvaq0k9">…</presence>

              main.js:530

              handleOffer

              <offer xmlns="urn:xmpp:rayo:colibri:1" muc="test@conference.DOMAIN.COM" videobridge="test" nickname="dkjwbe80mtwklnmi" participant="k8om0szaglvaq0k9@DOMAIN.COM/k8om0szaglvaq0k9">…</offer>

              main.js:644

              handleOffer track audio main.js:667

              handleOffer track video main.js:667

              event.returnValue is deprecated. Please use the standard event.preventDefault() instead. VM111:423

              onstream

              MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}

              false main.js:745

              sendAnswer main.js:764

              rayoCallback

              <presence from="jitsi.videobridge.test@DOMAIN.COM/jitsi.videobridge.test" to="k8om0szaglvaq0k9@DOMAIN.COM/k8om0szaglvaq0k9">…</presence>

              main.js:530

              handleSSRC input ssrc 

              <addsource xmlns="urn:xmpp:rayo:colibri:1" muc="test@conference.DOMAIN.COM" videobridge="test" nickname="dkjwbe80mtwklnmi" participant="k8om0szaglvaq0k9@DOMAIN.COM/k8om0szaglvaq0k9">…</addsource>

              main.js:596

              onstream

              MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}

              true main.js:745

              rayoCallback

              <presence from="jitsi.videobridge.test@DOMAIN.COM/jitsi.videobridge.test" to="k8om0szaglvaq0k9@DOMAIN.COM/k8om0szaglvaq0k9">…</presence>

              main.js:530

              rayo colibri answer set ok have-remote-offer main.js:852

              handleAddSSRC modify ok have-remote-offer main.js:634

               

              Thank you!  Very excited about this project!

                • Re: No video of the second participant
                  babyface

                  I have the same issue and done everything, and even if I enable the script syntax, it is the same ...

                   

                  I have these error messages in my openfire server logs (error.log) in /opt/openfire/logs :

                   

                  2014.02.12 18:09:04 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 1e20nqkbn326s9k9

                  2014.02.12 18:09:05 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.cujgagchilvdkj4i

                  2014.02.12 18:09:33 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP mq7ydr5mvu5trzfr

                  2014.02.12 18:09:33 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.sh1zk5f3v6zgp66r

                  2014.02.12 18:09:36 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 2sgwiff81l3anhfr

                  2014.02.12 18:15:34 org.jitsi.videobridge.openfire.PluginImpl - Videobrideg error

                   

                   

                  <iq type="error" id="expire-2pssi7oe80itqpvi-1392225334099" from="jitsi-videobridge.openfire.devagipi.local" to="jitsi.videobridge.sh1zk5f3v6zgp66r@openfire.devagipi.local/jitsi.videobridg e.sh1zk5f3v6zgp66r">

                    <error code="501" type="cancel">

                      <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

                    </error>

                  </iq>

                  2014.02.12 18:15:34 XMPPServlet - XMPPWebSocket deliver org.eclipse.jetty.io.EofException

                  2014.02.12 18:15:34 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 0g62koy3b5zsemi

                  2014.02.12 18:15:34 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.fw2jqkb3nved0a4i

                  2014.02.12 18:15:42 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 1542yv6eq99hpvi

                   

                   

                   

                  It seems that openfire try to look for user created with muc_room id i my LDAP server .....

                • Re: No video of the second participant
                  Artem Drach

                  Consol does not contain any obvious errors or warnings.

                  As in the post Dave.

                   

                  This appears to be Chrome main.js:287

                  status 1 main.js:100

                  status 3 main.js:100

                  connected main.js:82

                  doJoin video undefined main.js:484

                  getConstraints

                  Array[2]

                  360 undefined undefined main.js:347

                  getUserMedia

                  Object

                  1. main.js:327

                  onPresence

                  1. x.fn.x.init[1]
                  2. muc.js:38
                  3. entered.muc video@conference. /Артем

                  Object

                  1. main.js:147

                  onPresence

                  1. x.fn.x.init[1]
                  2. muc.js:38
                  3. entered.muc video@conference. /admin

                  Object

                  1. main.js:147

                  onPresence

                  1. x.fn.x.init[1]
                  2. muc.js:38
                  3. entered.muc video@conference. /katzjsc01d4e7b9

                  Object

                  1. main.js:147

                  onPresence

                  1. x.fn.x.init[1]
                  2. muc.js:38

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onMessage

                  1. x.fn.x.init[1]
                  2. muc.js:110

                  onUserMediaSuccess main.js:332

                  1. mediaready.rayo main.js:177

                  rayo colibri register set ok main.js:884

                  rayoCallback

                  1. 1.      <presence from="jitsi.videobridge.video@  /jitsi.videobridge.video" to="i0qmh2bdrhd26gvi@  /i0qmh2bdrhd26gvi"></presence>
                  2. main.js:530

                  handleOffer

                  1. 1.      <offer xmlns="urn:xmpp:rayo:colibri:1" muc="video@conference. " videobridge="video" nickname="0m4vfq18w00jxlxr" participant="i0qmh2bdrhd26gvi@ /i0qmh2bdrhd26gvi"></offer>
                  2. main.js:644

                  handleOffer track audio main.js:667

                  handleOffer track video main.js:667

                  onstream

                  MediaStreamEvent

                  false main.js:745

                  sendAnswer main.js:764

                  rayoCallback

                  1. <presence from="jitsi.videobridge.video@ /jitsi.videobridge.video" to="i0qmh2bdrhd26gvi@ /i0qmh2bdrhd26gvi"></presence>
                  2. main.js:530

                  handleSSRC input ssrc

                  1. <addsource xmlns="urn:xmpp:rayo:colibri:1" muc="video@conference. " videobridge="video" nickname="0m4vfq18w00jxlxr" participant="i0qmh2bdrhd26gvi@ /i0qmh2bdrhd26gvi"></addsource>
                  2. main.js:596

                  rayoCallback

                  1. <presence from="jitsi.videobridge.video@ /jitsi.videobridge.video" to="i0qmh2bdrhd26gvi@  /i0qmh2bdrhd26gvi"></presence>
                  2. main.js:530

                  rayo colibri answer set ok have-remote-offer main.js:852

                  onstream

                  MediaStreamEvent

                  true main.js:745

                  handleAddSSRC modify ok have-remote-offer

                    • Re: No video of the second participant
                      Dele Olajide

                      You scrubbed out your domain name. I hope you are not using an IP address. Looks ok to me. Try using another MUC conference room. If a room gets stuck, the only way to fix it is for everyone to leave and the plugin allocates a new bridge for the first room occupant. In other words, close all browser windows, instead of refreshing the chrome browser window.

                        • Re: No video of the second participant
                          Dele Olajide

                          Did some more think about this. Everything looks ok on the client and with Openfire. The problem could be with the Jitsi videobridge on server side. Look at the stderror log file Jitsi videobridge and confirm you do not have any SEVERE errors

                            • Re: No video of the second participant
                              Dave

                              Hi Dele,

                               

                              We are using a domain name for all config.js entries.  I have removed the MUC conference and reloaded chrome for both clients with the same outcome - black video for the other remote user.  Local video preview works fine.

                               

                              A few more details:

                               

                              • using Websockets plugin - configured websockets to true in config.js
                              • server is on a public IP address with a FQ domain name
                              • clients are accessing the server through a NAT
                              • Had the Jinglenodes plugin installed, but removed as part of the troubleshooting

                               

                              Is there a way to test the fuctionallity of jitsi videobridge plugin, speratly from ofmeet?

                               

                              Thanks very much for the assitance!  Excellent project!

                               

                              UPDATE: My appologies.  the errors in the log perviously in this post was due to JingleNodes plugin being re-enabled.  I removed it and did not see any new log entries while in an existing conference.  However, when I created a new conference and connected a second client to it I  recived these errors in the log

                               

                              Error Log:

                               

                              line
                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              2014.02.13 20:10:31 org.jitsi.videobridge.openfire.PluginImpl - Videobrideg error

                               

                              <iq type="error" id="expire-jnwb6sisq3l680k9-1392322231864" from="jitsi-videobridge.DOMAIN.COM" to="jitsi.videobridge.new@DOMAIN.COM/jitsi.videobridge.new">
                              <error code="501" type="cancel">
                              <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
                              </error>
                              </iq>

                               

                               

                              Chrome log for this session:

                               

                              This appears to be Chrome main.js:287

                              status 1 main.js:100

                              status 3 main.js:100

                              connected main.js:82

                              doJoin test123 undefined main.js:484

                              getConstraints

                              Array[2]

                              360 undefined undefined main.js:347

                              getUserMedia

                              Object

                              main.js:327

                              onPresence

                              1. x.fn.x.init[1]

                              muc.js:38

                              onMessage

                              1. x.fn.x.init[1]

                              muc.js:110

                              onMessage

                              1. x.fn.x.init[1]

                              muc.js:110

                              onUserMediaSuccess main.js:332

                              1. mediaready.rayo main.js:177

                              rayo colibri register set ok main.js:884

                              rayoCallback

                              <presence from="jitsi.videobridge.test123@DOMAIN.COM/jitsi.videobridge.test123" to="8u00pa6ctwvzpvi@DOMAIN.COM/8u00pa6ctwvzpvi"></presence>

                              main.js:530

                              handleOffer

                              <offer xmlns="urn:xmpp:rayo:colibri:1" muc="test123@conference.DOMAIN.COM" videobridge="test123" nickname="pquijro9rvmcmcxr" participant="8u00pa6ctwvzpvi@DOMAIN.COM/8u00pa6ctwvzpvi"></offer>

                              main.js:644

                              handleOffer track audio main.js:667

                              handleOffer track video main.js:667

                              onstream

                              MediaStreamEvent

                              false main.js:745

                              sendAnswer main.js:764

                              rayoCallback

                              <presence from="jitsi.videobridge.test123@DOMAIN.COM/jitsi.videobridge.test123" to="8u00pa6ctwvzpvi@DOMAIN.COM/8u00pa6ctwvzpvi"></presence>

                              main.js:530

                              rayo colibri answer set ok stable main.js:852

                              onPresence

                              1. x.fn.x.init[1]

                              muc.js:38

                              1. entered.muc test123@conference.DOMAIN.COM/qx1nulgrcd4h1tt9

                              Object

                              main.js:147

                              rayoCallback

                              <presence from="jitsi.videobridge.test123@DOMAIN.COM/jitsi.videobridge.test123" to="8u00pa6ctwvzpvi@DOMAIN.COM/8u00pa6ctwvzpvi"></presence>

                              main.js:530

                              rayoCallback

                              <presence from="jitsi.videobridge.test123@DOMAIN.COM/jitsi.videobridge.test123" to="8u00pa6ctwvzpvi@DOMAIN.COM/8u00pa6ctwvzpvi"></presence>

                              main.js:530

                              handleSSRC input ssrc

                              <addsource xmlns="urn:xmpp:rayo:colibri:1" muc="test123@conference.DOMAIN.COM" videobridge="test123" nickname="qx1nulgrcd4h1tt9" participant="a9bpz6e2pwopqfr@DOMAIN.COM/a9bpz6e2pwopqfr"></addsource>

                              main.js:596

                              onstream

                              MediaStreamEvent

                              true main.js:745

                              handleAddSSRC modify ok have-remote-offer main.js:634

                              hover in blob:https%3A//DOMAIN.COM%3A7443/712db53c-cd0f-4388-9ac8-d47dbc740bef main.js:233

                            • Re: No video of the second participant
                              Artem Drach

                              What will happen if I use the test IP address?

                              but

                              I ordered all the matching IP address and fictitious domain on the test computers.

                              Participants come to the conference for the domain name.

                          • Re: No video of the second participant
                            jigneshved

                            I have a similar problem. My videos window shows his video he is not able to view second person video. Below is the content of my config.js file

                             

                            var config = {

                                hosts: {

                                    domain: 'dell-pc.vievaint.com',

                                    muc: 'conference.dell-pc.vievaint.com', // FIXME: use XEP-0030

                                    bridge: 'jitsi-videobridge.dell-pc.vievaint.com'// FIXME: use XEP-0030

                                },

                                useIPv6: false, // ipv6 support. use at your own risk

                                useNicks: false,

                                useWebsockets: true,

                                resolution: "360",

                                bosh: window.location.protocol + "//" + window.location.host + '/http-bind/' // FIXME: use xep-0156 for that

                                      //bosh: 'https://dell-pc.vievaint.com:7443/http-bind/', // FIXME: use xep-0156 for that

                            };

                             

                            Below  is content of my Chrome log

                            This appears to be Chrome main.js:303

                            status 1 main.js:109

                            status 3 main.js:109

                            connected main.js:91

                            SEND: <presence xmlns='jabber:client'/> main.js:83

                            doJoin 0p32ygtbqf72e29A suryakant main.js:506

                            SEND: <presence to='0p32ygtbqf72e29A@conference.dell-pc.vievaint.com/suryakant(zntr8)' xmlns='jabber:client'><x xmlns='http://jabber.org/protocol/muc'/></presence> main.js:83

                            getConstraints ["audio", "video"] 360 undefined undefined main.js:363

                            getUserMedia

                            Object {audio: Object, video: Object}

                            main.js:343

                            onUserMediaSuccess main.js:348

                            mediaready.rayo main.js:186

                            SEND: <iq to='dell-pc.vievaint.com' type='set' xmlns='jabber:client' id='5729:sendIQ'><colibri xmlns='urn:xmpp:rayo:colibri:1' action='offer' muc='0p32ygtbqf72e29A@conference.dell-pc.vievaint.com'/></iq> main.js:83

                            RECV: <iq type="error" id="5729:sendIQ" from="dell-pc.vievaint.com" to="2ia3fho9d8mjwcdi@dell-pc/2ia3fho9d8mjwcdi"><colibri xmlns="urn:xmpp:rayo:colibri:1" action="offer" muc="0p32ygtbqf72e29A@conference.dell-pc.vievaint.com"></colibri><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> main.js:82

                            rayo colibri register got error

                            <iq type=?"error" id=?"5729:?sendIQ" from=?"dell-pc.vievaint.com" to=?"2ia3fho9d8mjwcdi@dell-pc/?2ia3fho9d8mjwcdi">?…?</iq>?

                            main.js:914

                            rayoCallback

                            <iq type=?"error" id=?"5729:?sendIQ" from=?"dell-pc.vievaint.com" to=?"2ia3fho9d8mjwcdi@dell-pc/?2ia3fho9d8mjwcdi">?…?</iq>?

                            main.js:553

                             

                             

                             

                            The stdout.log file shows 0 bytes. There is not stderr.log file generate.The openfire is installed on windows 7 machine.

                              • Re: No video of the second participant
                                Dele Olajide

                                Are you sure dell-pc.vievaint.com is the domain name you used during openfire setup?

                                  • Re: No video of the second participant
                                    jigneshved

                                    Thanks Dele,

                                    I managed to make this work on my intranet. However when I host this on my internet facing server and access it from a remote desktop, I do not see the video. It prompts for authentication, I enter the userid and pass word. Post this, it opens the video chat page but no video is visible. Even the chat window does not show any messages

                                    When I debug it in browser chrome, below is the log that I get

                                    This appears to be Chrome main.js:367status 1 main.js:138SEND:  main.js:111status 6 main.js:138

                                    The openfire version is 3.9.3 on Windows 64 bit

                                    Date: Wed, 23 Apr 2014 14:39:51 -0700

                                    From: communityadmin@igniterealtime.org

                                    To: jigneshved@hotmail.com

                                    Subject: - No video of the second participant

                                                                                                                    Ignite Realtime

                                                                             

                                     

                                                                        

                                                                        

                                                                             

                                        No video of the second participant

                                     

                                     

                                        created by Dele Olajide in Jitsi VideoBridge Plugin - View the full discussion

                                     

                                     

                                     

                                    Are you sure dell-pc.vievaint.com is the domain name you used during openfire setup?

                                     

                                     

                                     

                                        Reply to this message by going to Ignite Realtime

                                         Start a new discussion in Jitsi VideoBridge Plugin at Ignite Realtime