Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting but no playback #62

Closed
mukkel185 opened this issue Nov 14, 2019 · 10 comments
Closed

Connecting but no playback #62

mukkel185 opened this issue Nov 14, 2019 · 10 comments

Comments

@mukkel185
Copy link

mukkel185 commented Nov 14, 2019

Hey Guys,

maybe you have an idea: the program finds an connects to my chromecast 3, the device window turns green and says "buffering 0:00" but there is no sound. After a while it returns to idle again.

Thanks in advance for your help and kudos for SamDel and his efforts :)
That's what the log says:

Add IP4 addresses: 192.168.178.23 - 127.0.0.1

Set size, height: 550 width: 850

Discovered device: Schuppen 192.168.178.34:8009 null

out [21:22:29][192.168.178.34:8009] [NotConnected]: {"type":"CONNECT"}

out [21:22:30][192.168.178.34:8009] [NotConnected]: {"requestId":1,"type":"GET_STATUS"}

in [21:22:30] [192.168.178.34:8009] [NotConnected]: {"type":"CLOSE"}

[21:22:30] [192.168.178.34:8009] ResumePlaying

out [21:22:32][192.168.178.34:8009] [NotConnected]: {"type":"CONNECT"}

out [21:22:32][192.168.178.34:8009] [NotConnected]: {"requestId":2,"type":"GET_STATUS"}

in [21:22:32] [192.168.178.34:8009] [NotConnected]: {"requestId":2,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"58b6685b-b788-479b-82b3-904bd0f6a52f","statusText":"Default Media Receiver","transportId":"58b6685b-b788-479b-82b3-904bd0f6a52f"}],"userEq":{},"volume":{"controlType":"attenuation","level":1.0,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:22:34][192.168.178.34:8009] [LaunchingApplication]: {"type":"CONNECT"}

out [21:22:34][192.168.178.34:8009] [LaunchingApplication]: {"appId":"CC1AD845","requestId":3,"type":"LAUNCH"}

in [21:22:34] [192.168.178.34:8009] [LaunchingApplication]: {"requestId":0,"status":{"userEq":{},"volume":{"controlType":"attenuation","level":1.0,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

in [21:22:35] [192.168.178.34:8009] [LaunchingApplication]: {"requestId":3,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"457debe9-8aca-4c06-9e6a-fe765c46eec3","statusText":"Default Media Receiver","transportId":"457debe9-8aca-4c06-9e6a-fe765c46eec3"}],"userEq":{},"volume":{"controlType":"attenuation","level":1.0,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:22:35][192.168.178.34:8009] [LaunchedApplication]: {"type":"CONNECT"}

out [21:22:35][192.168.178.34:8009] [LoadingMedia]: {"autoplay":true,"currentTime":0,"activeTrackIds":[],"repeatMode":"REPEAT_OFF","media":{"contentId":"http://192.168.178.23:52596/","contentType":"audio/wav","streamType":"BUFFERED","metadata":{"type":0,"metadataType":0,"title":"Desktop Audio Streamer","images":[]}},"requestId":1,"type":"LOAD"}

in [21:22:35] [192.168.178.34:8009] [LoadingMedia]: {"type":"MEDIA_STATUS","status":[],"requestId":0}

in [21:22:35] [192.168.178.34:8009] [LoadingMedia]: {"type":"MEDIA_STATUS","status":[{"mediaSessionId":1,"playbackRate":1,"playerState":"IDLE","currentTime":0,"supportedMediaCommands":274447,"volume":{"level":1,"muted":false},"activeTrackIds":[],"media":{"contentId":"http://192.168.178.23:52596/","contentType":"audio/wav","streamType":"BUFFERED","metadata":{"type":0,"metadataType":0,"title":"Desktop Audio Streamer","images":[]}},"currentItemId":1,"extendedStatus":{"playerState":"LOADING","media":{"contentId":"http://192.168.178.23:52596/","contentType":"audio/wav","streamType":"BUFFERED","metadata":{"type":0,"metadataType":0,"title":"Desktop Audio Streamer","images":[]}}},"repeatMode":"REPEAT_OFF"}],"requestId":0}

in [21:22:35] [192.168.178.34:8009] [Idle]: {"requestId":0,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"457debe9-8aca-4c06-9e6a-fe765c46eec3","statusText":"Casting: Desktop Audio Streamer","transportId":"457debe9-8aca-4c06-9e6a-fe765c46eec3"}],"userEq":{},"volume":{"controlType":"attenuation","level":1.0,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

in [21:22:36] [192.168.178.34:8009] [Idle]: {"type":"MEDIA_STATUS","status":[{"mediaSessionId":1,"playbackRate":1,"playerState":"BUFFERING","currentTime":0,"supportedMediaCommands":274447,"volume":{"level":1,"muted":false},"activeTrackIds":[],"currentItemId":1,"repeatMode":"REPEAT_OFF"}],"requestId":0}

out [21:22:44][192.168.178.34:8009] [Buffering]: {"requestId":4,"type":"GET_STATUS"}

out [21:22:59][192.168.178.34:8009] [Buffering]: {"requestId":5,"type":"GET_STATUS"}

out [21:23:14][192.168.178.34:8009] [Buffering]: {"requestId":6,"type":"GET_STATUS"}

out [21:23:29][192.168.178.34:8009] [Buffering]: {"requestId":7,"type":"GET_STATUS"}

out [21:23:34][192.168.178.34:8009] [Buffering]: {"volume":{"level":0.95},"requestId":8,"type":"SET_VOLUME"}

in [21:23:34] [192.168.178.34:8009] [Buffering]: {"device":{"capabilities":196613,"deviceId":"c94524c6-829c-86aa-345f-705f5604cfdc","name":"Schuppen","volume":{"level":0.949999988079071,"muted":false}},"requestId":0,"type":"DEVICE_UPDATED"}

in [21:23:34] [192.168.178.34:8009] [Buffering]: {"requestId":8,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"457debe9-8aca-4c06-9e6a-fe765c46eec3","statusText":"Casting: Desktop Audio Streamer","transportId":"457debe9-8aca-4c06-9e6a-fe765c46eec3"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:23:44][192.168.178.34:8009] [Buffering]: {"requestId":9,"type":"GET_STATUS"}

out [21:23:59][192.168.178.34:8009] [Buffering]: {"requestId":10,"type":"GET_STATUS"}

out [21:24:14][192.168.178.34:8009] [Buffering]: {"requestId":11,"type":"GET_STATUS"}

out [21:24:29][192.168.178.34:8009] [Buffering]: {"requestId":12,"type":"GET_STATUS"}

in [21:24:43] [192.168.178.34:8009] [Buffering]: {"requestId":1,"type":"LOAD_FAILED","detailedErrorCode":104}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":5}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":6}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":7}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":9}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":10}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":11}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[],"requestId":12}

in [21:24:43] [192.168.178.34:8009] [LoadFailed]: {"type":"MEDIA_STATUS","status":[{"mediaSessionId":1,"playbackRate":1,"playerState":"IDLE","currentTime":0,"supportedMediaCommands":274447,"volume":{"level":1,"muted":false},"media":{"contentId":"http://192.168.178.23:52596/","contentType":"audio/wav","streamType":"BUFFERED","metadata":{"type":0,"metadataType":0,"title":"Desktop Audio Streamer","images":[]},"breakClips":[],"breaks":[]},"currentItemId":1,"idleReason":"ERROR"}],"requestId":4}

in [21:24:43] [192.168.178.34:8009] [Idle]: {"requestId":0,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"457debe9-8aca-4c06-9e6a-fe765c46eec3","statusText":"Default Media Receiver","transportId":"457debe9-8aca-4c06-9e6a-fe765c46eec3"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:24:44][192.168.178.34:8009] [Idle]: {"requestId":13,"type":"GET_STATUS"}

[21:24:44] [192.168.178.34:8009] ResumePlaying

in [21:24:44] [192.168.178.34:8009] [Idle]: {"requestId":13,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"457debe9-8aca-4c06-9e6a-fe765c46eec3","statusText":"Default Media Receiver","transportId":"457debe9-8aca-4c06-9e6a-fe765c46eec3"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:24:48][192.168.178.34:8009] [LaunchingApplication]: {"type":"CONNECT"}

out [21:24:48][192.168.178.34:8009] [LaunchingApplication]: {"appId":"CC1AD845","requestId":14,"type":"LAUNCH"}

in [21:24:48] [192.168.178.34:8009] [LaunchingApplication]: {"requestId":0,"status":{"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

in [21:24:48] [192.168.178.34:8009] [LaunchingApplication]: {"type":"CLOSE"}

in [21:24:49] [192.168.178.34:8009] [Closed]: {"requestId":14,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"bf9e764c-fd92-4e44-a0d3-8432570227ef","statusText":"Default Media Receiver","transportId":"bf9e764c-fd92-4e44-a0d3-8432570227ef"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:24:50][192.168.178.34:8009] [Connected]: {"requestId":15,"type":"GET_STATUS"}

in [21:24:50] [192.168.178.34:8009] [Connected]: {"requestId":15,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"bf9e764c-fd92-4e44-a0d3-8432570227ef","statusText":"Default Media Receiver","transportId":"bf9e764c-fd92-4e44-a0d3-8432570227ef"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:24:59][192.168.178.34:8009] [Connected]: {"requestId":16,"type":"GET_STATUS"}

in [21:24:59] [192.168.178.34:8009] [Connected]: {"requestId":16,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"bf9e764c-fd92-4e44-a0d3-8432570227ef","statusText":"Default Media Receiver","transportId":"bf9e764c-fd92-4e44-a0d3-8432570227ef"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}

out [21:25:14][192.168.178.34:8009] [Connected]: {"requestId":17,"type":"GET_STATUS"}

in [21:25:14] [192.168.178.34:8009] [Connected]: {"requestId":17,"status":{"applications":[{"appId":"CC1AD845","displayName":"Default Media Receiver","iconUrl":"","isIdleScreen":false,"launchedFromCloud":false,"namespaces":[{"name":"urn:x-cast:com.google.cast.cac"},{"name":"urn:x-cast:com.google.cast.debugoverlay"},{"name":"urn:x-cast:com.google.cast.broadcast"},{"name":"urn:x-cast:com.google.cast.media"}],"sessionId":"bf9e764c-fd92-4e44-a0d3-8432570227ef","statusText":"Default Media Receiver","transportId":"bf9e764c-fd92-4e44-a0d3-8432570227ef"}],"userEq":{},"volume":{"controlType":"attenuation","level":0.949999988079071,"muted":false,"stepInterval":0.05000000074505806}},"type":"RECEIVER_STATUS"}


@SamDel
Copy link
Owner

SamDel commented Nov 15, 2019

Hey @mukkel185,

It looks like the firewall is blocking incoming connections from the Chromecast device.
And did you check the other hints from the wiki?

Chromecast device doesn't start streaming

  • Make sure your desktop plays music.
  • Try switching the recording device.
  • Try switching the IP address.
  • Check if the firewall is not blocking incoming connections for 'ChromeCast.Desktop.AudioStreamer'.

Let me know!

@FA-Bubba
Copy link

FA-Bubba commented Nov 22, 2019

I'm having a similar issue... After about 3 weeks of FLAWLESS play, DAS acted-up over the past few days, with Speaker Groups dropping-out, and no streaming, even though the display indicated it was playing.

Version 2.5.2 on Windows 10 Professional w/ 16 GB RAM...

I closed DAS and restarted it. All devices except one were found and populated into the Device Box. I tried 'Scan Again...' 3 times, but the Device List did not change. I tried to play two Speaker Groups ('First Floor Speakers' & 'Second Floor Speakers'); First Floor failed to load; Second Floor loaded, and indicated "Playing", but there was no audio.
At this point, I dumped the Log (attached), and checked all LAN connections -- All speakers were above 90% (screen shot attached).

I unloaded everything, and rebooted the PC, and tried DAS again. This time, it loaded very slowly, and eventually found all but TWO Devices, but would not stream any audio (another Log also attached).

I'm at a loss to fathom what is going on... It is possible that a Windows 10 update may have be a factor; most recent updates on 11/16 (KB4524570) & 11/13 (KB4524569)

Log-2019-11-22-v2-5-2-DropOuts.zip

@SamDel
Copy link
Owner

SamDel commented Nov 22, 2019

It's a different issue, but I'm also having discovery problems.
I thought it was due to my new router, but maybe it's an update then...

As a temporary workaround you can add the IP of the missing devices in 'ChromeCast.Desktop.AudioStreamer.exe.config' (wiki). I'll let you know when I found something!

@SamDel
Copy link
Owner

SamDel commented Nov 22, 2019

After installing the latest update the discovery works again for me.

Updates installed:

  • Feature update to Windows 10, version 1909
  • KB4522741 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 1903 and Windows Server 1903 RTM

@mukkel185
Copy link
Author

@SamDel: Sorry for letting you wait.
It was indeed a firewall problem - windows somehow changed the permissions besides i already allowed the streamer beforehand. Don't ask me why.
It's working without any problems now - thank you very much for your help :)

PS: The sound is lacking some deeper frequencies but that seems not to be caused by the Audio-Streamer

@SamDel
Copy link
Owner

SamDel commented Nov 22, 2019

Thanks.
You can try changing the stream format to 'Wav'!

@mukkel185
Copy link
Author

mukkel185 commented Nov 22, 2019 via email

@FA-Bubba
Copy link

RE: "As a temporary workaround you can add the IP of the missing devices in 'ChromeCast.Desktop.AudioStreamer.exe.config' (wiki). "

With DHCP, IP addresses may not be static; is there a way to use MAC Addresses instead?

@FA-Bubba
Copy link

I ran Windows Update, and there was another update available. After installing it, everything seems back to normal.

Thanks!

@SamDel
Copy link
Owner

SamDel commented Nov 24, 2019

@mukkel185 : I don't know what happens with the bass, the application doesn't filter the audio from the laptop's sound card.
@FA-Bubba : Nice that it works again!

I'm closing the one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants