-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello,
I'm looking for more information regarding how Plantronics Hub pauses Winamp media during an incoming Skype call.
I'm using Skype v8 and I know Microsoft/Skype removed the public Skype Desktop API for headset manufactures in Skype v8; essentially breaking headset call control. I talked with Plantronics support and they said only Skype v7 is supported; however, the problem is Skype v7 clients are banned from logging into the Skype service now. Skype no longer allows any v7 clients to connect to the service anymore. Essentially, now Skype is forcing all users to upgrade to Skype v8. This puts Plantronics customers SOL for any hope for getting call control to work.
So, after some research and reverse-engineering, I've found that Skype v8 is an Electron app that now replaces the old Skype v7 Delphi native app. I spent a decent amount of time reversing the Skype v8 internals. I have hooked some important internal Skype v8 APIs to get call control working again with my BT300/Plantronics Voyager UC. With much success, I have Skype v8 working with my headset and Plantronics Hub.
Here are the results:
https://www.facebook.com/bchavez/videos/10103849577677338/
The results are pretty good so far. I've been using my hack for about a week now and no call handling issues in Skype v8. The only issue I have now is making Plantronics Hub pause my Winamp media player while a song is playing during an incoming call.
When a Skype incoming call occurs, I pickup the headset, the headset automatically answers the call like it should, but Plantronics Hub does not pause the Winamp media player.
My question is, is there any other APIs or Flags I should use to tell Plantronics Hub to pause the media player when answering the call? Is there any relevant media player control stuff going on in your CSkype implementation that is not found in the Samples?
I'm using the JavaScript SDK / REST API for my hack to communicate between Skype <-> Plantronics Hub. Basically, I have the Plantronics SDK running in Skype's v8 main rendering process which issues REST API calls to Plantronics Hub via the JavaScript SDK.
To further illustrate the issue, following the Sample Page here: https://pltdev.github.io/Plantronics%20JavaScript%20Sample.html
- During a ring/incoming call command, with Winamp audio playing, Plantronics Hub doesn't pause the media player.
Additionally, I think I have the relevant settings configured correctly in Plantronics Hub:
All my version information is listed below:
Thank you in advance for any help or insights you can provide. /cc @lewiscollins
Thanks,
Brian





