maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Request]stream audio output over wifi (https://talk.maemo.org/showthread.php?t=82631)

Sniper_swe 2012-02-27 23:00

[Request]stream audio output over wifi
 
It would be great to be able to stream the audio output . Similar to what http://code.google.com/p/dsbridge/ dsbridge does on desktop computer. All sound you play gets streamed to a webadress like http://localhost:8909 .
Then you could tap into that adress with media player or game console. If u change track on the phone the media player plays that track. This makes it the perfect tool for playing spority to home theater and use the phone to controll whats playing:)
Any ideas on how to make this work?

tigas 2012-02-28 00:35

Re: [Request]stream audio output over wifi
 
Or, for extra awesomeness, port an Airplay library to Harmattan - now XBMC supports receiving Airplay streams, so you don't need to lock yourself to Apple.

jalyst 2012-02-28 02:20

Re: [Request]stream audio output over wifi
 
Quote:

Originally Posted by Sniper_swe (Post 1170989)
It would be great to be able to stream the audio output . Similar to what http://code.google.com/p/dsbridge/ dsbridge does on desktop computer. All sound you play gets streamed to a webadress like http://localhost:8909 .
Then you could tap into that adress with media player or game console. If u change track on the phone the media player plays that track. This makes it the perfect tool for playing spority to home theater and use the phone to controll whats playing:)
Any ideas on how to make this work?

Coulda sworn this post says the DLNA functionality brings this (have had no sleep though)
Also my post there (u/n = Jed) has been answered, & it's great news! :D (make sure you read it)

DarkSkies 2012-02-28 02:25

Re: [Request]stream audio output over wifi
 
PR1.2 brings DLNA server to N9. Hey OP, problem solved :D

Fuzzillogic 2012-02-28 03:39

Re: [Request]stream audio output over wifi
 
Quote:

Originally Posted by DarkSkies (Post 1171097)
PR1.2 brings DLNA server to N9. Hey OP, problem solved :D

That won't work with games etc. Streaming should be possible with gstreamer and / or PulseAudio. I have no experience with this, so I don't know how. :( Would be fun though!

YavkatA 2012-02-28 07:52

Re: [Request]stream audio output over wifi
 
With current pulseaudio, this should be easy to do for a Linux machine:

n9->pulseaudio@n9->network->pulseaudio@computer->computer

On a regular Linux machine, you could easiliy set this up from a GUI, using Avahi (zeroconf). Since harmattan does not include zeroconf, you'll have to create the appropriate sinks and sources manually through the pacmd utility. It seems like this utility is also missing from harmattan, but it's in pulseaudio-utils in the harmattan-dev repository. I will hopefully find some time to look into this in the near future, and I'll post a guide if I figure it out.

EDIT: the pacmd utility from harmattan-dev won't run without openmode.. There is a way to set up a network sink from the configuration file, but I haven't tested it yet.

Sniper_swe 2012-02-28 09:01

Re: [Request]stream audio output over wifi
 
Quote:

Originally Posted by DarkSkies (Post 1171097)
PR1.2 brings DLNA server to N9. Hey OP, problem solved :D

Not really what I was thinking about though:P

Sniper_swe 2012-02-28 09:09

Re: [Request]stream audio output over wifi
 
Thanks YavkatA!
I hope you can figure something out.

The good thing about this is that we would be able to play any sound that the n9 can play. Dlna and playto apps are great but they never work with internet radio, spotify, musiccloud and such.
With this we can output all sound even from games and youtube sound without any cables:) And get to have the soundsource in your pocket so its easy to controll and change music:)

The media center or pc becomes a wireless speaker for our n9/n950's:)
Maybe possible for more then one pc or mediaplayer to connect to the stream and get sound in multiple areas?

Sniper_swe 2012-02-28 16:40

Re: [Request]stream audio output over wifi
 
I got this as a tip on fmo.:
__________________________________________

Well, pulseaudio (the sound manager on meego) is able to stream over http. If the module is available on meego, you should set "load-module module-http-protocol-tcp" probably in /etc/pulse/system.pa. I'm not sure you will have to check.

You can even "publish" this with rygel (https://live.gnome.org/Rygel/Pulseaudio)

_______________________________________

I dont know how to try it though::(

YavkatA 2012-02-28 18:47

Re: [Request]stream audio output over wifi
 
Quote:

Originally Posted by Sniper_swe (Post 1171384)
I got this as a tip on fmo.:
__________________________________________

Well, pulseaudio (the sound manager on meego) is able to stream over http. If the module is available on meego, you should set "load-module module-http-protocol-tcp" probably in /etc/pulse/system.pa. I'm not sure you will have to check.

You can even "publish" this with rygel (https://live.gnome.org/Rygel/Pulseaudio)

_______________________________________

I dont know how to try it though::(

Interesting.. but again, we need openmode to install Rygel. For now, I am trying to figure out a way to enable streaming with what we currently have installed. I tried using the $PULSE_SERVER environmental variable, but the default music player doesn't seem to respect it. Another thing that we can try is setting
Code:

default-server=tcp:REMOTEIP:4713
in /etc/pulse/client.conf. This will probably work, but it is unpractical to have to change the config every time you want to stream over the network.


All times are GMT. The time now is 18:01.

vBulletin® Version 3.8.8