Lines Matching defs:mtu
69 size_t mtu;
84 static bool init_send_pipeline(pa_rtp_context *c, int fd, uint8_t payload, size_t mtu, const pa_sample_spec *ss, bool enable_opus) {
129 g_object_set(appsrc, "caps", caps, "is-live", TRUE, "blocksize", mtu, "format", 3 /* time */, NULL);
130 g_object_set(pay, "mtu", mtu, NULL);
205 pa_rtp_context* pa_rtp_context_new_send(int fd, uint8_t payload, size_t mtu, const pa_sample_spec *ss, bool enable_opus) {
219 c->mtu = mtu - RTP_HEADER_SIZE;
220 c->send_buf = pa_xmalloc(c->mtu);
228 if (!init_send_pipeline(c, fd, payload, mtu, ss, enable_opus))
282 if (pa_memblockq_get_length(q) < c->mtu)
300 size_t k = n + chunk.length > c->mtu ? c->mtu - n : chunk.length;
312 if (r < 0 || n >= c->mtu) {
344 if (r < 0 || pa_memblockq_get_length(q) < c->mtu)