<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - raop detects Apple TV but gets "RTSP/1.0 500 Internal Server Error""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55878">55878</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>raop detects Apple TV but gets  "RTSP/1.0 500 Internal Server Error"
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>erik_hvh@base.be
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>modules
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>module-raop-sink (not sure about its version; tried various versions of Ubuntu)
seems to detect my Apple TV but something goes wrong during handshake (SETUP
request).

Below is the Wireshark TCP Stream.

Thanks.



ANNOUNCE rtsp://192.168.1.2/4105702901 RTSP/1.0
CSeq: 1
Content-Type: application/sdp
Content-Length: 569
User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
Client-Instance: 974855647261ccec
Apple-Challenge: EwxFmgJF33K6Bra7vr+CeQ

v=0
o=iTunes 4105702901 0 IN IP4 192.168.1.2
s=iTunes
c=IN IP4 192.168.1.4
t=0 0
m=audio 0 RTP/AVP 96
a=rtpmap:96 AppleLossless
a=fmtp:96 4096 0 16 40 10 14 2 255 0 0 44100
a=rsaaeskey:mgJF33K6Bra7vr+CeXXxYaffF52ovmXsz2omSo5+/+D7Z3oZmnfb1kv7Qno6AH/dHTD31+YiVH1rzTRzRszWfgJm7TINtRAIB59j/UFZmyCgsbrR/C8BS3FhTQU+fWMdNqayZ1JxUqEi92OE3prXUGVdqNv0wYisnrVU++S+B79mIK6Sb6fzhfcnF8iujB41FZjf/V+W101CV5WrYCYVT7I/KRlUXPJdyjdR/8ADUjoMDHf5xZfh2dfmE0LVJpo3WlB5jpo7so5PfpbjDH9ydBBEmVRcz1Bt9XeM6xm++4ADYJZIWbIhxhQjpB1+DX9DfF8B6zZ8SH/HUBvjMBc5Cg
a=aesiv:lJRWd+UCsFSM3aD3Zl7FYg
RTSP/1.0 200 OK
Server: AirTunes/150.35
CSeq: 1

SETUP rtsp://192.168.1.2/4105702901 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=record
User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
Client-Instance: 974855647261ccec

RTSP/1.0 500 Internal Server Error
Content-Length: 0
Server: AirTunes/150.35
CSeq: 2

SET_PARAMETER rtsp://192.168.1.2/4105702901 RTSP/1.0
CSeq: 3
Content-Type: text/parameters
Content-Length: 21
User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
Client-Instance: 974855647261ccec

volume: -144.000000
RTSP/1.0 455 Method Not Valid In This State
Content-Length: 0
Server: AirTunes/150.35
CSeq: 3</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>