提交 3439d1b3 authored 作者: William King's avatar William King

FS-4305: --resolve When libvlc is unable to decode the audio fast enough for the…

FS-4305: --resolve When libvlc is unable to decode the audio fast enough for the local stream player, use multiple very quick 1 sample chunks of silence to fill in while libvlc catches up.
上级 9c97ae3c
......@@ -275,8 +275,8 @@ static switch_status_t vlc_file_read(switch_file_handle_t *handle, void *data, s
if (!read && (status == 5 || status == 6)) {
return SWITCH_STATUS_FALSE;
} else if (!read) {
read = 2000;
memset(data, 255, read);
read = 2;
memset(data, 0, read);
}
if (read)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论