How To Share Laptop Speakers Instead Of Screen Share Mic

Hello

This is Daekyo CNS, a Korean company using openvidu.

I have an inquiry about development.

When sharing a Google extension, can I share it with a laptop output speaker instead of a microphone?

Please answer fast.

What do you mean with “When sharing a Google extension”?

You can create a publisher with he media stream track that you want, I mean, if ou want create a publisher with a a external microphone, you can do it assignig the device id o the audioSource property (https://docs.openvidu.io/en/2.15.0/api/openvidu-browser/interfaces/publisherproperties.html#audiosource) in initPublisher method

image

Currently, only chrome tap audio sounds are available.

Can I share Chrome Extension audio and microphone at the same time?

ex) chrome extension audio share + user device mic sound ???

You can create as many MediaStreamTracks as you want and publish them in the session. However, you could have echo problems

For do this, you just to create a MediaStream track with your specific audio device id. Check https://docs.openvidu.io/en/2.15.0/api/openvidu-browser/classes/openvidu.html#getusermedia

1 Like