From 2324ac06a95812dd9d00065bc413b8b4345998f9 Mon Sep 17 00:00:00 2001 From: Thiago Camargo Date: Thu, 15 Mar 2007 22:10:36 +0000 Subject: [PATCH] Media Streams Tunning - Speed Improved git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7563 b35dd754-fafc-0310-a699-88a17e54d16e --- .../smackx/jingle/mediaimpl/jmf/AudioChannel.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/jingle/extension/source/org/jivesoftware/smackx/jingle/mediaimpl/jmf/AudioChannel.java b/jingle/extension/source/org/jivesoftware/smackx/jingle/mediaimpl/jmf/AudioChannel.java index 96b03d4a1..c73347645 100644 --- a/jingle/extension/source/org/jivesoftware/smackx/jingle/mediaimpl/jmf/AudioChannel.java +++ b/jingle/extension/source/org/jivesoftware/smackx/jingle/mediaimpl/jmf/AudioChannel.java @@ -94,6 +94,12 @@ public class AudioChannel { this.localPort = localPort; this.portBase = remotePort; this.format = format; + + // Create a processor for the specified jmf locator + String result = createProcessor(); + if (result != null) { + started = false; + } } /** @@ -108,13 +114,6 @@ public class AudioChannel { started = true; String result; - // Create a processor for the specified jmf locator - result = createProcessor(); - if (result != null) { - started = false; - return result; - } - // Create an RTP session to transmit the output of the // processor to the specified IP address and port no. result = createTransmitter();