shiva wrote: 
> My first attempt was with the static library, but that did not work. So
> I tried with various permutation and combinations of configurations to
> see if something gives, but I couldn't understand the failure, till I
> peaked at the source code. Unfortunately, last time I worked in C was
> some 10 years ago, so wasn't sure what to make of the error other then
> connection issue. 
> 
> I am trying to understand where does the SSL connection originate from?
> From what I can see from the log files:
> The first connection is from the castbridge to the LMS server
> (192.168.10.5:3483), I assume that is to publish the presence of a
> player
> The second connection seems to be originating from the CastSocketThread,
> where the ping seems to fail with SSL error code 5. I do not understand
> what does error code 5 indicate? But looking at the code, it seems to be
> an socket connection, and I don't see anywhere SSL connection being
> specified.
> Another connection I see is of streaming URL, i.e from :9002/stream.mp3
> and a callback URL
> http://192.168.10.5:49152/LMS2CAST/cc-cc-6c-4b-cd-01-idx-1.mp3 
> Both of these seem to be to the LMS and they seem to be on HTTP.
> 
> What am I missing?

CC devices require a SSL connection with the controller for commands and
a webserver using HTTP for streaming the actual audio track. Over the
SSL connection, there is a keepalive required otherwise the devices
closes the connection. What happens in your case is that the 1st
keepalive fails because the socket is closed for an unknown reason. It's
difficult for me to say as I cannot do any test on a PPC and because the
endianness is different, there might various nasty side effects. It
might well be that this is the CC device closing the socket because some
keepalive data are not byte-ordered properly



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=104614

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to