mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-8240 add video profile param for recording 264 and make it default
This commit is contained in:
@@ -305,6 +305,12 @@ typedef enum {
|
||||
SWITCH_VIDEO_ENCODE_SPEED_FAST
|
||||
} 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;
|
||||
@@ -314,7 +320,9 @@ typedef struct switch_mm_s {
|
||||
int vw;
|
||||
int vh;
|
||||
float fps;
|
||||
float source_fps;
|
||||
int vbuf;
|
||||
switch_video_profile_t vprofile;
|
||||
switch_video_encode_speed_t vencspd;
|
||||
} switch_mm_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user