Quantcast
Channel: Plantronics Developer Connection: Message List
Viewing all articles
Browse latest Browse all 377

How to Mute headset controlled by other program?

$
0
0

Hi

 

Headset is a Voyager Legend UC

 

I am trying to Mute a headset when the user is not wearing the headset, and when the user is again wearing the headset is it unmuted without user interaction.

But it does not seem to be possible to mute or unmute the Headset via Spokes COM ( using SpokesWrapper,cs ) or Spokes REST Service ?

Nothing happens, the headset is not muted or unmuted.

 

The program that is using the headset is Microsoft Lync 2013 client, manuel mute on the headset or in Microsoft Lync client works great.

 

When I try the Spokes REST Service I do a: http://127.0.0.1:32001/Spokes/DeviceServices/{sessionId}/AudioState?state=MonoOff

Response is: {"Description":"","Err":null,"Result":true,"Type":2,"Type_Name":"Bool","isError":false}

No errors, but headset is not muted.

 

Via Spokes COM using C# and SpokesWrapper,cs I have tried:

  • Spokes.SetMute(true) => m_hostCommandExt.SetHeadsetMute(true)

 

Result: Nothing happens, headset is not muted

 

Get the IDeviceListener for the active IDevice and I have tried to change:

  • Mute = true
  • AudioState = AudioType.AudioType_MonoOff

 

Result: Nothing happens, headset is not muted

Mute is changed to true, but changing AudioState to MonoOff has no effect, AudioState remains in MonoOn.

 

Any help is really appreciated :-)

 

Kind regards

Simon


Viewing all articles
Browse latest Browse all 377

Trending Articles