diff options
author | Mark Michelson <mmichelson@digium.com> | 2016-11-03 16:36:13 -0500 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-11-08 07:37:54 -0500 |
commit | f073f648b87d45e4729969fd2d83695c300757d1 (patch) | |
tree | ff98700292728dd43382244fdf88090604e4ebe0 /res/res_limit.c | |
parent | 61af0e67047b0da758e8ad5f9705bc028ebb9d36 (diff) |
Add API for channel frame deferral.
There are several places in Asterisk that have duplicated logic
for deferring important frames until later.
This commit adds a couple of API calls to facilitate this automatically.
ast_channel_start_defer_frames(): Future reads of deferrable frames on
this channel will be deferred until later.
ast_channel_stop_defer_frames(): Any frames that have been deferred get
requeued onto the channel.
ASTERISK-26343
Change-Id: I3e1b87bc6796f222442fa6f7d1b6a4706fb33641
Diffstat (limited to 'res/res_limit.c')
0 files changed, 0 insertions, 0 deletions