ice4j icon indicating copy to clipboard operation
ice4j copied to clipboard

ICE4j to support NIO sockets

Open iivalchev opened this issue 9 years ago • 5 comments

Currently ICE4j only supports plain blocking sockets, please correct me here if I am wrong. I would really love to see NIO support as well. I believe such support will bring certain performance benefits and more importantly would provide flexibility and choice when integrating ICE4j with other frameworks and libraries that are async in nature.

Any thoughts on this?

Many thanks!

iivalchev avatar Aug 10 '15 15:08 iivalchev

I'm not sure NIO or AIO would be of much benefit in ice4j since its mostly for communications set up and not media transfer, or have I misunderstood what ice4j actually provides?

mondain avatar Sep 10 '15 01:09 mondain

Hi mondain,

Not sure what you mean by communcations setup here. But what ICE4j gives you back essentially is Sockets (TCP, UDP) to send and recieve media or data.

Cheers.

iivalchev avatar Sep 26 '15 18:09 iivalchev

My post was in error, I was mistaken about the ice4j internals at that time. I suggest that you submit pull requests with code that enables NIO support.

mondain avatar Nov 02 '15 15:11 mondain

Greetings, @mondain @iivalchev

Is there any progress on implementing NIO channels support?

foxmk avatar May 07 '16 13:05 foxmk

@iivalchev I'm working on a fork which has been overhauled a lot and is NIO based utilizing Apache Mina. Feel free to check it out. Only UDP is 100% working at this time. https://github.com/red5/ice4j

mondain avatar Apr 18 '18 00:04 mondain