TODO: module-rtp: buffering for sender
This should be done to match packet size requirements (e.g. 1 ms) while allowing user's software to run at higher buffer size to not stutter. This will require scheduling multiple rtp_audio_flush_packets calls per one rtp_audio_process_capture call
This commit is contained in:
parent
066e8e1c63
commit
065e819f18
|
@ -452,6 +452,7 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
|
|||
|
||||
pw_properties_setf(props, PW_KEY_NODE_RATE, "1/%d", impl->rate);
|
||||
if (direction == PW_DIRECTION_INPUT) {
|
||||
// TODO: make sess.latency.msec work for sender streams
|
||||
pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%d/%d",
|
||||
impl->psamples, impl->rate);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue