diff options
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 7cf8cec4..850c2fc7 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -957,7 +957,7 @@ bool call_prepare_transmission(ToxAVCall* call) | |||
957 | call->rtps[audio_index]->cs = call->cs; | 957 | call->rtps[audio_index]->cs = call->cs; |
958 | 958 | ||
959 | /* Only enable sending if bitrate is defined */ | 959 | /* Only enable sending if bitrate is defined */ |
960 | if (call->s_audio_b > 0 && cs_enable_audio_sending(call->cs, call->s_audio_b, 2) != 0) { | 960 | if (call->s_audio_b > 0 && cs_enable_audio_sending(call->cs, call->s_audio_b * 1000, 2) != 0) { |
961 | LOGGER_WARNING("Failed to enable audio sending!"); | 961 | LOGGER_WARNING("Failed to enable audio sending!"); |
962 | goto FAILURE; | 962 | goto FAILURE; |
963 | } | 963 | } |