Announcement

Collapse
No announcement yet.

Very inconsistent Airplay function

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Very inconsistent Airplay function

    I am testing the Airplay plugin and finding very inconsistent results: sometimes the text is spoken (but chops off the beginning), sometimes not at all. I've got it set with a 15 second delay before and after, just in case, but it still isn't reliable. I'm on a wifi network and iTunes Airplay works fine. Here's what's in my log; can someone help me get this working?

    Date/Time Pri Type/Error Message/Source
    Jan-07 10:30:50 AM Event Event Trigger "Temperature Parents stove goes off"
    Jan-07 10:30:50 AM Z-Wave Device: Parents' space Kitchen Temperature Set to 71.4 (F)
    Jan-07 10:30:32 AM AirplaySpeak DEBUG 16 Speaker.AfterSend()
    Jan-07 10:30:32 AM AirplaySpeak DEBUG 16 Speaker.SendSample() gets lock
    Jan-07 10:30:32 AM AirplaySpeak DEBUG 16 Speaker.SendSample()
    Jan-07 10:30:32 AM AirplaySpeak DEBUG 16 Speaker.BeforeSend()
    Jan-07 10:30:32 AM AirplaySpeak DEBUG Stack: at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at RTSPClient.Connect() at RAOPClient.Connect() at HSPI_AIRPLAY_SPEAK.Speaker.Reset()
    Jan-07 10:30:32 AM AirplaySpeak INFO Connection to Learning room (10.0.1.68:5000) failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.0.1.68:5000
    Jan-07 10:30:30 AM Web Server Web Server authorized login successful from: 10.0.1.2 User: mlevin
    Jan-07 10:30:11 AM AirplaySpeak DEBUG 16 Speaker.Reset() gets the lock
    Jan-07 10:30:11 AM AirplaySpeak DEBUG 16 Speaker.Reset()
    Jan-07 10:30:11 AM AirplaySpeak INFO (Learning room): Testing Testing Testing - now is the time for all good men to come together
    Jan-07 10:30:10 AM Event Event Trigger "General Testing speech"
    Jan-07 10:30:10 AM Event Event General Testing speech triggered by the event page 'Run' button.
    Jan-07 10:30:09 AM email Email successfully sent to michael.levin@tufts.edu
    Jan-07 10:30:07 AM Event Event Trigger "General Error was written to log"
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 28 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 42 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 37 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 17 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 10 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 35 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 33 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 25 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 14 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:30:07 AM AirplaySpeak DEBUG System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at RTSPClient.ExecRequest(String Cmd, String ContentType, String Content, WebHeaderCollection hds, Boolean GetResponse, String& returnCode, Boolean parseHeaderOnError) at RTSPClient.Teardown()
    Jan-07 10:30:07 AM AirplaySpeak DEBUG TIMING EXCEPTIONA blocking operation was interrupted by a call to WSACancelBlockingCall
    Jan-07 10:30:07 AM AirplaySpeak DEBUG TEARDOWN rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 6 Session: DEADBEEF User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3
    Jan-07 10:30:07 AM AirplaySpeak DEBUG System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadLine() at RTSPClient.ExecRequest(String Cmd, String ContentType, String Content, WebHeaderCollection hds, Boolean GetResponse, String& returnCode, Boolean parseHeaderOnError) at RTSPClient.Flush(Int32 rtpseq, Int32 rtptime)
    Jan-07 10:30:06 AM AirplaySpeak DEBUG 28 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:30:04 AM AirplaySpeak DEBUG 42 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:30:02 AM AirplaySpeak DEBUG 37 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:30:00 AM AirplaySpeak DEBUG 17 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:58 AM AirplaySpeak DEBUG 10 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:57 AM AirplaySpeak DEBUG 35 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:55 AM AirplaySpeak DEBUG 33 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:53 AM AirplaySpeak DEBUG 25 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:52 AM AirplaySpeak DEBUG 14 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:51 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:50 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:49 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:48 AM AirplaySpeak DEBUG FLUSH rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 5 Session: DEADBEEF RTP-Info: seq=6131;rtptime=1222042 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3
    Jan-07 10:29:48 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:48 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:48 AM AirplaySpeak DEBUG 36 Speaker.OnQueueEnd() gets the lock
    Jan-07 10:29:48 AM AirplaySpeak DEBUG 36 Speaker.OnQueueEnd()
    Jan-07 10:29:47 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:47 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:46 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:46 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:45 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:45 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:44 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:44 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:43 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:43 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:42 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:42 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:41 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:41 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:40 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:40 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:39 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:39 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:38 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:38 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:37 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:37 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:36 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:36 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:35 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:35 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:34 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:34 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:33 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:33 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:32 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:32 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:31 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:31 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:30 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:30 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:29 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:29 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:28 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:28 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:27 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:27 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:26 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:26 AM AirplaySpeak DEBUG 20 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:25 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:25 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:24 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:24 AM AirplaySpeak DEBUG 39 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:23 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:23 AM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:22 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent() gets the lock
    Jan-07 10:29:22 AM AirplaySpeak DEBUG 21 Speaker.OnCheckStatusTimerEvent()
    Jan-07 10:29:21 AM AirplaySpeak DEBUG 25 Speaker.AfterSend()
    Jan-07 10:29:21 AM AirplaySpeak DEBUG 25 Speaker.SendSample() gets lock
    Jan-07 10:29:21 AM AirplaySpeak DEBUG 25 Speaker.SendSample()
    Jan-07 10:29:21 AM AirplaySpeak DEBUG 25 Speaker.BeforeSend()
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
    Jan-07 10:29:21 AM AirplaySpeak DEBUG CSeq, 4
    Jan-07 10:29:21 AM AirplaySpeak DEBUG SET_PARAMETER rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 4 Session: DEADBEEF Content-Type: text/parameters Content-Length: 18 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3 volume: 0.000000
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
    Jan-07 10:29:21 AM AirplaySpeak DEBUG CSeq, 3
    Jan-07 10:29:21 AM AirplaySpeak DEBUG RECORD rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 3 Session: DEADBEEF Range: npt=0- RTP-Info: seq=2737;rtptime=27354 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Transport, RTP/AVP/UDP;unicast;mode=record;server_port=6000;control_port=6001;t iming_port=6002
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Session, DEADBEEF
    Jan-07 10:29:21 AM AirplaySpeak DEBUG CSeq, 2
    Jan-07 10:29:21 AM AirplaySpeak DEBUG SETUP rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 2 Transport: RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_port=54863;timing_port=54862 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
    Jan-07 10:29:21 AM AirplaySpeak DEBUG CSeq, 1
    Jan-07 10:29:21 AM AirplaySpeak DEBUG Apple-Response, lWdT0C8sFZ39wd4Lk7j4B4d7TuSWW3SjLqd143qDY3IblXXxJuoEGR21xeWI FSsNX4hsOulE8YbWAbtqfXzfJVyg2+s3rW4xW1297qAZdOufpGjp+sRgXR6m Uv7IAoEUc1c/M1OwFAKx6UvyrQV1js3nwkje1EhsFf/qLZWsZ3DD9Ylgz4CC61y+gCag8mVfZ3lahpK9R/kHyS/6TKoZVhSHgm6gPfzhJZ7M1E8OwmjITjYT+T9SEzIx26elMNktervdI86LHCI SR8QgDeSXwWAixSzQkzB38XGuM+O1q3mYCaDhnkmqR8F66saY51eSGSYbk0T cR4QlPPKL9yT5WA
    Jan-07 10:29:19 AM AirplaySpeak DEBUG ANNOUNCE rtsp://10.0.1.31/3630031133 RTSP/1.0 CSeq: 1 Content-Type: application/sdp Content-Length: 564 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: C181C5D971C4F9B3 Apple-Challenge: UNGRwt5Fyxc7kKrpRbtAPw v=0 o=iTunes 3630031133 0 IN IP4 10.0.1.31 s=iTunes c=IN IP4 10.0.1.68 t=0 0 m=audio 0 RTP/AVP 96 a=rtpmap:96 AppleLossless a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100 a=rsaaeskey:h5kvSxQF3nWWQA6Vit9mw1T9CDKa2A6S+6c7h+rl9YIEsOZW 4fDcrktShpO1og8ogkOb2icv/CGC0eCUhIRFRc7XCfqTahVUXqX2Y4nVUdNu3OS2wqsKUpSVU1y02KZy/tDHTmJFDpsWMYU+Uxx1RPiyq1IvlDqLqh8wNOS/GJM3aX+FE5t4dI5W0by4Oar0jvlEh6n0oDTVj/1KaLRbGAzDTAhjjtaLDd8GplRGfv5RPb7BZw0+3ePNKs8GoKqHP2kto1HE1x A2gyObiquziQ45jLPKZ5fPBylyWl5qWP6bC/lYd2o67FbMaPdxL7itV/aIr2T4mbn7feHeVm1oEA a=aesiv:8cO4Nj3JjGX4dfdfueYTAw
    Jan-07 10:29:19 AM AirplaySpeak DEBUG 25 Speaker.Reset() gets the lock
    Jan-07 10:29:19 AM AirplaySpeak DEBUG 25 Speaker.Reset()
    Jan-07 10:29:19 AM AirplaySpeak INFO (Learning room): Testing Testing Testing - now is the time for all good men to come together
    Jan-07 10:29:17 AM Event Event Trigger "General Testing speech"
    Jan-07 10:29:17 AM Event Event General Testing speech triggered by the event page 'Run' button.
Working...
X