Package com.volantis.map.sti.transcoder

Examples of com.volantis.map.sti.transcoder.Transcoder


        Result result = Result.SUCCESS;

        try {
            // Create new instance of transcoder in synchronized block, since
            // the TranscoderFactory is not guaranteed to be thread-safe.
            Transcoder transcoder;

            synchronized (mutex) {
                transcoder = transcoderFactory.createTranscoder();            }

            // Perform transcoding on local instance of transcoder,
            // thus in thread-safe way.
            transcoder.transcode(descriptor, request, response);

        } catch (TranscoderFactoryException e) {
            // thrown when the TranscoderFactory instantiation fails.
            LOGGER.error(e);
            result = Result.UNSUPPORTED;
View Full Code Here

TOP

Related Classes of com.volantis.map.sti.transcoder.Transcoder

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.