Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[FEATURE]-ICodecAudio should explicitly expose mute controls in a seperate interface

Open TrevorPayne opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. There is currently no way to access a codec mic mute explicitly from a class that implements ICodecAudio - you can access IPrivacy, but there's no guarantee that interface wouldn't trigger additional automated actions as a function of turning on/off privacy mode.

Perhaps a developer implements privacy as Mute Mic, Move Camera to Rest Position, Turn Camera Off. This is perfectly valid - another developer wants to utilize this device, but wants to specifically access the mic mute. It's currently not possible through an interface.

Describe the solution you'd like Another interface needs to be created to access mutes explicitly, or perhaps more simply an interface that can set/get a state on a class. I am open to suggestions on this one. It may lead to some more interface hell, so to speak, where we create an IMuteWithFeedaback that is a component of IVolumeWithFeedback but can be implemented seperately.

I want to trigger this discussion at a future engineering meeting.

Describe alternatives you've considered Not any clean alternatives.

Additional context Useful for any plugins that want to automate or expose mute or other volume triggers.

TrevorPayne avatar Jun 08 '21 16:06 TrevorPayne