[pulseaudio-discuss] Select channel for module-rtp-send

Maarten Bosmans mkbosmans at gmail.com
Tue May 25 01:54:09 PDT 2010


I have a USB soundcard as a stereo source in PulseAudio and want to
send the audio as a RTP stream over the network. The two channels are
unrelated (well not completely, one is the audio from the
front-of-house mixing console and the other the combined signal from
two room mics) so I would like to have two separate mono RTP streams.

As far as I can see this is not possible with current PA. I can see
two solutions. A new module-remap-source. So there can be two mono
sources derived from each channel of the soundcard and I can set up
two rtp-send modules. The other is to add a channel_map parameter to
module-rtp send, so a mono rtp stream can come from any channel of the
source, instead of only the mono channel.

Which approach would be preferable? I could see the value in
implementing both (eventually). A new module-remap-source would fix an
obvious gap in the symmetry between sinks and sources, and could
potentionally be useful in other scenario's too. I think I saw a bug
report about the lack of a channel_map parameter for module-rtp-sink,
so adding that to both rtp modules would be good too.

Any thoughts on which steps to take?


More information about the pulseaudio-discuss mailing list