mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-25 08:57:14 -05:00
module-rtp: use sess.latency.msec also for sender
Use the sess.latency.msec also for the sender and use it to control the NODE_LATENCY. Make it a float to be in line with the other time values. Set is to a default of ptime, which was what it used to be. This makes it possible to set the ptime to a smaller value than the sess.latency.msec so that we send out multiple packets per quantum. This will result in some bursty output for now but with a timer that can be improved later. Update the docs a little, mention the new rtp.ptime and rtp.frametime.
This commit is contained in:
parent
ec825086f1
commit
c37f9f9cf0
4 changed files with 24 additions and 12 deletions
|
|
@ -56,7 +56,7 @@
|
|||
* you want to receive packets from or 0.0.0.0 to receive from any source address.
|
||||
* - `source.port = <int>`: the source port
|
||||
* - `node.always-process = <bool>`: true to receive even when not running
|
||||
* - `sess.latency.msec = <str>`: target network latency in milliseconds, default 100
|
||||
* - `sess.latency.msec = <float>`: target network latency in milliseconds, default 100
|
||||
* - `sess.ignore-ssrc = <bool>`: ignore SSRC, default false
|
||||
* - `sess.media = <string>`: the media type audio|midi|opus, default audio
|
||||
* - `stream.props = {}`: properties to be passed to the stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue