Usama
Usama

Reputation: 660

how to change the microphone source dynamically gstreamer

I have a client in gstreamer which is sending his audio to another client. I want the sender client to be able to change between different audio sources (Microphones in the device) dynamically.

I am using wasapisrc for getting the audio stream from the microphone
I tried changing the device property of the wasapisrc (when the connection is established) but it didn't work.

Upvotes: 0

Views: 338

Answers (1)

Sunil Thakur
Sunil Thakur

Reputation: 58

you can use input-selector element to switch between input sources

https://gstreamer.freedesktop.org/documentation/coreelements/input-selector.html

Upvotes: 1

Related Questions