watch dog
watch dog

Reputation: 447

How to allow multiple audio stream to multiple listeners

How can i allow multiple users to stream audio coming from their machine over the network for multiple listeners i mean taking all the sound from their soundcard to the network,

I know this can be accomplish using icecast, edcast etc. but that will be only when the user installs these program to their device and start making configurations and a lot of work.

what i need is if its possible to do this without icecast just javascript, if we use webrtc it will be more like a voice call i guess,

but i need that audio streamed from device A to device B as if it was already in device B, am talking about playing music on the device and sound from mic at same time. is this possible with javascript? and multiple users can do this stream at same time.

Upvotes: 0

Views: 441

Answers (1)

AKX
AKX

Reputation: 169398

taking all the sound from their soundcard to the network [...] without icecast just javascript

There is no Web API for capturing all sound the computer plays that I know of.

You could maybe make something like this with WebRTC or other web APIs if the user's sound drivers expose a recording device (like the "Stereo Mix" recording device of olden days) that the user selects for your web app to use.

(As an aside, Icecast itself doesn't care where the audio comes from, it just accepts and redistributes OGG or MP3 streams. It's up to the casting client to figure out where the audio comes from.)

Upvotes: 1

Related Questions