FS-7502: add record_concat_video=true to show split video recordings with session record

This commit is contained in:
Anthony Minessale
2015-03-30 11:52:47 -05:00
committed by Michael Jerris
parent 96d4318964
commit 1cbc3c58a5
5 changed files with 235 additions and 11 deletions
+3
View File
@@ -221,6 +221,9 @@ struct switch_media_bug {
uint32_t record_pre_buffer_max;
switch_frame_t *ping_frame;
switch_frame_t *read_demux_frame;
switch_queue_t *read_video_queue;
switch_queue_t *write_video_queue;
switch_thread_t *video_bug_thread;
struct switch_media_bug *next;
};
+6 -2
View File
@@ -488,7 +488,8 @@ typedef enum {
SWITCH_ABC_TYPE_TAP_NATIVE_READ,
SWITCH_ABC_TYPE_TAP_NATIVE_WRITE,
SWITCH_ABC_TYPE_CLOSE,
SWITCH_ABC_TYPE_READ_VIDEO_PING
SWITCH_ABC_TYPE_READ_VIDEO_PING,
SWITCH_ABC_TYPE_STREAM_VIDEO_PING
} switch_abc_type_t;
typedef struct {
@@ -1723,7 +1724,10 @@ typedef enum {
SMBF_TAP_NATIVE_READ = (1 << 13),
SMBF_TAP_NATIVE_WRITE = (1 << 14),
SMBF_ONE_ONLY = (1 << 15),
SMBF_MASK = (1 << 16)
SMBF_MASK = (1 << 16),
SMBF_READ_VIDEO_PING = (1 << 17),
SMBF_READ_VIDEO_STREAM = (1 << 18),
SMBF_WRITE_VIDEO_STREAM = (1 << 19)
} switch_media_bug_flag_enum_t;
typedef uint32_t switch_media_bug_flag_t;