[pulseaudio-tickets] [PulseAudio] #49: error while streaming audio form gstreamer through a tunnel
PulseAudio
trac-noreply at tango.0pointer.de
Mon Dec 25 08:25:10 PST 2006
#49: error while streaming audio form gstreamer through a tunnel
----------------------------------+-----------------------------------------
Reporter: adamx | Owner: lennart
Type: defect | Status: new
Priority: high | Milestone:
Component: module-tunnel | Severity: normal
Keywords: tunnel gstreamer gst |
----------------------------------+-----------------------------------------
I have a small network with to linux boxes: a notebook (called lena) and a
desktop computer (called emeleti). I'm trying to get the sound played on
the laptop to the big speakers connected to the desktop computer.
Playback with direct connection (using PULSE_SERVER enviroment variable)
works great. However sometimes I'd like to switch back to the notebook's
speakers (eg. when the wireless connection is broken) ... and without
having to restart my applications. So I decided to use a tunnel.
Tunnel also works great ... with some apps (eg. mplayer). But when I
switch a rhythmbox (gstreamer) stream to the tunnel, after a few seconds
of normal operation (I can hear the sound from the big speakers) I get the
following error on the notebook and the tunnel unloads:
{{{
pdispatch.c: Recieved unsupported command 63
module-tunnel.c: invalid packet
}}}
I'm using:
* gst-pulse-0.9.4
* pulseaudio-0.9.5 (on both computers)
* mplayer dev-SVN-r21766-4.1.2 (patched and with "-ao pulse")
Full output from the pulseaudio server running on the notebook:
{{{
$ pulseaudio -C --log-level=4
caps.c: dropping root rights.
module-hal-detect.c: Trying capability 0 (alsa)
alsa-util.c: Using mixer control "PCM".
sink.c: created 0 "alsa_output.pci_8086_27d8_alsa_playback_0" with sample
spec "s16le 2ch 44100Hz"
source.c: created 0 "alsa_output.pci_8086_27d8_alsa_playback_0.monitor"
with sample spec "s16le 2ch 44100Hz"
module-alsa-sink.c: using 8 fragments of size 1376 bytes.
module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=hw:0
sink_name=alsa_output.pci_8086_27d8_alsa_playback_0").
alsa-util.c: Using mixer control "Capture".
source.c: created 1 "alsa_input.pci_8086_27d8_alsa_capture_0" with sample
spec "s16le 2ch 44100Hz"
module-alsa-source.c: using 12 fragments of size 1376 bytes.
module.c: Loaded "module-alsa-source" (index: #1; argument: "device=hw:0
source_name=alsa_input.pci_8086_27d8_alsa_capture_0").
module-hal-detect.c: loaded 2 modules.
module.c: Loaded "module-hal-detect" (index: #2; argument: "").
module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
protocol-native.c: loading cookie from disk.
module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
module-volume-restore.c: starting with empty ruleset.
module.c: Loaded "module-volume-restore" (index: #5; argument: "").
module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
memblock.c: Memory block too large for pool: 59392 > 16376
module.c: Loaded "module-x11-bell" (index: #7; argument:
"sample=x11-bell").
module-x11-publish.c: using already loaded auth cookie.
module.c: Loaded "module-x11-publish" (index: #8; argument: "").
module.c: Loaded "module-gconf" (index: #9; argument: "").
client.c: created 0 "STDIN/STDOUT client"
module.c: Loaded "module-cli" (index: #10; argument: "exit_on_eof=1").
main.c: Daemon startup complete.
Welcome to PulseAudio! Use "help" for usage information.
>>> client.c: created 1 "Native client (UNIX socket client)"
protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
protocol-native.c: Enabled SHM for new connection
client.c: client 1 changed name from "Native client (UNIX socket client)"
to "PulseAudio Volume Control"
>>> load-module module-tunnel-sink server=emeleti
module-tunnel.c: using already loaded auth cookie.
sink.c: created 1 "tunnel.emeleti" with sample spec "s16le 2ch 44100Hz"
source.c: created 2 "tunnel.emeleti.monitor" with sample spec "s16le 2ch
44100Hz"
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
core-subscribe.c: dropped redundant event.
module.c: Loaded "module-tunnel-sink" (index: #11; argument:
"server=emeleti").
>>> module-alsa-sink.c: *** ALSA-XRUN (playback) ***
module-alsa-source.c: *** ALSA-XRUN (capture) ***
module-alsa-sink.c: *** ALSA-XRUN (playback) ***
client.c: created 2 "Native client (UNIX socket client)"
protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
protocol-native.c: Enabled SHM for new connection
client.c: client 2 changed name from "Native client (UNIX socket client)"
to "gstreamer[rhythmbox]"
sink-input.c: created 0 "Playback Stream" on
alsa_output.pci_8086_27d8_alsa_playback_0 with sample spec s16le 2ch
44100Hz
memblockq.c: memblockq requested: maxlength=70560, tlength=35280, base=4,
prebuf=1764, minreq=1764
memblockq.c: memblockq sanitized: maxlength=70560, tlength=35280, base=4,
prebuf=1764, minreq=1764
module-volume-restore.c: Creating new entry for <pulsecore/protocol-
native.c$gstreamer[rhythmbox]>
memblockq.c: memblockq requested: maxlength=1048576, tlength=0, base=4,
prebuf=0, minreq=0
memblockq.c: memblockq sanitized: maxlength=1048576, tlength=1048576,
base=4, prebuf=0, minreq=1
sink-input.c: created 1 "Ghost Stream" on
alsa_output.pci_8086_27d8_alsa_playback_0 with sample spec s16le 2ch
44100Hz
module-volume-restore.c: Saving sink for <pulsecore/protocol-
native.c$gstreamer[rhythmbox]>
sink-input.c: freed 1 "Ghost Stream"
pdispatch.c: Recieved unsupported command 63
module-tunnel.c: invalid packet
module-rescue-streams.c: Sucessfully moved sink input 0 "Track 12" to
alsa_output.pci_8086_27d8_alsa_playback_0.
module-rescue-streams.c: No source outputs to move away.
sink.c: freed 1 "tunnel.emeleti"
source.c: freed 2 "tunnel.emeleti.monitor"
module.c: Unloading "module-tunnel-sink" (index: #11).
module.c: Unloaded "module-tunnel-sink" (index: #11).
module-volume-restore.c: Saving sink for <pulsecore/protocol-
native.c$gstreamer[rhythmbox]>
sink-input.c: freed 0 "Track 12"
client.c: freed 2 "gstreamer[rhythmbox]"
client.c: freed 1 "PulseAudio Volume Control"
main.c: Got signal SIGINT.
main.c: Exiting.
main.c: Daemon shutdown initiated.
module.c: Unloading "module-alsa-sink" (index: #0).
module-rescue-streams.c: No sink inputs to move away.
module-rescue-streams.c: No source outputs to move away.
sink.c: freed 0 "alsa_output.pci_8086_27d8_alsa_playback_0"
source.c: freed 0 "alsa_output.pci_8086_27d8_alsa_playback_0.monitor"
module.c: Unloaded "module-alsa-sink" (index: #0).
module.c: Unloading "module-alsa-source" (index: #1).
module-rescue-streams.c: No source outputs to move away.
source.c: freed 1 "alsa_input.pci_8086_27d8_alsa_capture_0"
module.c: Unloaded "module-alsa-source" (index: #1).
module.c: Unloading "module-hal-detect" (index: #2).
module.c: Unloaded "module-hal-detect" (index: #2).
module.c: Unloading "module-esound-protocol-unix" (index: #3).
module.c: Unloaded "module-esound-protocol-unix" (index: #3).
module.c: Unloading "module-native-protocol-unix" (index: #4).
module.c: Unloaded "module-native-protocol-unix" (index: #4).
module.c: Unloading "module-volume-restore" (index: #5).
module-volume-restore.c: failed to open file '(null)': Nincs ilyen fájl
vagy könyvtár
module.c: Unloaded "module-volume-restore" (index: #5).
module.c: Unloading "module-rescue-streams" (index: #6).
module.c: Unloaded "module-rescue-streams" (index: #6).
module.c: Unloading "module-x11-bell" (index: #7).
module.c: Unloaded "module-x11-bell" (index: #7).
module.c: Unloading "module-x11-publish" (index: #8).
module.c: Unloaded "module-x11-publish" (index: #8).
module.c: Unloading "module-gconf" (index: #9).
module.c: Unloaded "module-gconf" (index: #9).
module.c: Unloading "module-cli" (index: #10).
client.c: freed 0 "STDIN/STDOUT client"
module.c: Unloaded "module-cli" (index: #10).
main.c: Daemon terminated.
}}}
--
Ticket URL: <http://pulseaudio.org/ticket/49>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list