Commit 9099046c authored by Zhao Zhili's avatar Zhao Zhili Committed by Marton Balint

avformat/libsrt: send message in order

There is no good use case for out of order delivery of data. For live
streaming with TSBPD enabled by default, the receiver get data in order
based on the timestamps. However, if TSBPD is disabled, the data can
be delivered out of order.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 3249b963
......@@ -683,7 +683,7 @@ static int libsrt_write(URLContext *h, const uint8_t *buf, int size)
return ret;
}
ret = srt_sendmsg(s->fd, buf, size, -1, 0);
ret = srt_sendmsg(s->fd, buf, size, -1, 1);
if (ret < 0) {
ret = libsrt_neterrno(h);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment