Pulseaudio-dlna chromecast

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bananabob
Level 3
Level 3
Posts: 143
Joined: Tue Feb 07, 2012 11:05 pm

Pulseaudio-dlna chromecast

Post by bananabob »

I have a problem.
Several days ago I tried to stream from Clementine to my chromecast. It wasn't even recognised by pulseaudio.
Yesterday I did the same and it worked.
Today it was not recognised again.

Now I know this is not the chromecast as it works from the Chrome browser.
I also know it is not the chromecast that is at issue because it will not connect to another streaming device I have.

I am also able to stream to the chromecast from my android tablet.

So how do I go about finding out why I can not get pulseaudio to find the chromecast - sometimes?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Pulseaudio-dlna chromecast

Post by MrEen »

Hi bananabob.

I have zero experience with pulseaudio-dlna as well as Chromecast, but I have a couple of guesses about your issue.

1. Do you run a firewall and if so, have your opened the correct ports for this to work?

2. More likely, have you used something like pavucontrol to move the stream to the Chromecast?
bananabob
Level 3
Level 3
Posts: 143
Joined: Tue Feb 07, 2012 11:05 pm

Re: Pulseaudio-dlna chromecast

Post by bananabob »

MrEen wrote: Fri Nov 16, 2018 5:10 pm Hi bananabob.

I have zero experience with pulseaudio-dlna as well as Chromecast, but I have a couple of guesses about your issue.

1. Do you run a firewall and if so, have your opened the correct ports for this to work?

2. More likely, have you used something like pavucontrol to move the stream to the Chromecast?
The answer to question 1 would be - It works when not using pulseaudio-dlna. And has worked on the odd occasion - so this is not the problem
However question 2's answer is yes - can you expand on this?

Cheers
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Pulseaudio-dlna chromecast

Post by phd21 »

Hi bananabob,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

You do need add a firewall port to allow incoming and outgoing on whatever port you use in pulseaudio-dlna.

I like the pulseaudio-dlna app, but it is finicky sometimes. If you manually switch a song, it will sometimes change the sound device requiring the user to change it back.

If you want to stream music, videos, or pictures, why not use a multimedia server like UMS (ultimate media server)?

Simultaneous Audio to DLNA and hardware audio port - Linux Mint Forums
viewtopic.php?f=48&t=234115&hilit=pulseaudio+dlna
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Pulseaudio-dlna chromecast

Post by MrEen »

bananabob wrote: Sat Nov 17, 2018 12:22 am However question 2's answer is yes - can you expand on this?

Cheers
I was trying to make sure you knew that you might have to move the stream yourself.

phd21 has the experience to get you sorted.

Good luck and happy streaming.
bananabob
Level 3
Level 3
Posts: 143
Joined: Tue Feb 07, 2012 11:05 pm

Re: Pulseaudio-dlna chromecast

Post by bananabob »

phd21 wrote: Sat Nov 17, 2018 2:07 am Hi bananabob,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

You do need add a firewall port to allow incoming and outgoing on whatever port you use in pulseaudio-dlna.

I like the pulseaudio-dlna app, but it is finicky sometimes. If you manually switch a song, it will sometimes change the sound device requiring the user to change it back.

If you want to stream music, videos, or pictures, why not use a multimedia server like UMS (ultimate media server)?

Simultaneous Audio to DLNA and hardware audio port - Linux Mint Forums
viewtopic.php?f=48&t=234115&hilit=pulseaudio+dlna
Here is the output from the commands as requested

inxi -Fxzd
System: Host: palladium Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: System: HP (portable) product: HP 15 Pavilion Notebook PC v: Type1ProductConfigId
Mobo: HP model: 80A4 v: 91.1D Bios: Insyde v: F.80 date: 06/14/2016
CPU: Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10368
clock speeds: max: 3100 MHz 1: 2600 MHz 2: 2600 MHz 3: 2600 MHz
4: 2600 MHz
Graphics: Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 940M] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card Intel Sunrise Point-LP HD Audio
driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network: Card-1: Intel Wireless 3165 driver: iwlwifi bus-ID: 03:00.0
IF: wlo1 state: up mac: <filter>
Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 04:00.0
IF: eno1 state: down mac: <filter>
Drives: HDD Total Size: 1000.2GB (79.5% used)
ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB
Optical: /dev/sr0 model: hp DVDRW GUB0N
rev: UB00 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 67G used: 20G (31%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 835G used: 707G (90%) fs: ext4 dev: /dev/sda6
ID-3: swap-1 size: 16.78GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 62.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 240 Uptime: 1:30 Memory: 2276.2/7816.5MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 04f2:b50d Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Pulseaudio-dlna chromecast

Post by phd21 »

Hi bananabob,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing. You might consider using the nVidia video card rather than the Intel, but the Intel seems to be working fine too.

I do not see anything that would interfere with "pulseaudio-dlna" or other DLNA/UPnP options. Perhaps checking to make sure your WiFi adapter in the laptop is not going to "sleep", going into "power saving" mode. Check your power settings, run "iwconfig", and the link below.

See
09. Speed up your wireless internet
10. Speed up your Intel wireless chipset

Speed up your Mint 19! - Easy Linux tips project
https://sites.google.com/site/easylinuxtipsproject/3

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
bananabob
Level 3
Level 3
Posts: 143
Joined: Tue Feb 07, 2012 11:05 pm

Re: Pulseaudio-dlna chromecast

Post by bananabob »

phd21 wrote: Sat Nov 17, 2018 6:15 pm Hi bananabob,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing. You might consider using the nVidia video card rather than the Intel, but the Intel seems to be working fine too.

I do not see anything that would interfere with "pulseaudio-dlna" or other DLNA/UPnP options. Perhaps checking to make sure your WiFi adapter in the laptop is not going to "sleep", going into "power saving" mode. Check your power settings, run "iwconfig", and the link below.

See
09. Speed up your wireless internet
10. Speed up your Intel wireless chipset

Speed up your Mint 19! - Easy Linux tips project
https://sites.google.com/site/easylinuxtipsproject/3

Hope this helps ...
Just to show you the output from
iwconfig
wlo1 IEEE 802.11 ESSID:"Atomic_5"
Mode:Managed Frequency:5.745 GHz Access Point: C0:56:27:BA:FA:59
Bit Rate=433.3 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-38 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:781 Missed beacon:0

lo no wireless extensions.

eno1 no wireless extensions.

You will notice that I switch Power Management off.

When I ran the lsmod | grep iwlwifi I got the following output but the iwlwifi is not in red - What does that mean?
iwlwifi 249856 1 iwlmvm
cfg80211 614400 3 iwlmvm,iwlwifi,mac80211
Locked

Return to “Software & Applications”