Hello Wolfgang,

On mer., 2014-01-15 at 04:59 +0000, [email protected] wrote:
> Hi Hajime,
> 
> >> Hmm, you are right. Your device seems to understand the TCP version. I
> >> suppose the current stable pulseaudio should support your device.
> >> Unfortunately I don't have any experience with TCP version of the
> >> protocol, so I don't have a clue at this moment.
> >> 
> >> A few things that came up to my mind...
> >> - usually module-raop-discover will automatically find the device, so
> >> you don't have to manually load module-raop-sink. Have you installed
> >> some additional modules like pulseaudio-zeroconf or something?
> 
> I do not have mdns in my system - it is part of a somewhat larger .local
> dns setup, and there are a few systems that dont speak mdns at all or in 
> ridiculous
> ways
> 
> >> - If you have paprefs command in your system, launch it and enable
> >> Airtunes from the GUI interface there.
> 
> I already checked that box, but I am not sure how much difference that 
> actually makes
> (if there is no auto-discovery)
> 
> >> - Attaching a log would help us understanding the issue more precisely.
> >> 
> >> 
> 
> -- transcribed from wireshark --
> ANNOUNCE rtsp://192.168.2.20/3228888896 RTSP/1.0
> CSeq: 1
> Content-Type: application/sdp
> Content-Length: 571
> User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
> Client-Instance: ....
> Apple-Challenge: .....
> 
> v=0
> o=iTunes 3228888896 IN INP4 192.168.2.20
> s=iTunes
> c=IN IP4 192.168.2.31
> t=0 0
> m=audio 0 RTP/AVP 96
> a=rtpmap:96 Apple Lossless
> a=fmtp:96 4096 0 16 40 10 14 2 255 0 0 44100
> a=rsaaeskey:H4.....
> a=aesiv:....
> 
> RTSP/1.0 200 OK
> Server: AirTunes/105.1
> CSeq:1
> 
> SETUP rtsp://192.168.2.20/3228888896 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: ....
> 
> RTSP/1.0 200 OK
> Transport: RTP/AVP/TCP;unicast;mode=record;server_port=6000
> Session: 1
> Audio-Jack-Status: connteced; type=analog
> Server: AirTunes/105.1
> CSeq: 2
> 
> RECORD rtsp://192.168.2.20/3228888896 RTSP/1.0
> CSeq: 3
> Session: 1
> Range: npt=0-
> RTP-Info: seq=0;rtptome=0
> User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
> Client-Instance: ....
> 
> RTSP/1.0 200 OK
> Audio-Latency: 6174
> Server: AirTunes/105.1
> CSeq: 3
> 
> SET_PARAMETER rtsp://192.168.2.20/3228888896 RTSP/1.0
> CSeq: 4
> Session: 1
> Content-Type: text/parameters
> Content-Length: 18
> User-Agent: iTunes/4.6 (Macintosh; U; PPC Mac OS X 10.3)
> Client-Instance: ....
> 
> volume: 0,000000
> 
> RTSP/1.0 200 OK
> Audio-Latency: 6174
> Server: AirTunes/105.1
> CSeq: 4
> 
> 
> -- syslog entries --
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: client.c: Created 21 "Native 
> client (UNIX socket client)"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: protocol-native.c: Protocol 
> version: remote 15, local 15
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: protocol-native.c: Got 
> credentials: uid=1000 gid=100 success=1
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: protocol-native.c: SHM possible: 
> yes
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: protocol-native.c: Negotiated 
> SHM: yes
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-augment-properties.c: 
> Looking for .desktop file for pactl
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: sink.c: Created sink 2 "raop.2" 
> with sample spec s16le 2ch 44100Hz and 
> channel map front-lef
> t,front-right
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: sink.c:     device.string = 
> "192.168.2.31"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: sink.c:     device.description = 
> "RAOP sink '192.168.2.31'"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: sink.c:     device.icon_name = 
> "audio-card"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: source.c: Created source 3 
> "raop.2.monitor" with sample spec s16le 2ch 
> 44100Hz and channel m
> ap front-left,front-right
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: source.c:     device.description 
> = "Monitor of RAOP sink '192.168.2.31'
> "
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: source.c:     device.class = 
> "monitor"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: source.c:     device.icon_name = 
> "audio-input-microphone"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: Thread 
> starting up
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtpoll.c: Acquired POSIX realtime 
> signal SIGRTMIN+26
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-suspend-on-idle.c: Sink 
> raop.2 becomes idle.
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module.c: Loaded 
> "module-raop-sink" (index: #17; argument: "server=192.
> 168.2.31").
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Established RTSP 
> connection from local ip 192.168.2.20
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: CONNECTED
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Sending command: 
> ANNOUNCE
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: client.c: Freed 21 "pactl"
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: protocol-native.c: Connection 
> died.
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Full response 
> received. Dispatching
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: ANNOUNCED
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Sending command: 
> SETUP
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Full response 
> received. Dispatching
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: SETUP
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Sending command: 
> RECORD
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Full response 
> received. Dispatching
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: RECORDED
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: Connection 
> established
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: SO_SNDBUF is 
> 2048.
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: Requested 
> volume: 0: 100% 1: 100%
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: Got hardware 
> volume: 0: 100% 1: 100%
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: Calculated 
> software volume: 0: 100% 1: 100%
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Sending command: 
> SET_PARAMETER
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: module-raop-sink.c: Connection 
> authenticated, handing fd to IO thread..
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: rtsp_client.c: Full response 
> received. Dispatching
> Jan  3 23:29:25 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: SET_PARAMETER
> Jan  3 23:29:30 amadeus4 pulseaudio[28722]: module-suspend-on-idle.c: Sink 
> raop.2 idle for too long, suspending ...
> Jan  3 23:29:30 amadeus4 pulseaudio[28722]: rtsp_client.c: Sending command: 
> FLUSH
> Jan  3 23:29:30 amadeus4 pulseaudio[28722]: rtsp_client.c: Full response 
> received. Dispatching
> Jan  3 23:29:30 amadeus4 pulseaudio[28722]: raop_client.c: RAOP: FLUSHED
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: client.c: Created 22 "Native 
> client (UNIX socket client)"
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: protocol-native.c: Protocol 
> version: remote 15, local 15
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: protocol-native.c: Got 
> credentials: uid=1000 gid=100 success=1
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: protocol-native.c: SHM possible: 
> yes
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: protocol-native.c: Negotiated 
> SHM: yes
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: module-augment-properties.c: 
> Looking for .desktop file for pactl
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: client.c: Freed 22 "pactl"
> Jan  3 23:29:39 amadeus4 pulseaudio[28722]: protocol-native.c: Connection 
> died.
> 
> In case it helps, I could attach the wireshark file too

Yep, it would. You can also try increasing pulseaudio's log verbose
level with the "-vvvv" argument.

> Regards
> Wolfgang
> 
> 
> _______________________________________________
> pulseaudio-discuss mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to