View Single Post
Posts: 108 | Thanked: 179 times | Joined on Feb 2012
#36
Originally Posted by Fuzzillogic View Post
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.
Well that's the "normal" way of hooking up PA with Rygel, where Rygel does the discovery/announcement and content negotiation and PA does the streaming itself, trying to keep additional latency out of the game.

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.
The plug-in is self-contained and has no external dependencies. The config in /etc/rygel.conf is the one from upstream with adjusted settings, but nothing removed, so all the examples are there.

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.
Yes, sorry, I know this is inconvenient and actually a bug in the audio case (it should offer the transcoded versions there), but it had to be done. Hopefully can disclose the reasons during this week.

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.
Yes, shell access is sufficient. Didn't notice that there is a stand-alone terminal now, that's why I said "developer mode". I hope to put said tool to store during this week. Enabling the other transcoding options doesn't make sense for the normal user since there are too my knowledge no mpeg2/mp3 encoders and the AAC and H.264 transcoders are horribly broken from the GStreamer side (related to encodebin and muxing).

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.