Re: [pulseaudio-discuss] rygel mediaserver
Solved! My WDTV now plays the live-audio stream with no problem! For the record: HTTP HEAD *is* broken in 0.9.22, but is fixed in git master in commit f8aceafb1321fb2254f6cafea25c14f07a78ad49 This was ticket http://pulseaudio.org/ticket/781 with attached patch. I fixed my debian system by applying that patch to the 0.9.22 sources and recompiling. coling said he'll apply it for 0.9.23 as well. Cheers! - Gunnar On 13/04/11 20:11, Gunnar Aastrand Grimnes wrote: A tiny bit more detail - I tried running wireshark while trying to play the stream, the WDTV asks for the stream: HEAD /listen/source/alsa_output.pci-_00_06.1.analog-stereo.monitor HTTP/1.0\r\n [...] And pulseaudio responds: HTTP/1.0 500 Internal Server Error\n :) The body returned contains no more useful info. Testing the same with curl give the same result: curl -I http://localhost:4714/listen/source/alsa_input.pci-_00_06.1.analog-stereo HTTP/1.0 500 Internal Server Error Connection: close Content-Type: text/html; charset=utf-8 Cache-Control: no-cache Expires: 0 Server: pulseaudio/0.9.22 Actually HTTP GET'ing the stream with curl works fine. I made a ticket: http://pulseaudio.org/ticket/933 Cheers! - Gunnar On 12/04/11 21:50, Gunnar Aastrand Grimnes wrote: I think you have to load module-protocol-http as well (not sure I've got the name totally correct). That's the one I meant when I said I have also enabled the http-tcp module, - it's called module-http-protocol-tcp I tried it with my PS3 but never got very far (it defo did try to talk to the http module tho') If you get it working with your WDTV box just by loading http protocol, please report back and I'll tweak paprefs. No such luck. Running pa in a console it says: I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 12 HTTP client (TCP/IP client from 192.168.178.99:41994) I: client.c: Freed 12 HTTP client (TCP/IP client from 192.168.178.99:41994) immediately, and the WDTV says unable to play the selected file. With my LG HB405SU there is on such message, but rygel says: ** (rygel:10171): WARNING **: rygel-http-request.vala:91: Invalid seek request When I try to play the stream. Cheers, - Gunnar ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] rygel mediaserver
A tiny bit more detail - I tried running wireshark while trying to play the stream, the WDTV asks for the stream: HEAD /listen/source/alsa_output.pci-_00_06.1.analog-stereo.monitor HTTP/1.0\r\n [...] And pulseaudio responds: HTTP/1.0 500 Internal Server Error\n :) The body returned contains no more useful info. Testing the same with curl give the same result: curl -I http://localhost:4714/listen/source/alsa_input.pci-_00_06.1.analog-stereo HTTP/1.0 500 Internal Server Error Connection: close Content-Type: text/html; charset=utf-8 Cache-Control: no-cache Expires: 0 Server: pulseaudio/0.9.22 Actually HTTP GET'ing the stream with curl works fine. I made a ticket: http://pulseaudio.org/ticket/933 Cheers! - Gunnar On 12/04/11 21:50, Gunnar Aastrand Grimnes wrote: I think you have to load module-protocol-http as well (not sure I've got the name totally correct). That's the one I meant when I said I have also enabled the http-tcp module, - it's called module-http-protocol-tcp I tried it with my PS3 but never got very far (it defo did try to talk to the http module tho') If you get it working with your WDTV box just by loading http protocol, please report back and I'll tweak paprefs. No such luck. Running pa in a console it says: I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 12 HTTP client (TCP/IP client from 192.168.178.99:41994) I: client.c: Freed 12 HTTP client (TCP/IP client from 192.168.178.99:41994) immediately, and the WDTV says unable to play the selected file. With my LG HB405SU there is on such message, but rygel says: ** (rygel:10171): WARNING **: rygel-http-request.vala:91: Invalid seek request When I try to play the stream. Cheers, - Gunnar ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] rygel mediaserver
'Twas brillig, and Gunnar Aastrand Grimnes at 11/04/11 11:27 did gyre and gimble: Hi all, What is the status of the rygel mediaserver integration atm? In paprefs I can enable upnp/dnla sharing, and the services and stream appears in any players on my network, however, actually playing the stream does not work. I have tried with my WDTV box, a LG BlueRay+DLVA player and simply playing the stream locally with the upnp-inspector. I have also enabled the http-tcp module, as someone said this was needed. The rygel webpage says something about MediaServer spec v1 being deprecated, and that pulse needs to implement v2, but this appears to be done here: http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/modules/module-rygel-media-server.c;hb=ff7acb4d059e21b318b0464ee6fd1785318071cc Does anyone have this working? Any hints for debugging what goes wrong? I think you have to load module-protocol-http as well (not sure I've got the name totally correct). I tried it with my PS3 but never got very far (it defo did try to talk to the http module tho') If you get it working with your WDTV box just by loading http protocol, please report back and I'll tweak paprefs. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] rygel mediaserver
I think you have to load module-protocol-http as well (not sure I've got the name totally correct). That's the one I meant when I said I have also enabled the http-tcp module, - it's called module-http-protocol-tcp I tried it with my PS3 but never got very far (it defo did try to talk to the http module tho') If you get it working with your WDTV box just by loading http protocol, please report back and I'll tweak paprefs. No such luck. Running pa in a console it says: I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 12 HTTP client (TCP/IP client from 192.168.178.99:41994) I: client.c: Freed 12 HTTP client (TCP/IP client from 192.168.178.99:41994) immediately, and the WDTV says unable to play the selected file. With my LG HB405SU there is on such message, but rygel says: ** (rygel:10171): WARNING **: rygel-http-request.vala:91: Invalid seek request When I try to play the stream. Cheers, - Gunnar ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss