Various bug fixes

This commit is contained in:
emcho 2010-05-18 10:03:20 +00:00
parent e63a42e8f1
commit b954328af7
3 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ public class ErrorCodeAttributeTest extends TestCase {
errorCodeAttribute.setReasonPhrase(msgFixture.REASON_PHRASE);
char actualReturn = errorCodeAttribute.getDataLength();
assertEquals("data length1", (int)expectedReturn, (int)actualReturn);
assertEquals("data length1", expectedReturn, actualReturn);
}
/**

View File

@ -243,8 +243,8 @@ public class Ice
new TransportAddress("ipv6.sip-communicator.net",
3478, Transport.UDP));
//agent.addCandidateHarvester(stunHarv);
//agent.addCandidateHarvester(stun6Harv);
agent.addCandidateHarvester(stunHarv);
agent.addCandidateHarvester(stun6Harv);
createStream(rtpPort, "audio", agent);
//createStream(rtpPort + 2, "video", agent);
@ -287,8 +287,8 @@ public class Ice
+ (endTime - startTime) +" ms");
startTime = endTime;
//rtcpComp
agent.createComponent(
stream, Transport.UDP, rtpPort + 1, rtpPort + 1, rtpPort + 101);
//agent.createComponent(
// stream, Transport.UDP, rtpPort + 1, rtpPort + 1, rtpPort + 101);
endTime = System.currentTimeMillis();
System.out.println("RTCP Component created in "

View File

@ -41,7 +41,7 @@ public class IceDistributed
localAgent.addStateChangeListener(new IceProcessingListener());
//let them fight ... fights forge character.
localAgent.setControlling(true);
localAgent.setControlling(false);
String localSDP = SdpUtils.createSDPDescription(localAgent);
System.out.println("=================== feed the following"