mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-09 21:14:02 +00:00
add RECORD_ANSWER_REQ var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6389 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -157,6 +157,14 @@ SWITCH_DECLARE(void) switch_core_media_bug_set_write_replace_frame(switch_media_
|
||||
*/
|
||||
SWITCH_DECLARE(switch_frame_t *) switch_core_media_bug_get_read_replace_frame(switch_media_bug_t *bug);
|
||||
|
||||
/*!
|
||||
\brief Obtain the session from a media bug
|
||||
\param bug the bug to get the data from
|
||||
*/
|
||||
SWITCH_DECLARE(switch_core_session_t *) switch_core_media_bug_get_session(switch_media_bug_t *bug);
|
||||
|
||||
SWITCH_DECLARE(uint32_t) switch_core_media_bug_test_flag(switch_media_bug_t *bug, uint32_t flag);
|
||||
|
||||
/*!
|
||||
\brief Set a return replace frame
|
||||
\param bug the bug to set the frame on
|
||||
|
||||
@@ -783,6 +783,8 @@ SMBF_READ_STREAM - Include the Read Stream
|
||||
SMBF_WRITE_STREAM - Include the Write Stream
|
||||
SMBF_WRITE_REPLACE - Replace the Write Stream
|
||||
SMBF_READ_REPLACE - Replace the Read Stream
|
||||
SMBF_STEREO - Record in stereo
|
||||
SMBF_ANSWER_RECORD_REQ - Don't record until the channel is answered
|
||||
</pre>
|
||||
*/
|
||||
typedef enum {
|
||||
@@ -791,7 +793,8 @@ typedef enum {
|
||||
SMBF_WRITE_STREAM = (1 << 1),
|
||||
SMBF_WRITE_REPLACE = (1 << 2),
|
||||
SMBF_READ_REPLACE = (1 << 3),
|
||||
SMBF_STEREO = (1 << 4)
|
||||
SMBF_STEREO = (1 << 4),
|
||||
SMBF_RECORD_ANSWER_REQ = (1 << 5)
|
||||
} switch_media_bug_flag_t;
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user