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();