mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 20:54:15 +00:00
add session_displace api and app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5366 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0c48210a75
commit
8d0a8a0d47
7 files changed
+302
-9
No files matched your search
@@ -241,7 +241,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
do_bugs = 0;
|
||||
if (bp->callback) {
|
||||
bp->read_replace_frame_in = read_frame;
|
||||
bp->read_replace_frame_out = NULL;
|
||||
bp->read_replace_frame_out = read_frame;
|
||||
if ((ok = bp->callback(bp, bp->user_data, SWITCH_ABC_TYPE_READ_REPLACE)) == SWITCH_TRUE) {
|
||||
read_frame = bp->read_replace_frame_out;
|
||||
}
|
||||
@@ -509,7 +509,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
|
||||
do_bugs = 0;
|
||||
if (bp->callback) {
|
||||
bp->write_replace_frame_in = write_frame;
|
||||
bp->write_replace_frame_out = NULL;
|
||||
bp->write_replace_frame_out = write_frame;
|
||||
if ((ok = bp->callback(bp, bp->user_data, SWITCH_ABC_TYPE_WRITE_REPLACE)) == SWITCH_TRUE) {
|
||||
write_frame = bp->write_replace_frame_out;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user