Coder Social home page Coder Social logo

Android/BubbleUpnp about pulseaudio-dlna HOT 8 CLOSED

masmu avatar masmu commented on July 19, 2024
Android/BubbleUpnp

from pulseaudio-dlna.

Comments (8)

masmu avatar masmu commented on July 19, 2024

Which distro do you use?

The process which records your audio stream fails on starting. It seems as the necessary commands could not be found on your system.
Check if the commands parec and lame are available on your system.
In your case i guess it is lame which is missing.

from pulseaudio-dlna.

w3stley avatar w3stley commented on July 19, 2024

I use Debian Jessie.
I have installed lame, but nothing happens.
But i also dont get any hint on the app about a possible connection.
When i enter the ip manually, i get this:
https://gist.github.com/w3stley/1ea64161665c032c788b#file-2nd-error

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024

What you can do: Insert the following three lines in pulseaudio-dlna/pulseaudio_dlna/upnp/server.py, line 70.

print(bridge)
print(self.server.recorder_cmd.format(bridge.sink.monitor).split(' '))
print(self.server.encoder_cmd.split(' '))

so, that it looks like:

    def create_processes(self, bridge):
        print(bridge)
        print(self.server.recorder_cmd.format(bridge.sink.monitor).split(' '))
        print(self.server.encoder_cmd.split(' '))
        recorder_process = subprocess.Popen(
            self.server.recorder_cmd.format(
                bridge.sink.monitor).split(' '),
            stdout=subprocess.PIPE)
        encoder_process = subprocess.Popen(
            self.server.encoder_cmd.split(' '),
            stdin=recorder_process.stdout,
            stdout=subprocess.PIPE)
        recorder_process.stdout.close()
        return recorder_process, encoder_process

Then save and try again and please paste the output.

Perhaps this is about some legal issues with mp3 encoding in lame. In past versions of ubuntu you had to install lame from the multiverse repository to also get encoding features.

from pulseaudio-dlna.

w3stley avatar w3stley commented on July 19, 2024

Can it be that it is necessary that you need a sound source so that BubbleUPnP can connect?
Because i have tested it and now it works fine, much better then rygel. Thank you for your help.
But is there a possibility so that the latency is under 10s?

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024

What do you mean by sound source?
You just start BubbleUPnP and leave it. You don't have to do anything in BubbleUPnP.
When BubbleUPnP is started, just switch the application sound stream to 'BubbleUPnP (SM-G800F)' via pavucontrol as it is shown in the README image.

The latency is mostly network related. More information about that #51 here.
How fast it can be can be viewed in that really cool video. But in that setup it is used with cable connection.
I have a latency about 3 seconds on wifi... But i am sitting next to the wifi transmitter.

from pulseaudio-dlna.

w3stley avatar w3stley commented on July 19, 2024

e.g. youtube, vlc.
If i connect with BubbleUPnP to Windows, i select Windows in BubbleUPnP. Here it is not so.
So it work now. I wil check the links.

from pulseaudio-dlna.

masmu avatar masmu commented on July 19, 2024

pulseaudio-dlna is not a DMS (Digital Media Server). It is made for redirecting streams from your pc to devices, not made for accessing files on your pc via the devices.

from pulseaudio-dlna.

w3stley avatar w3stley commented on July 19, 2024

yes, i know. But the connecting is a bit different, so at first i was a bit confused.
With switching to the html5-player, youtube is imho a bit faster.

from pulseaudio-dlna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.