hoaproject / Websocket

The Hoa\Websocket library.
https://hoa-project.net/
423 stars 75 forks source link

About audio streaming #92

Open YnievesDotNet opened 7 years ago

YnievesDotNet commented 7 years ago

Best Regards HOA Project.

Some time ago I read, dont remenber where, about use of Hoa Websocket for audio and video streaming?

I have some devices connected to an websocket, running with laravel as backend. I need send audio, from a mic to this devices, any idea about this??

Thanks.

Yoinier.

Hywan commented 7 years ago

Hello,

I am not aware of such a use case, but I would go with binary text message. However, WebSocket relies on TCP, which is not suitable for audio streaming. UDP is better in this area. I would suggest you to take a look at WebRTC if you would like to stay in the Web stack.