Examples of codecPrefString()


Examples of org.asteriskjava.iax.audio.javasound.AudioInterface.codecPrefString()

        int match = 0;
        Boolean will = null;
        AudioInterface a = _call.getAudioFace();
        //int can = a.supportedCodecs().intValue();
        String cause = "Congestion";
        String ourprefs = a.codecPrefString();
        byte[] theirprefs = _iep.codec_prefs;
        if (theirprefs == null) {
            // fake them using capability
            Log.debug("no codec IE");
            Integer cap = _iep.capability;
View Full Code Here

Examples of org.asteriskjava.iax.audio.javasound.AudioInterface.codecPrefString()

        ie.username = username;
        AudioInterface a = _call.getAudioFace();
        int format = a.supportedCodecs().intValue();
        ie.format = VoiceFrame.GSM_BIT;
        ie.version = Integer.valueOf(2);
        ie.codec_prefs = a.codecPrefString().getBytes();
        ie.capability = Integer.valueOf(format);
        //       ie.putIaxVar("foobar","724024");
        Log.debug("Sending initial NEW");
        sendMe(ie);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.