mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-01 01:35:59 +01:00
Media Streams Tunning - Speed Improved
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7563 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
3fd4df2a8f
commit
2324ac06a9
1 changed files with 6 additions and 7 deletions
|
@ -94,6 +94,12 @@ public class AudioChannel {
|
||||||
this.localPort = localPort;
|
this.localPort = localPort;
|
||||||
this.portBase = remotePort;
|
this.portBase = remotePort;
|
||||||
this.format = format;
|
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;
|
started = true;
|
||||||
String result;
|
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
|
// Create an RTP session to transmit the output of the
|
||||||
// processor to the specified IP address and port no.
|
// processor to the specified IP address and port no.
|
||||||
result = createTransmitter();
|
result = createTransmitter();
|
||||||
|
|
Loading…
Reference in a new issue