Re: [SlimDevices: Plugins] Cast2squeeze

2016-11-27 Thread philippe_44

bpa wrote: 
> It would take me awhile to get backint of the mindset of Chromecast with
> the various protocol details. I cannot recall the details at the moment.
> Not all client use a simple HTTP to play a stream on CC - some use
> chunked HTTP or directly casting from a "browser" page or a phone based
> app uses webRTC and other such as Spotify have special
> encoding/transport which CC loaded player decodes. So I think your
> solution may prove unsatisfactory.

Understood - I took it from the over-simpified view of using the default
receiver (CC1AD845) in the CCA, but that's true that I guess many 3rd
party application controllers load their own app to protect their
content exchange, so what happens after the "load" request is unknown.
My solution would only work for limited apps.



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106526

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Cast2squeeze

2016-11-27 Thread bpa

It would take me awhile to get backint of the mindset of Chromecast with
the various protocol details. I cannot recall the details at the moment.
Not all client use a simple HTTP to play a stream on CC - some use
chunked HTTP or directly casting from a "browser" page or a phone based
app uses webRTC and other such as Spotify have special
encoding/transport which CC loaded player decodes. So I think your
solution may prove unsatisfactory.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=106526

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Cast2squeeze

2016-11-27 Thread philippe_44

bpa wrote: 
> No as cast enabled players have to talk to Google servers directly and
> be secure (i.e. server will only talk to authorised players)  - google
> then downloads cast apps (like javascript browser pages)  into
> chromecast players.

I as thinking about that the other day and was wondering if if would be
possible. As you know, I've done a CastBridge, which is the "reverse"
and I was wondering what piece of the low layer protocol I had to write
to talk to a Cast device could not be emulated. I mean:

- Player shall be announced by mDNS ==> that I have done alread using my
ShairPortW port
- Establish a SSH connection with the "emulated" CC
- Send a LOAD application request for the default receiver. It's
possible to respond to such request positively. Of course, there will be
no real "load" done from Google server, but the only objective is to
emulate further commands and it seems to be doable
- Emulate the CC control interface (protobuf, json and all found here
https://github.com/thibauts/node-castv2 and there
https://developers.google.com/cast/docs/reference/messages)
- Then, because the default receiver just uses plain HTTP to get audio
stream, such URL could be passed directly to LMS / the player
(ShairPort2W had to implement a airtunes UDP / webserver to serve LMS,
but that is un-necessary in this case).

Is there something I'm missing like a "true" CC controller authentifies
the player with Google in a way that would prevent such "emulator" to
work? Then, only controller like the one I write in CastBridge would
work?

Note that I have *no* intention to implement such software, my plate if
already more than full, so it's just a theoritical question:)



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106526

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Cast2squeeze

2016-11-27 Thread bpa

No as cast enabled players have to talk to Google servers directly and
be secure (i.e. server will only talk to authorised players)  - google
then downloads cast apps (like javascript browser pages)  into
chromecast players.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=106526

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Cast2squeeze

2016-11-27 Thread atca

Are there any apps which let me chromecast to lms to squeezeboxes? 

I.e. Like shairtunes

Sent from my Nexus 5 using Tapatalk





atca's Profile: http://forums.slimdevices.com/member.php?userid=56880
View this thread: http://forums.slimdevices.com/showthread.php?t=106526

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins