3 Replies Latest reply on Jan 23, 2014 12:50 PM by Dele Olajide

    How to setup iptables for videobridge?

    jikey

      I install openfire with videobridge plugins in a net with firewall.

      No video no audio ,only chat can send and rece

       

      How to setup iptables in videobridge  that make sure webapp can work?      except 5222 5223 7070 7443.

      What other ports been used in videobridge?

        • Re: How to setup iptables in videobridge?
          Dele Olajide

          Go to openfire settings to change the UDP ports. It uses by default 50000 to 60000

            • Re: How to setup iptables in videobridge?
              jikey

              I setup iptables for udp port 50000-60000.but  webapp still can not work.

              In console.log ,I find port 5324 5325 64691    64692  been used.

              where I can edit these ports? how to setup iptables for them?

               

               

              my console.log

               

              This appears to be Chrome main.js:121

               

              status 1 app.js:111

              status 3 app.js:111

              connected app.js:103

              getConstraints ["audio", "video"] 720 undefined undefined main.js:181

              getUserMedia

              Object {audio: Object, video: Object}

               

              main.js:161

              rayo colibri register set ok main.js:66

              onUserMediaSuccess main.js:166

              mediaready.rayo main.js:22

              doJoin helloworld main.js:308

              onJoinComplete helloworld@conference.ucp.ucas.ac.cn/32ca5ee1 Object {show: "", status: "", affiliation: "owner", role: "moderator"} app.js:6

              rayoCallback
              1. <presence xmlns="jabber:client" from="jitsi.videobridge.helloworld@ucp.ucas.ac.cn/jitsi.videobridge.helloworld" to="32ca5ee1@ucp.ucas.ac.cn/32ca5ee1"></presence>
              main.js:334handleOffer
              1. <offer xmlns="urn:xmpp:rayo:colibri:1" muc="helloworld@conference.ucp.ucas.ac.cn" videobridge="helloworld" nickname="32ca5ee1" participant="32ca5ee1@ucp.ucas.ac.cn/32ca5ee1">
                1. <conference xmlns="http://jitsi.org/protocol/colibri" id="25192f0fb1a28d87">
                  1. <content name="audio">
                    1. <channel direction="recvonly" expire="15" id="ea0862f93e635105" initiator="true" rtp-level-relay-type="mixer">
                      1. <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="4123997703"></source>
                      2. <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" pwd="317jot5cqlo2sr6dekp8iar145" ufrag="9o0g1">
                        1. <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-1">09:5C:11:C7:1A:40:39:ED:EF:3E:9F:53:45:8F:DE:51:F1:33:E5:C2</fingerprint>
                        2. <candidate component="1" foundation="1" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae03e67f4e2" network="0" priority="2130706431" protocol="udp" type="host" ip="fe80:0:0:0:210:18ff:fee9:2040" port="5324"></candidate>
                        3. <candidate component="1" foundation="2" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae01afe4170" network="0" priority="2130706431" protocol="udp" type="host" ip="2001:cc0:2020:1008:210:18ff:fee9:2040" port="5324"></candidate>
                        4. <candidate component="1" foundation="3" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae02a7a2de8" network="0" priority="2113932031" protocol="udp" type="host" ip="210.76.211.8" port="5324"></candidate>
                        5. <candidate component="2" foundation="1" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae03b5bf021" network="0" priority="2130706430" protocol="udp" type="host" ip="fe80:0:0:0:210:18ff:fee9:2040" port="5325"></candidate>
                        6. <candidate component="2" foundation="2" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae010f224f9" network="0" priority="2130706430" protocol="udp" type="host" ip="2001:cc0:2020:1008:210:18ff:fee9:2040" port="5325"></candidate>
                        7. <candidate component="2" foundation="3" generation="0" id="25192f0fb1a28d87b754182ea0862f93e6351053f1fc3ae09596020" network="0" priority="2113932030" protocol="udp" type="host" ip="210.76.211.8" port="5325"></candidate>
                        8. </transport>
                      3. </channel>
                    2. </content>
                  2. <content name="video">
                    1. <channel expire="15" id="f6335f7ef6db69ec" initiator="true" rtp-level-relay-type="translator"></channel>
                    2. </content>
                  3. </conference>
                2. </offer>
              main.js:446
              handleOffer track audio main.js:471handleOffer track video main.js:471event.returnValue is deprecated. Please use the standard event.preventDefault() instead. VM37:988onstream

               

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

               

              false main.js:549
              sendAnswer main.js:568rayo colibri answer set ok stable main.js:656entered helloworld@conference.ucp.ucas.ac.cn/f706dca0 Object {show: "", status: "", affiliation: "none", role: "participant"} app.js:10rayoCallback
              1. <presence xmlns="jabber:client" from="jitsi.videobridge.helloworld@ucp.ucas.ac.cn/jitsi.videobridge.helloworld" to="32ca5ee1@ucp.ucas.ac.cn/32ca5ee1"></presence>
              main.js:334
              removeSSRC input ssrc 
              1. <removesource xmlns="urn:xmpp:rayo:colibri:1" muc="helloworld@conference.ucp.ucas.ac.cn" videobridge="helloworld" nickname="32ca5ee1" participant="32ca5ee1@ucp.ucas.ac.cn/32ca5ee1" active="false">
                1. <conference xmlns="http://jitsi.org/protocol/colibri" id="25192f0fb1a28d87">
                  1. <content name="audio">
                    1. <channel id="ea0862f93e635105">
                      1. <source xmlns="urn:xmpp:jingle:apps:rtp:ssma:0" ssrc="2722838570"></source>
                      2. <payload-type id="111" name="opus" clockrate="48000" channels="2"></payload-type>
                      3. <payload-type id="0" name="PCMU" clockrate="8000" channels="1"></payload-type>
                      4. <payload-type id="126" name="telephone-event" clockrate="8000" channels="1"></payload-type>
                      5. <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" ufrag="neKhVxBQ+uoSKQS7" pwd="KOQrnohh9MVQfnh1XcxPAgcX">
                        1. <fingerprint xmlns="urn:xmpp:jingle:apps:dtls:0" hash="sha-256" setup="active"></fingerprint>
                        2. <candidate foundation="2305435327" component="1" protocol="udp" priority="2113937151" ip="210.76.196.185" port="64691" type="host" generation="0" network="1" id="w7jvutzbzo"></candidate>
                        3. <candidate foundation="2305435327" component="2" protocol="udp" priority="2113937150" ip="210.76.196.185" port="64692" type="host" generation="0" network="1" id="zqgbprt0lm"></candidate>
                        4. <candidate foundation="3353991759" component="1" protocol="tcp" priority="1509957375" ip="210.76.196.185" port="0" type="host" generation="0" network="1" id="uns4aoao1b"></candidate>
                        5. <candidate foundation="3353991759" component="2" protocol="tcp" priority="1509957374" ip="210.76.196.185" port="0" type="host" generation="0" network="1" id="lbf8kxr2zb"></candidate>
                        6. </transport>
                      6. </channel>
                    2. </content>
                  2. <content name="video"></content>
                  3. </conference>
                2. </removesource>
              main.js:360

              removeSSRC unmodified SDP helloworld main.js:365

              modify ok main.js:391