Skip to content

Latest commit

 

History

History
 
 

stream_audio

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Stream Audio

This example shows how to use Web APIs to send audio streams directly from any device microphone over the YARP network. In particular this application translates audio batches into Yarp::sig::Sound objects and then writes them on port /yarpjs/mic:o.

Note. For security reasons, Chrome does not allow to access the audio stream from unsecure hosts (https Vs http). To bypass this issue you have two options:

  1. Use Firefox (which allows to access the audiostream also from unsecure domains)
  2. Use a self-signed SSL scure domain (see here for a workaround).