Jump to content
  • 0

System Audio Streaming


Joe Hennessy - Priest
 Share

Question

Is there any way to capture system audio with Ant Media Server? I have tried fiddling with both the Ant Media Server Screen Share extension's source code and webrtc_adaptor.js but cannot find a way to add system audio to a stream despite this being possible with the chrome.desktopCapture API.

I have so far managed to modify the code such that Chrome will ask the user if they want to enable audio capture when selecting which window to share but cannot figure out how to send this audio track to the server.

If this is possible but requires some tinkering, could anyone possibly direct me to what exactly needs changing in the extension and webrtc_adaptor to enable this? I would greatly appreciate your help.
Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
There's a blog on audio-only broadcast:
https://antmedia.io/how-to-setup-a-radio-station-with-antmedia-enterprise/

There's ultra-low latency audio publish sample here:
/usr/local/antmedia/webapps/WebRTCAppEE/audio_publish.html

There's ultra-low latency audio player sample here:
/usr/local/antmedia/webapps/WebRTCAppEE/audio_player.html

You can access those sample audio-only app from your local instance as follows:
http://localhost:5080/WebRTCAppEE/audio_publish.html
http://localhost:5080/WebRTCAppEE/audio_player.html

Link to comment
Share on other sites

  • 0
There might be several audio input channels  (recording) on the computer.
The embedded microphone is one of them.
You change (redirect) desktop audio output as a virtual microphone input via http://jackaudio.org/
Would you please try it, and inform us of the result you get.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...