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);
|
errorCodeAttribute.setReasonPhrase(msgFixture.REASON_PHRASE);
|
||||||
|
|
||||||
char actualReturn = errorCodeAttribute.getDataLength();
|
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",
|
new TransportAddress("ipv6.sip-communicator.net",
|
||||||
3478, Transport.UDP));
|
3478, Transport.UDP));
|
||||||
|
|
||||||
//agent.addCandidateHarvester(stunHarv);
|
agent.addCandidateHarvester(stunHarv);
|
||||||
//agent.addCandidateHarvester(stun6Harv);
|
agent.addCandidateHarvester(stun6Harv);
|
||||||
|
|
||||||
createStream(rtpPort, "audio", agent);
|
createStream(rtpPort, "audio", agent);
|
||||||
//createStream(rtpPort + 2, "video", agent);
|
//createStream(rtpPort + 2, "video", agent);
|
||||||
@ -287,8 +287,8 @@ public class Ice
|
|||||||
+ (endTime - startTime) +" ms");
|
+ (endTime - startTime) +" ms");
|
||||||
startTime = endTime;
|
startTime = endTime;
|
||||||
//rtcpComp
|
//rtcpComp
|
||||||
agent.createComponent(
|
//agent.createComponent(
|
||||||
stream, Transport.UDP, rtpPort + 1, rtpPort + 1, rtpPort + 101);
|
// stream, Transport.UDP, rtpPort + 1, rtpPort + 1, rtpPort + 101);
|
||||||
|
|
||||||
endTime = System.currentTimeMillis();
|
endTime = System.currentTimeMillis();
|
||||||
System.out.println("RTCP Component created in "
|
System.out.println("RTCP Component created in "
|
||||||
|
|||||||
@ -41,7 +41,7 @@ public class IceDistributed
|
|||||||
localAgent.addStateChangeListener(new IceProcessingListener());
|
localAgent.addStateChangeListener(new IceProcessingListener());
|
||||||
|
|
||||||
//let them fight ... fights forge character.
|
//let them fight ... fights forge character.
|
||||||
localAgent.setControlling(true);
|
localAgent.setControlling(false);
|
||||||
String localSDP = SdpUtils.createSDPDescription(localAgent);
|
String localSDP = SdpUtils.createSDPDescription(localAgent);
|
||||||
|
|
||||||
System.out.println("=================== feed the following"
|
System.out.println("=================== feed the following"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user