mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-7512: slow down in block mod
This commit is contained in:
parent
74cff6a744
commit
8c56410d7f
@ -163,6 +163,9 @@ static switch_status_t png_file_read_video(switch_file_handle_t *handle, switch_
|
||||
frame->img = dup;
|
||||
context->sent++;
|
||||
} else {
|
||||
if ((flags && SVR_BLOCK)) {
|
||||
switch_yield(5000);
|
||||
}
|
||||
return SWITCH_STATUS_BREAK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user