mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
FS-7500: Work in progress. Added codec config params that can be set from session and made vpx codec re-init on size change. Also add periodic key frame timer
This commit is contained in:
@@ -591,12 +591,21 @@ struct switch_directory_handle {
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
/* nobody has more setting than speex so we will let them set the standard */
|
||||
/*! \brief Various codec settings (currently only relevant to speex) */
|
||||
struct switch_codec_settings {
|
||||
struct switch_audio_codec_settings {
|
||||
int unused;
|
||||
};
|
||||
|
||||
struct switch_video_codec_settings {
|
||||
uint32_t bandwidth;
|
||||
int32_t width;
|
||||
int32_t height;
|
||||
};
|
||||
|
||||
union switch_codec_settings {
|
||||
struct switch_audio_codec_settings audio;
|
||||
struct switch_video_codec_settings video;
|
||||
};
|
||||
|
||||
/*! an abstract handle of a fmtp parsed by codec */
|
||||
struct switch_codec_fmtp {
|
||||
/*! actual samples transferred per second for those who are not moron g722 RFC writers */
|
||||
|
||||
Reference in New Issue
Block a user