Package org.jivesoftware.smackx.packet.JingleContentDescription

Examples of org.jivesoftware.smackx.packet.JingleContentDescription.JinglePayloadType


        try {
            ptChannels = Integer.parseInt(parser.getAttributeValue("", "channels"));
        } catch (Exception e) {
        }

        return new JinglePayloadType(new PayloadType(ptId, ptName, ptChannels));
    }
View Full Code Here


        /**
         * Parse an audio payload type.
         */
        public JinglePayloadType parsePayload(final XmlPullParser parser)
                throws Exception {
            JinglePayloadType pte = super.parsePayload(parser);
            PayloadType.Audio pt = new PayloadType.Audio(pte.getPayloadType());
            int ptClockRate = 0;

            try {
                ptClockRate = Integer.parseInt(parser.getAttributeValue("", "clockrate"));
            } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.packet.JingleContentDescription.JinglePayloadType

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.