Comments (16)
It would be great to have this feature even without latency settings!
The pacmd commands by ryanroth somehow don't work for me: I created a combined sink of my analog output and a dlna renderer in the same LAN. I can play music on both of them separately but when I select the combined sink as output, pulseaudio-dlna
instructs the dlna device to stop playing. pavucontrol
shows that there should be audio playing on both of them.
I tried to rebase the commit myself, but the code has changed so much that it's pretty hard without having worked on the project before. Do you think you have time to do this?
from pulseaudio-dlna.
Can you describe the process of doing this with pulseaudio?
from pulseaudio-dlna.
pacmd load-module module-combine-sink sink_name=combine sink_properties=device.description=myCombine slaves=remap50,remapLFE channel_map=front-left,center,front-right,rear-left,rear-right,lfe channels=6
from pulseaudio-dlna.
That will create a new device called Combine from the slaves
from pulseaudio-dlna.
This is very cool.
Is your sound is sync? Because i guess every device recieves its own stream and therefore there its highly possible that they are not synchronous.
from pulseaudio-dlna.
Mine were all in sync. My TV had the option to adjust the delay on it in pavucontrol. It would be cool if you could work in audio delay/offset in the devices that are created my pulseaudio-dnla.
from pulseaudio-dlna.
Which TV do you have and where is that option in pacontrol exactly?
What do you mean with your last sentence? 😃
from pulseaudio-dlna.
A Sharp lcd running off hdmi.
Expand advance under the volume slider.
It would be nice if the DNLA devices that are created had the offset slider like my video cards hdmi port does.
from pulseaudio-dlna.
Okay, mine are not in sync. So that yours are in sync is by coincidence i guess. Or the sonos devices have some special feature which does that.
There is a major problem with that feature. As soon as you add the combine-sink pulseaudio constantly adds virtual streams for all the specified sinks.
Since pulseaudio-dlna reacts to those changes your devices will always play. There is no method in shutting them down as long as the combine-sink exists.
If you switch to another sink (e.g. to your HDMI monitor sink) the devices won't playback any sound anymore, because pulseaudio does not transmit any data to those virtual streams. But since the virtual streams will persists pulseaudio-dlna will still stream zero-data to your devices. You just don't hear it.
combine-sinks currently break the whole architecture 😄 , but i will play with it a bit to see what can be done.
from pulseaudio-dlna.
Are all your devices the same manufacture?
Awesome. Thanks.
from pulseaudio-dlna.
2 of them are. One self build via software and a chromecast.
from pulseaudio-dlna.
I quickly hacked the basics in.
There is quite some stuff necessary to cheat the pulseaudio mechanics. No zones, no channels yet, just a new sink which plays on all found devices.
This is just a proof of concept, don't expect too much. But in contrast to your solution, it will stop playing if you give the order.
You can checkout the result here.
from pulseaudio-dlna.
I have just seen your request for the the latency offset. As is seems thats not possible because of pulseaudio. See the post here. Summarized: Pulseaudio supports latency offset only for ALSA and bluetooth devices.
There is really nothing i can do about this, sorry.
from pulseaudio-dlna.
The branch for combined sinks still exists. I suppose it was never merged as it didn't get testing?
from pulseaudio-dlna.
Note: This is not needed (perhaps not even ideal?) if you want to use multiple Sonos speakers as one. You can use a Sonos client (eg. socos) to choose a room/speaker and group as you wish. Choose that room/speaker as your Pulse output.
from pulseaudio-dlna.
I wanted to run the following & get output on my chromecast & usb soundcard:
pacmd load-module module-combine-sink sink_name=output channels=2 adjust_time=1 slaves=my_chromecast,alsa_output.usb-Turtle_Beach_Blah_Blah.analog-stereo
The chromecast device does not output any audio though in this case. Even if it were out of sync, it would be very useful to have. Is there any way we can re-open this ticket, in some form?
from pulseaudio-dlna.
Related Issues (20)
- Chrome OS Support
- non-critical (?) error during setup of pulseaudio-dlna with Python 3.8
- The device "Living Room speaker (Chromecast)" failed to play! (500) - Unknown exception
- Outdated? 2020... HOT 3
- Any way to make this never the default ?
- ValueError: invalid literal for int() with base 10: '119,192.168.0.9' HOT 4
- Error after Kodi Update: pyupnpv2 - Connection timeout
- Don't work with pipewire-pulseaudio HOT 11
- "An exception happened" HOT 2
- Kubuntu 21.04 w/ backports HOT 1
- Is this project dead? HOT 1
- [not an issue] Addition to the Tested Device List: Allo Boss2 Player ruinning Moode UPNP (DLNA) - tested
- pulseaudio-dlna connects - but no sound! HOT 2
- Request 24 bit 96000 audio ouput
- Another request for FLAC 24/96 streaming
- Add support for OpenHome HOT 1
- Cannot add PPA: ''This PPA does not support focal''. HOT 1
- pulseaudio_dlna.streamserver provides wrong sample specs HOT 2
- Add more maintainers
- Propose another choice to stream audio to DLNA devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-dlna.