View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#35
Originally Posted by phako View Post
Hi, let me put everything I was requested to comment on in one post:

About Push support:

Last thing I know is that the cancelled push support might be available through the store after PR1.2 is out; the push support included images only.

Distributing what's currently played via DLNA:
That's not possible using the usual Rygel + PulseAudio route for at least four reasons:

a) PulseAudio is missing at least one module (module-rygel-media-server)
b) Even if it had those, the version of Pulse used is missing the two patches that fixed that module
c) Rygel is missing the DBus consumer module (because it causes a sh*tload of wakeups)
d) Rygel is missing an upstream patch needed to make the DBus consumer plugin work with templated URIs (which the PA support uses)
I can't see why this depends on PA. With gstreamer you already have access to the audio-outs of the device, without futher configuration needed to PA.

That said, if you get the GstLaunch plugin compiled and installed, you could try to follow the instructions here: http://askubuntu.com/questions/83611...er/99892#99892. The Rygel version used in PR1.2 is this commit: https://meego.gitorious.org/maemo-mu...175d6ae8575b9f
But with the GstLaunch plug-in compiled and enabled, would the example-config already present in /etc/rygel.conf work? E.g. would it produce audio/video test streams? If so, I guess we're half way there. AFAIK, all dependencies for the plug-in are met, only the binary is needed. If someone could compile the plug-in we could find out.

Regarding 1080p streaming:

Again, that does not work out of the box (for non-technical reasons I hopefully can announce next week) for any random format but only for H.264 high profile videos with EAC3 audio.

This is easy to solve though with developer mode, just edit /home/user/.config/rygel.conf and set strict-sharing to false. If the file does not exist, you can copy it from /etc.
Uch! I just spend a few hours wondering why no videos and FLAC-audio showed up on the remote devices. That did work with PR1.1 with Rygel from Harmattan beta3-rep... But it turns out it was just this flag! With strict-sharing set to false, the downloaded TED videos and FLAC music play fine on my Samsung TV.

You don't need to be root for this, as the config is owned by the user. I guess it would be easy to whip up a very little tool that can fix this setting for everyone, making sharing a quite bit more usefull. While at it, you might want to have a look at enabling the other transcoding options.

So to sum it up:
  1. Get the binary for Rygel's GstLaunch plug-in
  2. configure library path in Rygel, so the library can be found
  3. Enable the library in the [GstLaunch] section
  4. Start Rygel
  5. There should be an extra device on the network, with three test streams.
 

The Following User Says Thank You to Fuzzillogic For This Useful Post: