FS-7505: clean up and support multiple formats to same extensions {modname=mod_vlc}rtmp://foo.com/flvplayback also move [/tmp]file to be {spool_path=/tmp}

This commit is contained in:
Anthony Minessale
2015-03-18 17:58:23 -05:00
committed by Michael Jerris
parent 54d15cf6e9
commit 509241bd65
9 changed files with 292 additions and 173 deletions
+13
View File
@@ -298,6 +298,17 @@ struct switch_file_interface {
struct switch_file_interface *next;
};
typedef struct switch_mm_s {
int samplerate;
int channels;
int keyint;
int ab;
int vb;
int vw;
int vh;
float fps;
} switch_mm_t;
/*! an abstract representation of a file handle (some parameters based on compat with libsndfile) */
struct switch_file_handle {
/*! the interface of the module that implemented the current file type */
@@ -360,6 +371,8 @@ struct switch_file_handle {
uint32_t cur_channels;
uint32_t cur_samplerate;
char *stream_name;
char *modname;
switch_mm_t mm;
};
/*! \brief Abstract interface to an asr module */