PipeWire  1.0.5
RTP sink

The rtp-sink module creates a PipeWire sink that sends audio RTP packets.

Module Name

libpipewire-module-rtp-sink

Module Options

Options specific to the behavior of this module

  • source.ip =<str>: source IP address, default "0.0.0.0"
  • destination.ip =<str>: destination IP address, default "224.0.0.56"
  • destination.port =<int>: destination port, default random beteen 46000 and 47024
  • local.ifname = <str>: interface name to use
  • net.mtu = <int>: MTU to use, default 1280
  • net.ttl = <int>: TTL to use, default 1
  • net.loop = <bool>: loopback multicast, default false
  • sess.min-ptime = <int>: minimum packet time in milliseconds, default 2
  • sess.max-ptime = <int>: maximum packet time in milliseconds, default 20
  • sess.name = <str>: a session name
  • sess.ts-offset = <int>: an offset to apply to the timestamp, default -1 = random offset
  • sess.ts-refclk = <string>: the name of a reference clock
  • sess.media = <string>: the media type audio|midi|opus, default audio
  • stream.props = {}: properties to be passed to the stream

General options

Options with well-known behavior:

# Example configuration

1  context.modules = [
2  { name = libpipewire-module-rtp-sink
3  args = {
4  #local.ifname = "eth0"
5  #source.ip = "0.0.0.0"
6  #destination.ip = "224.0.0.56"
7  #destination.port = 46000
8  #net.mtu = 1280
9  #net.ttl = 1
10  #net.loop = false
11  #sess.min-ptime = 2
12  #sess.max-ptime = 20
13  #sess.name = "PipeWire RTP stream"
14  #sess.media = "audio"
15  #audio.format = "S16BE"
16  #audio.rate = 48000
17  #audio.channels = 2
18  #audio.position = [ FL FR ]
19  stream.props = {
20  node.name = "rtp-sink"
21  }
22  }
23 }
24 ]
Since
0.3.60