mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-10249: [mod_av] Audio gradually falls behind video in recordings
This commit is contained in:
@@ -309,41 +309,6 @@ struct switch_file_interface {
|
||||
struct switch_file_interface *next;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
SWITCH_VIDEO_ENCODE_SPEED_DEFAULT = 0,
|
||||
SWITCH_VIDEO_ENCODE_SPEED_FAST = 0,
|
||||
SWITCH_VIDEO_ENCODE_SPEED_MEDIUM,
|
||||
SWITCH_VIDEO_ENCODE_SPEED_SLOW
|
||||
} switch_video_encode_speed_t;
|
||||
|
||||
typedef enum {
|
||||
SWITCH_VIDEO_PROFILE_BASELINE,
|
||||
SWITCH_VIDEO_PROFILE_MAIN,
|
||||
SWITCH_VIDEO_PROFILE_HIGH
|
||||
} switch_video_profile_t;
|
||||
|
||||
typedef struct switch_mm_s {
|
||||
int samplerate;
|
||||
int channels;
|
||||
int keyint;
|
||||
int ab;
|
||||
int vb;
|
||||
int vw;
|
||||
int vh;
|
||||
int cbr;
|
||||
float fps;
|
||||
float source_fps;
|
||||
int vbuf;
|
||||
switch_video_profile_t vprofile;
|
||||
switch_video_encode_speed_t vencspd;
|
||||
uint8_t try_hardware_encoder;
|
||||
int scale_w;
|
||||
int scale_h;
|
||||
switch_img_fmt_t fmt;
|
||||
char *auth_username;
|
||||
char *auth_password;
|
||||
} 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 */
|
||||
|
||||
Reference in New Issue
Block a user