matbee-eth / chromecast-audio-stream

Stream your Windows PC's audio to the Chromecast
MIT License
956 stars 76 forks source link

protected content can't be viewed on this device #127

Open doctorcloudbase opened 4 years ago

doctorcloudbase commented 4 years ago

Hi,

I am feeling my way here - new to Github, and here entirely because I want to output sound from my PC to a Chromecast Audio.

I eventually downloaded and installed the right package. I now have 'two things':

1) - The 'cast' logo in my systray. I expect to be able to right-click and see my Chromecast audio to connect it to. However, the only option I get is the 'close' option - my Chromecast is not listed.

2) - If I run the 'Connect' app that is now under the Windows Start menu, I get a new window that says 'ReceptionShop8 is ready for you connect wirelessly'. This is the name of the PC. However under that, there is 'Protected content cannot be viewed on this device'.

To complete the picture, this computer has both an ethernet cable connection for networking functionality, and wifi. I have the computer's wifi connected to our wifi network, and this is the same network that the Chromecast Audio is connected to - and is working fine: I can stream Spotify etc from my phone to the Chromecast Audio just fine.

Despite having the PC similarly connected to the same network, I cannot get 'Audio-cast' to stream the sound output of the PC to the Chromecast.

HOWEVER, when viewing something in the Chrome Browser, clicking the added 'Cast Button' top right also works fine - ie there is no issue with network bandwidth or connectivity between PC and Chromecast Audio. For example,being connected both 'wired' and 'wireless' doesn't seem to be tripping things up!

So, I can only think of two potential issues:

1) - something about my installation is incorrect, in which case I have no idea 'what' - but, right-clicking on the systray 'cast' icon does NOT give the option of the Chromecast Audio. It is as if 'Audio-Cast' cannot 'see' the Chromecast Audio.

2) - the 'protected content can't be viewed on this device' thing. But surely not - what defines 'protected content'? If I can stream Spotify from my phone to the same Chromecast, then I cannot imagine DRM preventing me from doing exactly the same from PC desktop!

If I play something/anything on the PC, eg YouTube or Spotify, without using the Cast button on the Chrome Browser Tab, if then I get the sound over the soundcard and tiny PC speaker. I would have thought 'Audio-cast' would take the raw output of the soundcard and 'cast it'?

Help! :)

Many thanks, Damian

SamDel commented 4 years ago

Maybe the firewall is blocking the application. You can try turning the firewall off (temporarely), or configure the firewall rules.

doctorcloudbase commented 4 years ago

AAAH! Following up rapidly on my last, I realise the 'Protected content...' thing is nothing to do with Audio-cast, but a bit of Windows functionality dealing with 'casting' TO the PC, rather than from the PC to somewhere else! - we can forget about that aspect!

Meanwhile if I go looking for any visible 'sound devices', there are only the 'Conexant HD audio' internal speakers visible. ie, again the Chromecast Audio is not showing as a 'thing'...

doctorcloudbase commented 4 years ago

Hi Sam,

I've paused all the firewall protection type stuff - I has unfortunately made no difference.

doctorcloudbase commented 4 years ago

Okay, further update. I have disabled the PC's wireless connection, that was connecting it to the same wifi as the Chromecast Audio - it seemed to have automatically disabled the wired connection.

The wifi router is nevertheless connected to the wider ethernet network as apass-through device, and so having sorted out the DCHP on the ethernet, suddenly I am able to see the Chromecast,and stream to it! Hurrah!

The only issue is that there is about a 10 second delay,and sound still outputting to the PC's built-in speaker too - turning down the master volume in sounds settings suppresses the local speaker, just leaving the delay. Also, the overall volume from the speakers is poor, but I think that an issue with the power output of the ChromeCast Audio to the relatively heavy-duty ceiling speakers with build-in amps that I am trying to drive....

Is there anywhere in a settings file for Audio-Cast, that would allow me to 'over-clock' the volume settings being pushed? Yes I realise I am taking a risk with my Chromecast overheating... or blowing entirely. I will also email the speaker's manufacturer!

Many thanks.

matbee-eth commented 4 years ago

So, chromecast-audio-stream has built-in latency from the audio capture plugin that I chose to use. In the README of the main page, there's a link to an application that supposedly has much less latency---- and is better supported :)

You could try one of these two: https://github.com/SamDel/ChromeCast-Desktop-Audio-Streamer

http://github.com/elibroftw/music-caster/