diff --git a/src/com/wentch/redkale/net/icep/IcepServer.java b/src/com/wentch/redkale/net/icep/IcepServer.java index fb51e39e1..4b69fb0fc 100644 --- a/src/com/wentch/redkale/net/icep/IcepServer.java +++ b/src/com/wentch/redkale/net/icep/IcepServer.java @@ -7,10 +7,8 @@ package com.wentch.redkale.net.icep; import com.wentch.redkale.net.*; import com.wentch.redkale.util.*; -import com.wentch.redkale.util.AnyValue.DefaultAnyValue; import com.wentch.redkale.watch.*; import java.nio.*; -import java.util.concurrent.*; import java.util.concurrent.atomic.*; /** @@ -23,23 +21,6 @@ public final class IcepServer extends Server { this(System.currentTimeMillis(), null); } - /** - "content":"{\"cmd\":\"icecandidate\",\"candidate\":{\"candidate\":\"candidate:3791502225 1 tcp 1518214911 10.28.2.207 0 typ host tcptype active generation 0\",\"sdpMid\":\"video\",\"sdpMLineIndex\":1}}" - @param args - @throws Exception - */ - public static void main(String[] args) throws Exception { - DefaultAnyValue conf = new DefaultAnyValue(); - conf.addValue("host", "10.28.2.207"); - conf.addValue("port", "3478"); - final CountDownLatch cdl = new CountDownLatch(1); - final IcepServer server = new IcepServer(); - server.init(conf); - server.addIcepServlet(new BindingIcepServlet(), null); - server.start(); - cdl.await(); - } - public IcepServer(long serverStartTime, final WatchFactory watch) { super(serverStartTime, "UDP", new IcepPrepareServlet(), watch); }