compute timeout based on fake sample count not real life one
This commit is contained in:
parent
285e7dc3d0
commit
a94f0a3fa6
|
@ -1550,7 +1550,7 @@ SWITCH_DECLARE(void) switch_core_session_enable_heartbeat(switch_core_session_t
|
|||
return;
|
||||
}
|
||||
|
||||
session->read_frame_count = (session->read_impl.actual_samples_per_second / session->read_impl.samples_per_packet) * seconds;
|
||||
session->read_frame_count = (session->read_impl.samples_per_second / session->read_impl.samples_per_packet) * seconds;
|
||||
|
||||
|
||||
switch_core_session_unsched_heartbeat(session);
|
||||
|
|
Loading…
Reference in New Issue