How do I set up live audio streams to a DLNA compliant device?

Takkat

Is there a way to stream the live output of the soundcard from our 12.04.1 LTS amd64 desktop to a DLNA-compliant external device in our network? Selecting media content in shared directories using Rygel, miniDLNA, and uShare is always fine - but so far we completely failed to get a live audio stream to a client via DLNA.

Pulseaudio claims to have a DLNA/UPnP media server that together with Rygel is supposed to do just this. But we were unable to get it running.

We followed the steps outlined in live.gnome.org, this answer here, and also in another similar guide.


In 12.04 LTS we can select the local audio device, or our GST-Launch stream in the DLNA client but Rygel displays the following message and the client states it reached the end of the playlist:

(rygel:7380): Rygel-WARNING **: rygel-http-request.vala:97: Invalid seek request

There was no way to listen to live audio streams on the client.


Only after a distribution upgrade to 14.04 LTS we were able to select a live stream on our DLNA renderers from settings nicely outlined in below answer. Still, we needed to select an established stream after we started rygel and were unable to push a new stream to our UPnP devices. Audio metadata were not transmitted.


Are there any other alternatives for sending the audio of our soundcard as live stream to a DLNA client?

Massimo

Pulseaudio-DLNA

I created a little server which discovers all upnp renderers in your network and adds them as sinks to pulseaudio. So you can control every application via pavucontrol to play on your upnp devices.

That's the kind of comfort I always wanted when dealing with upnp devices under linux.

The application can be installed from source or DEB package downloadable from git, or after we had added the project's official ppa:qos/pulseaudio-dlna to our sources with:

sudo apt-get update && sudo apt-get install pulseaudio-dlna

We then run pulseaudio-dlna from the command line with following options:

pulseaudio-dlna [--host <host>] [--port <port>] [--encoder <encoder>] [--renderer-urls <urls>] [--debug]
pulseaudio-dlna [-h | --help | --version]

See also the pulseaudio-dlna "About" for more.

When there was a DLNA renderer present we can then select it from the sound menu as an output sink:

enter image description here

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How do I set up a server for SSH?

분류에서Dev

How do I set up an email server?

분류에서Dev

How do I connect VLC to a known DLNA server?

분류에서Dev

How do I set up a bash alias for a common working folder?

분류에서Dev

How do I set up Emacs on Linux to read/send mail from Gmail?

분류에서Dev

How do I set up an iAd that works for both iOS 5 and 6? and if possible compatible with all iOS

분류에서Dev

How do I set up a second display via DVI/viewport with a Lenovo T420S?

분류에서Dev

How do I set up Launchy's Runner plugin to launch Everything search

분류에서Dev

How do I set up a multi-project solution in C++?

분류에서Dev

How do I set up a local SOCKS proxy that tunnels traffic through SSH?

분류에서Dev

How do I set up SSH to transfer files from my local machine to a shared server with rsync?

분류에서Dev

Flycheck and Clutter - how can I set it up?

분류에서Dev

Can I setup a loopback audio device?

분류에서Dev

How do I install the latest TeX Live 2012?

분류에서Dev

How do I turn on nanosecond precision when capturing live traffic?

분류에서Dev

How do I speed up this for loop in r

분류에서Dev

How can I monitor the device's audio output to be able to tell if sound is coming out of the speakers/headphone jack?

분류에서Dev

How do I enable multiple audio outputs on Windows 7?

분류에서Dev

How do I automatically split an audio file where a tone occurs?

분류에서Dev

How do I format a byte array to be sent to a characteristic on a BLE device?

분류에서Dev

How do I add my PWA to the share sheet on a mobile device?

분류에서Dev

How do I remove the cache device from bcache?

분류에서Dev

How do I switch on Device Encryption under Windows 10 Home?

분류에서Dev

How do I ask user to switch on the GPS of the device?

분류에서Dev

How can I do unity GPGPU on Android device?

분류에서Dev

How do you set up unit tests without Karma?

분류에서Dev

Repeat audio on seperate playback device after set delay

분류에서Dev

How can I set up logging for node-mongod-native?

분류에서Dev

How can I set up Git branch for automatic backups

Related 관련 기사

  1. 1

    How do I set up a server for SSH?

  2. 2

    How do I set up an email server?

  3. 3

    How do I connect VLC to a known DLNA server?

  4. 4

    How do I set up a bash alias for a common working folder?

  5. 5

    How do I set up Emacs on Linux to read/send mail from Gmail?

  6. 6

    How do I set up an iAd that works for both iOS 5 and 6? and if possible compatible with all iOS

  7. 7

    How do I set up a second display via DVI/viewport with a Lenovo T420S?

  8. 8

    How do I set up Launchy's Runner plugin to launch Everything search

  9. 9

    How do I set up a multi-project solution in C++?

  10. 10

    How do I set up a local SOCKS proxy that tunnels traffic through SSH?

  11. 11

    How do I set up SSH to transfer files from my local machine to a shared server with rsync?

  12. 12

    Flycheck and Clutter - how can I set it up?

  13. 13

    Can I setup a loopback audio device?

  14. 14

    How do I install the latest TeX Live 2012?

  15. 15

    How do I turn on nanosecond precision when capturing live traffic?

  16. 16

    How do I speed up this for loop in r

  17. 17

    How can I monitor the device's audio output to be able to tell if sound is coming out of the speakers/headphone jack?

  18. 18

    How do I enable multiple audio outputs on Windows 7?

  19. 19

    How do I automatically split an audio file where a tone occurs?

  20. 20

    How do I format a byte array to be sent to a characteristic on a BLE device?

  21. 21

    How do I add my PWA to the share sheet on a mobile device?

  22. 22

    How do I remove the cache device from bcache?

  23. 23

    How do I switch on Device Encryption under Windows 10 Home?

  24. 24

    How do I ask user to switch on the GPS of the device?

  25. 25

    How can I do unity GPGPU on Android device?

  26. 26

    How do you set up unit tests without Karma?

  27. 27

    Repeat audio on seperate playback device after set delay

  28. 28

    How can I set up logging for node-mongod-native?

  29. 29

    How can I set up Git branch for automatic backups

뜨겁다태그

보관