Package com.xonami.javaBells

Examples of com.xonami.javaBells.JinglePacketHandler


          disco.addFeature("urn:xmpp:jingle:apps:rtp:video");
         
          // Handle all incoming Jingle packets with a Jingle Packet Handler.
          // The main thing we need to do is ensure that created Jingle sessions
          // are of our ReceiverJingleSession type.
          new JinglePacketHandler(connection) {
            @Override
            public JingleSession createJingleSession( String sid, JingleIQ jiq ) {
              return new ReceiverJingleSession(this, callerJid, sid, this.connection );
            }
          } ;
View Full Code Here


          iceAgent.createStreams(jsm.getMediaNames());
         
          // Handle all incoming Jingle packets with a Jingle Packet Handler.
          // The main thing we need to do is ensure that created Jingle sessions
          // are of our ReceiverJingleSession type.
          new JinglePacketHandler(connection) {
            @Override
            public JingleSession createJingleSession( String sid, JingleIQ jiq ) {
              return new CallerJingleSession(iceAgent, jsm, this, receiverJid, sid, this.connection);
            }
          } ;
View Full Code Here

TOP

Related Classes of com.xonami.javaBells.JinglePacketHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.