简体   繁体   中英

The fastest way to stream audio with java server



I want to develop a audio streaming server in java with human voice.
I would like to know if someone has already test the some technologies as httpserver (icecast, httpservlet as jetty) , rtspserver or webrtc.

I need something faster.
I think also to send stream with simple UDP and add some informations for client.
As audio format i think i'll use opus because it is optimized for human voice.

Thanks

i checked some technologies as Kurento but finally my choice is: Encoding with opus Sending stream to clients with UDP server

I would like to know if you ever worked for sending a stream with multiple thread. Because i dont know how i can share encoded stream between threads.

Because i want to create

1 Thread who listens connections from client and saves ip+port
1 Thread who captures micro and encodes the stream
1 Thread for each client for sending the encoded stream

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM