pause media bugs while not in a bridge while inside mod_fifo

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11466 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-01-23 18:44:25 +00:00
parent 07b5dc11e7
commit f60f17d391
4 changed files with 33 additions and 7 deletions
+4
View File
@@ -143,6 +143,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(_In_ switch_core_sessi
_In_ switch_media_bug_callback_t callback,
_In_opt_ void *user_data,
_In_ time_t stop_time, _In_ switch_media_bug_flag_t flags, _Out_ switch_media_bug_t **new_bug);
SWITCH_DECLARE(void) switch_core_media_bug_pause(switch_core_session_t *session);
SWITCH_DECLARE(void) switch_core_media_bug_resume(switch_core_session_t *session);
/*!
\brief Obtain private data from a media bug
\param bug the bug to get the data from
+1 -1
View File
@@ -841,7 +841,7 @@ typedef enum {
CF_INNER_BRIDGE,
CF_REQ_MEDIA,
CF_VERBOSE_EVENTS,
CF_PAUSE_BUGS,
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
CF_FLAG_MAX
} switch_channel_flag_t;