GithubHelp home page GithubHelp logo

ce1cecl / pulseaudio-module-xrdp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neutrinolabs/pulseaudio-module-xrdp

0.0 0.0 0.0 142 KB

xrdp sink / source pulseaudio modules

License: GNU Lesser General Public License v2.1

Shell 26.83% C 63.45% Makefile 2.02% M4 7.71%

pulseaudio-module-xrdp's Introduction

Build Status Gitter (xrdp)

Overview

xrdp implements Audio Output redirection using PulseAudio, which is a sound system used on POSIX operating systems.

The server to client audio redirection is implemented as per Remote Desktop Protocol: Audio Output Virtual Channel Extension [MS-RDPEA] specs, which means it is interoperable with any RDP client which implements it (most of them including: MS RDP clients, FreeRDP).

The client to server audio redirection is implemented as per Remote Desktop Protocol: Audio Input Redirection Virtual Channel Extension [MS-RDPEAI] which means it is interoperable with any RDP client which implements it (most of them including: MS RDP clients, FreeRDP).

How to build

These modules make use of the internal pulseaudio module API. To build them you need access to the pulseaudio sources and configuration.

Be aware that the pulseaudio application development packages provided with many distributions do not contain the files necessary to use the pulseaudio module API. Consequently, the preparation for building these modules can be a little more involved than just installing development tools and packages.

Consult the Pulseaudio Wiki for instructions on building the modules for your platform:-

https://github.com/neutrinolabs/pulseaudio-module-xrdp/wiki

Install

One the modules have been built, sudo make install should do the following:-

  • Install the modules to the correct directory
  • Install a script load_pa_modules.sh to load the modules when a session is started. On many systems this script is installed by default in /usr/libexec/pulseaudio-module-xrdp/
  • Install a desktop file pulseaudio-xrdp.desktop which will call the load_pa_modules.sh script when a desktop is loaded. On many systems this script is installed by default in /etc/xdg/autostart

Note that the modules will only be loaded automatically when the desktop starts if your desktop supports the XDG autostart specification. Most modern desktops support this.

You can confirm if the modules are properly installed by following command:

ls $(pkg-config --variable=modlibexecdir libpulse) | grep xrdp

If you can see module-xrdp-sink.so and module-xrdp-source.so, PulseAudio modules are properly built and installed.

Enjoy!

See if it works

The easiest way to test this is to use the paplay command to play an audio file.

You can also do the following:-

  • run pavumeter in the xrdp session-
  • Playback any YouTube video in Firefox.

You'll see "Showing signal levels of xrdp sink" and volume meter moving.

pulseaudio-module-xrdp's People

Contributors

metalefty avatar matt335672 avatar jsorg71 avatar proski avatar speidy avatar lk2000 avatar natureshadow avatar

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.