abcdesktopio / pyos

abcdesktop API services
https://abcdesktopio.github.io/
GNU General Public License v2.0
2 stars 2 forks source link

Sound not working in web browsers #10

Open ShouryaVeerDua opened 9 months ago

ShouryaVeerDua commented 9 months ago

Hey Alexandre,

While I was running web browser as a pod application in the release 3.0, I could not hear any sound. I have checked all my configuration and setting but still failing to find a problem. Please find below the json file for chrome app:

{ "acl": { "permit": [ "all" ] }, "cat": "office", "debpackage": " curl gnupg krb5-user fonts-noto fonts-roboto xfonts-100dpi fonts-ubuntu fonts-freefont-ttf dbus-x11 $ "preruncommands": [ "RUN apt update && apt install -y curl && apt install -y gnupg", "RUN curl -Ls https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -", "RUN echo "deb [arch=$(dpkg --print-architecture)] http://dl.google.com/linux/chrome/deb/ stable main" | tee /$ "RUN apt-get update && apt-get install --no-install-recommends -y google-chrome-stable && apt-get clean && rm -$ "icon": "circle_google-chrome.svg", "keyword": "web,browser,internet", "launch": "google-chrome.Google-chrome", "name": "chrome", "rules": { "homedir": { "default": true } }, "displayname": "Chrome", "containerengine": "pod_application", "executeclassname": "bronze", "showinview": "dock", "installrecommends" : true, "path": "/usr/bin/google-chrome-stable", "args": "--disable-dev-shm-usage --no-sandbox --test-type " , "template": "abcdesktopio/oc.template.ubuntu.22.04", "mimetype": "text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;video/$ "legacyfileextensions": "html;xml", "fileextensions": "html;xml;gif", "desktopfile":"/usr/share/applications/google-chrome.desktop", "abcdesktop_release": 3 }

Similar is the issue in other browsers as well . I installed firefox and edge from the applist.json PulseAudio container is running fine in the user pod. Logs of user container and pyos are also fine. Apart from sound everything inside chrome is working fine . Kindly let me know if there is anything to be taken care of apart from this.

Thank You Shourya

chintus777 commented 8 months ago

Hello Shourya,

I am also facing the same issue .

@alexandredevely Can u help please ?

alexandredevely commented 6 months ago

Hello Shourya,

The new release 3.2 support WebRTC stack. You need to install the release 3.2 ( from and empty directory)

curl -sL https://raw.githubusercontent.com/abcdesktopio/conf/main/kubernetes/install-3.2.sh | bash

and then configure TURN server and od.config file

Read the dedicated page https://www.abcdesktop.io/3.2/config/webrtc/

The sound ( Speaker and Microphone ) is ready for pod application

See you Alexandre