Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No sound #3

Open
1 task done
GodAtum360 opened this issue Oct 28, 2024 · 10 comments
Open
1 task done

[BUG] No sound #3

GodAtum360 opened this issue Oct 28, 2024 · 10 comments

Comments

@GodAtum360
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Installed Freetube using Docker Compose. Everything works fine apart from there's no sound.

Expected Behavior

No response

Steps To Reproduce

Broswing to https://ip:3001

Environment

- OS: Ubuntu 20.04
- How docker service was installed: Compose

CPU architecture

x86-64

Docker creation

---
services:
  freetube:
    image: lscr.io/linuxserver/freetube:latest
    container_name: freetube
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped

Container logs

[custom-init] No custom files found, skipping...

[ls.io-init] done.

Connection failure: Connection refused

pa_context_connect() failed: Connection refused

Connection failure: Connection refused

pa_context_connect() failed: Connection refused

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.2 - built Oct 26 2024 19:01:39

Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)

See http://kasmweb.com for information on KasmVNC.

Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server

 2024-10-28 11:08:29,850 [INFO] websocket 0: got client connection from 127.0.0.1

 2024-10-28 11:08:29,870 [PRIO] Connections: accepted: @172.18.0.1_1730113709.850672::websocket

 2024-10-28 11:16:22,277 [PRIO] Connections: closed: @172.18.0.1_1730113709.850672::websocket (Clean disconnection)
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Vaslo
Copy link

Vaslo commented Nov 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Installed Freetube using Docker Compose. Everything works fine apart from there's no sound.

Expected Behavior

No response

Steps To Reproduce

Broswing to https://ip:3001

Environment

- OS: Ubuntu 20.04
- How docker service was installed: Compose

CPU architecture

x86-64

Docker creation

---
services:
  freetube:
    image: lscr.io/linuxserver/freetube:latest
    container_name: freetube
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped

Container logs

[custom-init] No custom files found, skipping...

[ls.io-init] done.

Connection failure: Connection refused

pa_context_connect() failed: Connection refused

Connection failure: Connection refused

pa_context_connect() failed: Connection refused

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.2 - built Oct 26 2024 19:01:39

Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)

See http://kasmweb.com for information on KasmVNC.

Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server

 2024-10-28 11:08:29,850 [INFO] websocket 0: got client connection from 127.0.0.1

 2024-10-28 11:08:29,870 [PRIO] Connections: accepted: @172.18.0.1_1730113709.850672::websocket

 2024-10-28 11:16:22,277 [PRIO] Connections: closed: @172.18.0.1_1730113709.850672::websocket (Clean disconnection)

Also having the same issue, running from an Unraid container. I checked sound on my machine and in other containers and those work fine.

@thelamer
Copy link
Member

thelamer commented Nov 4, 2024

I cannot replicate this on my machines, I wonder if there is a specific host dep that is missing.

Connection refused would indicate that pulse is running but in a weird state.

In the container you can right click the background and open xterm, from there run ps aux |grep pulse, is the service running ?

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@NicoG96
Copy link

NicoG96 commented Dec 15, 2024

In the container you can right click the background and open xterm, from there run ps aux |grep pulse, is the service running ?

# ps aux | grep pulse
root        45  0.0  0.0    220    76 ?        S    12:27   0:00 s6-supervise svc-pulseaudio
abc        191  0.3  0.0 1116504 10112 ?       Ssl  12:27   0:02 /usr/bin/pulseaudio --log-level=0 --log-target=stderr --exit-idle-time=-1
root      9492  0.0  0.0 177648  2196 pts/0    S+   12:39   0:00 grep pulse

Also on Unraid.

@elmartinoAT
Copy link

I have allways no sound after opening FreeTube because kasmvnc audio is deactivated at start,
when i activate the 'loudspeaker-symbol' of kasmvnc (in the top middle overlay ... with folder and mic) everything works fine.

Also when i reload the page, sound is gone again (symbol deactivated again). but can allways be activated again.

latest, docker on synology, tested on Chrome,FF,Edge

Is there an option to start FreeTube/kasmvnc directly with sound activated and remember these setting?

@thelamer
Copy link
Member

No, the image works like this for universal browser support. You need to interact with the page for me to play sound and in many browsers the activation of sound is tied to a button press.

@NicoG96
Copy link

NicoG96 commented Dec 21, 2024

Wow, didn't even see the kasm overlay. Clicking the audio button fixed my issue. Not the most streamlined experience but it works now at least. Thank you @elmartinoAT!

@elmartinoAT
Copy link

elmartinoAT commented Dec 21, 2024

No, the image works like this for universal browser support....

Well thats ok and very usefull but some options will not break this.

And that somebody dont see the overlay is fact, i recognized it also very late on searching for audio-support.

This buttons are not necessary for FreeTube, whats about yt without audio? Or this overlay buttons has to go also to the settings-page of kasm or somewhere else (e.g. freetube-settings).

For the first dirty try i mapped the index.html of the kclient out off the container and changed it only a little bit to work without button press (point body-onload-event to the audio() js function so the toggle of audio runs on open the page).

By the way there are some failures in the kclient index.html ... e.g. loading a deleted js-script ... ok this is adressed by this linuxserver/kclient#8

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

6 participants