diff options
Diffstat (limited to 'toxav/codec.h')
-rw-r--r-- | toxav/codec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxav/codec.h b/toxav/codec.h index 7ddf2943..d8e9f1a7 100644 --- a/toxav/codec.h +++ b/toxav/codec.h | |||
@@ -102,6 +102,11 @@ CodecState *codec_init_session ( uint32_t audio_bitrate, | |||
102 | 102 | ||
103 | void codec_terminate_session(CodecState *cs); | 103 | void codec_terminate_session(CodecState *cs); |
104 | 104 | ||
105 | /* Reconfigure video encoder | ||
106 | return 0 on success. | ||
107 | return -1 on failure. */ | ||
108 | int reconfigure_video_encoder_resolution(CodecState *cs, uint16_t width, uint16_t height); | ||
109 | int reconfigure_video_encoder_bitrate(CodecState *cs, uint32_t video_bitrate); | ||
105 | 110 | ||
106 | /* Calculate energy and return 1 if has voice, 0 if not */ | 111 | /* Calculate energy and return 1 if has voice, 0 if not */ |
107 | int energy_VAD(CodecState *cs, int16_t *PCM, uint16_t frame_size, float energy); | 112 | int energy_VAD(CodecState *cs, int16_t *PCM, uint16_t frame_size, float energy); |