My Question or Issue
I have recently integrated the Spotify Web Playback SDK into my electron app.
I am aware that there exist issues with electron and EME, however i am using a fork of electron with support for Widevine.
After attempting to play using my app by selecting it as a device on the desktop app it proceeds to play half a second of audio before skipping to the next track. This repeats 10 - 15 times before it stops entirely.
Looking at the developer console there are status code 500 responses to the https://api.spotify.com/v1/widevine-license/v1/audio/license endpoint.
These are coming from inside the iframe of the player.
The request is made with several paramters:
exp=<A fairly large number>
cp=<Literaly an empty paramter>
tok=<What i am assuming is my client/access token>
The cp parameter seems odd as it is literally empty. (Appears as '&cp=&' in the url search)
Unfortuanatley i dont have an easy way of providing the code I am using as it is embedded in a Vue.js application and I am unfamiliar with publishing code to github.
Any help would be greatly appreciated.