Various bug fixes
This commit is contained in:
parent
e63a42e8f1
commit
b954328af7
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -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 "
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user