forked from Mirrors/freeswitch
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.
This commit is contained in:
parent
9c97ae3ccc
commit
3439d1b3b4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue