Commit 90b50a1a authored by Benjamin Berg's avatar Benjamin Berg
Browse files

pulseaudio: Fixup name of the created pulseaudio sink

This was still mangled after the project rename. Also add a note to the
README that one needs to change the sink in pulseaudio manually.
parent 5634c5aa
...@@ -4,6 +4,9 @@ The application will stream the selected monitor if the mutter screencast ...@@ -4,6 +4,9 @@ The application will stream the selected monitor if the mutter screencast
portal is available. If it is unavailable, a fallback to X11 based frame portal is available. If it is unavailable, a fallback to X11 based frame
grabbing will happen. As such, it should work fine in almost all setups. grabbing will happen. As such, it should work fine in almost all setups.
To get audio streaming, you need to change the audio output in pulseaudio
to use the created "Network-Displays" sink.
To use it, you will need: To use it, you will need:
* openh264 or x264 * openh264 or x264
* For audio supporting using AAC one of fdkaacenc, faac or avenc_aac * For audio supporting using AAC one of fdkaacenc, faac or avenc_aac
...@@ -31,4 +34,4 @@ Appropriate video/audio encoders will be selected automatically. You can ...@@ -31,4 +34,4 @@ Appropriate video/audio encoders will be selected automatically. You can
modify the choice by setting the NETWORK_DISPLAYS_H264_ENC and NETWORK_DISPLAYS_AAC_ENC modify the choice by setting the NETWORK_DISPLAYS_H264_ENC and NETWORK_DISPLAYS_AAC_ENC
environment variables and specifying the gstreamer element to use (if environment variables and specifying the gstreamer element to use (if
supported and detected). run with G_MESSAGES_DEBUG=all to see the selection supported and detected). run with G_MESSAGES_DEBUG=all to see the selection
at work during connection establishment. at work during connection establishment.
\ No newline at end of file
...@@ -148,9 +148,9 @@ on_pa_nd_sink_got_info (pa_context *c, ...@@ -148,9 +148,9 @@ on_pa_nd_sink_got_info (pa_context *c,
* This means no screencast sink exist, and we need to create it. */ * This means no screencast sink exist, and we need to create it. */
self->operation = pa_context_load_module (self->context, self->operation = pa_context_load_module (self->context,
"module-null-sink", "module-null-sink",
"sink_name=gnome_screencast " "sink_name=gnome_network_displays "
"rate=48000 " "rate=48000 "
"sink_properties=device.description=\"GNOME-Nd\"" "sink_properties=device.description=\"Network-Displays\""
"device.class=\"sound\"" "device.class=\"sound\""
"device.icon_name=\"network-wireless\"", "device.icon_name=\"network-wireless\"",
on_pa_null_module_loaded, on_pa_null_module_loaded,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment