philippe_44 wrote: 
> Okay, can you make *super* sure that port 49157 is not blocked on this
> machine ? The load failed is rather indicative that the CC tried to
> start acquiring the file and get kicked by the server. The way it works
> is that the castbridge is creating a webserver that the serves the CC
> request to GET the audio file content
> 
> I've encountered almost no issue with CC once the connection is
> established, in fact I barely modified this piece of code one I had a
> working version. Most of the time the culprit is either firewall or
> something with the host networking piece - the SSL on Windows 2008 is
> new and I'll make a note in the user guide. I'll also try to see if I
> can use existing SSL libraries instead of forcing mine all the time

Thanks for the suggestion. So I tried turning off the firewall
*completely *on the Windows 2008 server, but got the same result - all
the visual signs were that the track was playing back, but there was no
audio (I checked/adjusted the volume level on the receiver and it was
fine). The latest log (after disabling the firewall) is below.


Code:
--------------------
    [10:59:48.252] stream_sock:421 [004A243C] header: GET 
/stream.mp3?player=a4:77:33:dd:6a:d2 HTTP/1.0
  
  
  [10:59:48.252] sq_callback:259 [00490568]: codec:m, ch:255, s:255, r:255
  [10:59:48.323] sq_get_metadata:560 [004A243C]: idx 0
        artist:Elvis Costello
        album:13 Steps Lead Down (Cd Single)
        title:13 Steps Lead Down
        genre:Rock
        duration:195.343
        size:0
        cover:http://192.168.1.4:9000/music/bbed8c85/cover.jpg
  [10:59:48.323] SendCastMessage:265 [01FC8170]: Cast sending: 
{"type":"LAUNCH","requestId":1,"appId":"CC1AD845"}
  [10:59:48.323] CastLoad:142 [00490568]: Queuing LOAD
  [10:59:48.323] sq_callback:302 [00490568]: current URI set 
http://192.168.1.4:49157/LMS2CAST/a4-77-33-dd-6a-d2-idx-1.mp3
  [10:59:48.323] sendSTAT:165 [004A243C]: STAT:[STMc] msplayed 0
  [10:59:48.323] sendSTAT:167 [004A243C] STAT: STMc
  [10:59:48.323] process:562 [004A243C] audg
  [10:59:48.323] process_audg:473 [004A243C] (old) audg gainL: 128 gainR: 128
  [10:59:48.348] stream_thread:181 [004A243C] headers: len: 116
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.7.5 - 1416570306)
  Connection: close
  Content-Type: audio/mpeg
  
  
  [10:59:48.348] sendRESP:196 RESP
  [10:59:48.463] CastSocketThread:648 [00490568]: type:RECEIVER_STATUS (id:0)
  [10:59:48.634] SendCastMessage:265 [01FC8170]: Cast sending: 
{"type":"SET_VOLUME","requestId":2,"volume":{"level":1.000000,"muted":false}}
  [10:59:48.634] CastSimple:176 [00490568]: Queuing PLAY
  [10:59:48.641] CastSocketThread:648 [00490568]: type:RECEIVER_STATUS (id:2)
  [10:59:48.651] CastSocketThread:648 [00490568]: type:RECEIVER_STATUS (id:0)
  [10:59:49.112] stream_thread:255 [004A243C] end of stream (t:3125498)
  [10:59:49.112] sendDSCO:183 DSCO: 0
  [10:59:49.113] process:562 [004A243C] strm
  [10:59:49.113] process_strm:238 [004A243C] strm command u
  [10:59:49.113] process_strm:285 [004A243C] unpause at: 0 now: 975611158
  [10:59:49.113] sendSTAT:165 [004A243C]: STAT:[STMr] msplayed 0
  [10:59:49.113] sendSTAT:167 [004A243C] STAT: STMr
  [10:59:49.127] output_thru_thread:758 [004A243C] wrote total 3125498
  [10:59:49.536] CastSocketThread:648 [00490568]: type:RECEIVER_STATUS (id:1)
  [10:59:49.536] CastSocketThread:687 [00490568]: Receiver launched
  [10:59:49.536] SendCastMessage:265 [01FC8170]: Cast sending: 
{"type":"CONNECT","origin":{}}
  [10:59:49.536] SendCastMessage:265 [01FC8170]: Cast sending: {
  "type": "LOAD",
  "autoplay": false,
  "requestId": 3,
  "sessionId": "D71FA80F-A937-47A5-A8DB-7FB00764BC32",
  "media": {
  "contentId": "http://192.168.1.4:49157/LMS2CAST/a4-77-33-dd-6a-d2-idx-1.mp3";,
  "metadata": {
  "albumArtist": "Elvis Costello",
  "metadataType": 3,
  "artist": "Elvis Costello",
  "title": "13 Steps Lead Down",
  "albumName": "13 Steps Lead Down (Cd Single)",
  "trackNumber": 1,
  "images": [
  {
  "url": "http://192.168.1.4:9000/music/bbed8c85/cover.jpg";
  }
  ]
  },
  "streamType": "BUFFERED",
  "contentType": "audio/mpeg"
  },
  "currentTime": 0.0
  }
  [10:59:50.632] CastSocketThread:648 [00490568]: type:LOAD_FAILED (id:3)
  [10:59:50.632] ProcessQueue:538 [00490568]: PLAY un-queued but no media 
session
  [10:59:50.750] CastSocketThread:648 [00490568]: type:PONG (id:0)
  [10:59:50.752] CastSocketThread:648 [00490568]: type:PONG (id:0)
  [10:59:51.000] process:562 [004A243C] strm
  [10:59:51.000] process_strm:241 [004A243C] strm command t
  [10:59:51.000] sendSTAT:167 [004A243C] STAT: STMt
  [10:59:51.000] process:562 [004A5244] strm
  [10:59:51.000] process_strm:241 [004A5244] strm command t
  [10:59:51.000] sendSTAT:167 [004A5244] STAT: STMt
--------------------


------------------------------------------------------------------------
itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
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